Groovy Documentation

org.linkedin.glu.agent.api
[Groovy] Interface GluCommand


interface GluCommand

All glu command will at runtime implement this interface. This essentially serves as documentation in order to know what is available when you write a glu command.

Authors:
yan@pongasoft.com


Method Summary
java.lang.String getId()

@return the (unique) id of the command

Logger getLog()

@return a logger to log information (in the agent log file)

GluCommand getSelf()

@return a reference to 'this' script

Shell getShell()

@return the shell for (unix) shell like capabilities

 

Method Detail

getId

java.lang.String getId()
Returns:
the (unique) id of the command


getLog

Logger getLog()
Returns:
a logger to log information (in the agent log file)


getSelf

GluCommand getSelf()
Returns:
a reference to 'this' script


getShell

Shell getShell()
Returns:
the shell for (unix) shell like capabilities
See Also:
Shell


 

Groovy Documentation