Groovy Documentation

org.linkedin.glu.agent.rest.resources
[Groovy] Class CommandExitValueResource

java.lang.Object
  org.restlet.resource.ServerResource
      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

Authors:
yan@pongasoft.com


Field Summary
 
Fields inherited from class CommandBaseResource
commandId
 
Fields inherited from class BaseResource
MODULE, log
 
Method Summary
Representation getExitValue()

return the exit value of the command (blocking call with optional timeout)

Representation interruptCommand()

interrupt the action if still running

 
Methods inherited from class CommandBaseResource
doInit, getRequestArgs
 
Methods inherited from class BaseResource
addResponseHeader, doInit, getAgent, getPath, getRequestArgs, getResourceMountPoint, getResponseHeader, noException, toArgs, toArgs, toRepresentation
 

Method Detail

getExitValue

@Get
Representation getExitValue()
return the exit value of the command (blocking call with optional timeout)


interruptCommand

@Delete
Representation interruptCommand()
interrupt the action if still running


 

Groovy Documentation