Groovy Documentation

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

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

Authors:
ypujante@linkedin.com


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

MODULE

public static final java.lang.String MODULE


log

public static final Logger log


 
Method Detail

executeOnMountPoint

@Post
Representation executeOnMountPoint(Representation representation)
POST (execute action / execute action and wait / execute call / clear Error / interrupt action)


getMountPointsOrWaitForState

@Get
Representation getMountPointsOrWaitForState()
GET: return the state + others (tbd) GET with query string: wait for state / action


installScript

@Put
Representation installScript(Representation representation)
PUT (install script)


uninstallScript

@Delete
Representation uninstallScript()
DELETE (uninstall script)


 

Groovy Documentation