Groovy Documentation
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

acceptRepresentation(Representation) - Method in CommandsResource
Handle POST
acceptRepresentation(Representation) - Method in MountPointResource
POST (execute action / execute action and wait / execute call / clear Error / interrupt action)
acceptRepresentation(Representation) - Method in TagsResource
POST add tags (ex: POST /tags/fruit;vegetable)
addResponseHeader(null, def) - Method in BaseResource
AgentConfigResource - Class in org.linkedin.glu.agent.rest.resources
@author ypujante@linkedin.com
AgentConfigResource(Context, Request, Response) - Constructor in AgentConfigResource
AgentResource - Class in org.linkedin.glu.agent.rest.resources
Handles resources to the agent directly (like the list of mount points)
AgentResource(Context, Request, Response) - Constructor in AgentResource
allowDelete() - Method in CommandExitValueResource
allowDelete() - Method in MountPointResource
allowDelete() - Method in TagsResource
allowGet() - Method in AgentResource
allowGet() - Method in CommandExitValueResource
allowGet() - Method in CommandStreamsResource
allowGet() - Method in FileResource
allowGet() - Method in HostResource
allowGet() - Method in LogResource
allowGet() - Method in MountPointResource
allowGet() - Method in ProcessResource
allowGet() - Method in TagsResource
allowPost() - Method in CommandsResource
allowPost() - Method in MountPointResource
allowPost() - Method in TagsResource
allowPut() - Method in AgentConfigResource
allowPut() - Method in AgentResource
allowPut() - Method in MountPointResource
allowPut() - Method in ProcessResource
allowPut() - Method in TagsResource

B

BaseResource - Class in org.linkedin.glu.agent.rest.resources
Base class for resources to the agent
BaseResource(Context, Request, Response) - Constructor in BaseResource

C

CommandBaseResource - Class in org.linkedin.glu.agent.rest.resources
@author yan@pongasoft.com
CommandBaseResource(Context, Request, Response) - Constructor in CommandBaseResource
CommandExitValueResource - Class in org.linkedin.glu.agent.rest.resources
@author yan@pongasoft.com
CommandExitValueResource(Context, Request, Response) - Constructor in CommandExitValueResource
commandId - Field in CommandBaseResource
CommandsResource - Class in org.linkedin.glu.agent.rest.resources
@author yan@pongasoft.com
CommandsResource(Context, Request, Response) - Constructor in CommandsResource
CommandStreamsResource - Class in org.linkedin.glu.agent.rest.resources
@author yan@pongasoft.com
CommandStreamsResource(Context, Request, Response) - Constructor in CommandStreamsResource

D


E


F

FileResource - Class in org.linkedin.glu.agent.rest.resources
Handles resources of type files (tail / ls)
FileResource(Context, Request, Response) - Constructor in FileResource

G

getAgent() - Method in BaseResource
getPath() - Method in BaseResource
getRequestArgs() - Method in BaseResource
getRequestArgs() - Method in CommandBaseResource
getResourceMountPoint() - Method in BaseResource

H

HostResource - Class in org.linkedin.glu.agent.rest.resources
Handles resources to get info about the host
HostResource(Context, Request, Response) - Constructor in HostResource

I


J


K


L

log - Field in AgentConfigResource
log - Field in BaseResource
log - Field in MountPointResource
LogResource - Class in org.linkedin.glu.agent.rest.resources
Handles resources to the agent logs
LogResource(Context, Request, Response) - Constructor in LogResource

M

MODULE - Field in AgentConfigResource
MODULE - Field in BaseResource
MODULE - Field in MountPointResource
MountPointResource - Class in org.linkedin.glu.agent.rest.resources
Represents a script resource
MountPointResource(Context, Request, Response) - Constructor in MountPointResource

N

noException(null) - Method in BaseResource

O


P

ProcessResource - Class in org.linkedin.glu.agent.rest.resources
Handles resources to get info about the processes
ProcessResource(Context, Request, Response) - Constructor in ProcessResource

Q


R

removeRepresentations() - Method in CommandExitValueResource
DELETE: interrupt the action if still running
removeRepresentations() - Method in MountPointResource
DELETE (uninstall script)
removeRepresentations() - Method in TagsResource
DELETE remove tags (ex: DELETE /tags/fruit;vegetable)
represent(Variant) - Method in AgentResource
GET: return the list of mount points
represent(Variant) - Method in CommandExitValueResource
GET: return the exit value of the command (blocking call with optional timeout)
represent(Variant) - Method in CommandStreamsResource
GET: return the stream(s) and information about the command
represent(Variant) - Method in FileResource
GET: get the content of the file/directory
represent(Variant) - Method in HostResource
GET: return information about the host
represent(Variant) - Method in LogResource
GET: return the log
represent(Variant) - Method in MountPointResource
GET: return the state + others (tbd) GET with query string: wait for state / action
represent(Variant) - Method in ProcessResource
GET: return information about the process(es)
represent(Variant) - Method in TagsResource
GET: /tags => 200: json array of tags HEAD: /tags => 200 if has tags, 204 otherwise (only match=any makes sense here...)

S

storeRepresentation(Representation) - Method in AgentConfigResource
PUT: configuration (key/value pairs)
storeRepresentation(Representation) - Method in AgentResource
PUT: sync
storeRepresentation(Representation) - Method in MountPointResource
PUT (install script)
storeRepresentation(Representation) - Method in ProcessResource
PUT: send a signal to a process
storeRepresentation(Representation) - Method in TagsResource
PUT set tags (ex: PUT /tags/fruit;vegetable)

T

TAGS_SERIALIZER - Field in TagsResource
TagsResource - Class in org.linkedin.glu.agent.rest.resources
@author yan@pongasoft.com
TagsResource(Context, Request, Response) - Constructor in TagsResource
toArgs(Form) - Method in BaseResource
toRepresentation(def) - Method in BaseResource

U


V


W


X


Y


Z


_


Groovy Documentation