|
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.MountPointResource
class MountPointResource extends BaseResource
Represents a script resource
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 |
---|
public static final java.lang.String MODULE
public static final java.lang.Object log
Constructor Detail |
---|
MountPointResource(Context context, Request request, Response response)
Method Detail |
---|
void acceptRepresentation(Representation representation)
boolean allowDelete()
boolean allowGet()
boolean allowPost()
boolean allowPut()
void removeRepresentations()
Representation represent(Variant variant)
void storeRepresentation(Representation representation)
Groovy Documentation