Groovy Documentation

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

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

 
Fields inherited from class BaseResource
MODULE, log
 
Constructor Summary
MountPointResource(Context context, Request request, Response response)

 
Method Summary
void acceptRepresentation(Representation representation)

POST (execute action / execute action and wait / execute call / clear Error / interrupt action)

boolean allowDelete()

boolean allowGet()

boolean allowPost()

boolean allowPut()

void removeRepresentations()

DELETE (uninstall script)

Representation represent(Variant variant)

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

void storeRepresentation(Representation representation)

PUT (install script)

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

Field Detail

MODULE

public static final java.lang.String MODULE


log

public static final java.lang.Object log


 
Constructor Detail

MountPointResource

MountPointResource(Context context, Request request, Response response)


 
Method Detail

acceptRepresentation

void acceptRepresentation(Representation representation)
POST (execute action / execute action and wait / execute call / clear Error / interrupt action)


allowDelete

boolean allowDelete()


allowGet

boolean allowGet()


allowPost

boolean allowPost()


allowPut

boolean allowPut()


removeRepresentations

void removeRepresentations()
DELETE (uninstall script)


represent

Representation represent(Variant variant)
GET: return the state + others (tbd) GET with query string: wait for state / action


storeRepresentation

void storeRepresentation(Representation representation)
PUT (install script)


 

Groovy Documentation