|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.resource.ServerResource
org.linkedin.glu.agent.rest.resources.BaseResource
org.linkedin.glu.agent.rest.resources.MountPointResource
class MountPointResource extends BaseResource
Represents a script resource
Field Summary | |
---|---|
static java.lang.String |
MODULE
|
static Logger |
log
|
Fields inherited from class BaseResource | |
---|---|
MODULE, log |
Method Summary | |
---|---|
Representation
|
executeOnMountPoint(Representation representation)
POST (execute action / execute action and wait / execute call / clear Error / interrupt action) |
Representation
|
getMountPointsOrWaitForState()
GET: return the state + others (tbd) GET with query string: wait for state / action |
Representation
|
installScript(Representation representation)
PUT (install script) |
Representation
|
uninstallScript()
DELETE (uninstall script) |
Methods inherited from class BaseResource | |
---|---|
addResponseHeader, doInit, getAgent, getPath, getRequestArgs, getResourceMountPoint, getResponseHeader, noException, toArgs, toArgs, toRepresentation |
Field Detail |
---|
public static final java.lang.String MODULE
public static final Logger log
Method Detail |
---|
@Post Representation executeOnMountPoint(Representation representation)
@Get Representation getMountPointsOrWaitForState()
@Put Representation installScript(Representation representation)
@Delete Representation uninstallScript()
Groovy Documentation