|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.resource.Resource
org.linkedin.glu.agent.rest.resources.BaseResource
org.linkedin.glu.agent.rest.resources.CommandBaseResource
org.linkedin.glu.agent.rest.resources.CommandExitValueResource
class CommandExitValueResource extends CommandBaseResource
Field Summary |
---|
Fields inherited from class CommandBaseResource | |
---|---|
commandId |
Fields inherited from class BaseResource | |
---|---|
MODULE, log |
Constructor Summary | |
CommandExitValueResource(Context context, Request request, Response response)
|
Method Summary | |
---|---|
boolean
|
allowDelete()
|
boolean
|
allowGet()
|
void
|
removeRepresentations()
DELETE: interrupt the action if still running |
Representation
|
represent(Variant variant)
GET: return the exit value of the command (blocking call with optional timeout) |
Methods inherited from class CommandBaseResource | |
---|---|
getRequestArgs |
Methods inherited from class BaseResource | |
---|---|
addResponseHeader, getAgent, getPath, getRequestArgs, getResourceMountPoint, noException, toArgs, toArgs, toRepresentation |
Constructor Detail |
---|
CommandExitValueResource(Context context, Request request, Response response)
Method Detail |
---|
@Override boolean allowDelete()
@Override boolean allowGet()
@Override void removeRepresentations()
@Override Representation represent(Variant variant)
Groovy Documentation