@EntityResource(name="probes", title="Probes") public class ProbeEntityResource extends Object implements EntityResourceAction.ReadById<Probe>
Modifier and Type | Field and Description |
---|---|
static long |
CHECK_PERIOD |
static String |
LIVE |
protected static org.apache.commons.logging.Log |
logger |
static String |
READY |
Constructor and Description |
---|
ProbeEntityResource() |
Modifier and Type | Method and Description |
---|---|
String |
doCheckOrNothing(boolean isLiveProbe) |
Probe |
readById(String name,
Parameters parameters)
Returns a status code of 200 for okay.
|
DiscoveryApiWebscript |
setDiscovery(DiscoveryApiWebscript discovery) |
public static final String LIVE
public static final String READY
public static final long CHECK_PERIOD
protected static org.apache.commons.logging.Log logger
public DiscoveryApiWebscript setDiscovery(DiscoveryApiWebscript discovery)
@WebApiNoAuth public Probe readById(String name, Parameters parameters)
readById
in interface EntityResourceAction.ReadById<Probe>
public String doCheckOrNothing(boolean isLiveProbe)
Copyright © 2005–2018 Alfresco Software. All rights reserved.