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

AbstractCommandExecutionIOStorage - Class in org.linkedin.glu.commands.impl
@author yan@pongasoft.com
AbstractCommandStreamStorage - Class in org.linkedin.glu.commands.impl
@author yan@pongasoft.com
asyncCaptureIO(Submitter, null) - Method in AbstractCommandStreamStorage
asyncCaptureIO(Submitter, null) - Method in CommandExecution
Asynchronously executes the command.
asyncCaptureIO(Submitter, null) - Method in CommandStreamStorage
Asynchronously executes the command.

B


C

captureIO(CommandExecution, null) - Method in AbstractCommandExecutionIOStorage
Will be called back to capture the IO
captureIO(CommandExecution, null) - Method in FileSystemCommandExecutionIOStorage
captureIO(CommandExecution, null) - Method in MemoryCommandExecutionIOStorage
close() - Method in FileSystemStreamStorage
Close all streams we know about
CommandExecution - Class in org.linkedin.glu.commands.impl
@author yan@pongasoft.com
CommandExecution(null, def) - Constructor in CommandExecution
CommandExecutionIOStorage - Interface in org.linkedin.glu.commands.impl
This class encapsulates the storage of IO for commands, this way it is easy to "disable" the storage.
CommandStreamStorage - Interface in org.linkedin.glu.commands.impl
@author yan@pongasoft.com
createGluCommand(CommandExecution) - Method in GluCommandFactory
createInputStream(Resource) - Method in FileSystemCommandExecutionIOStorage
Creates the input stream but let a plugin customize it
createInputStream(Resource) - Method in FileSystemStreamStorage
Creates the input stream but let a plugin customize it
createOutputStream(Resource) - Method in FileSystemCommandExecutionIOStorage
Creates the output stream but let a plugin customize it
createOutputStream(Resource) - Method in FileSystemStreamStorage
Creates the output stream but let a plugin customize it
createStorageForCommandExecution(def) - Method in AbstractCommandExecutionIOStorage
createStorageForCommandExecution(def) - Method in CommandExecutionIOStorage
@param gluCommandFactory create storage for command execution

D


E


F

FileSystemCommandExecutionIOStorage - Class in org.linkedin.glu.commands.impl
@author yan@pongasoft.com
FileSystemStreamStorage - Class in org.linkedin.glu.commands.impl
@author yan@pongasoft.com
findByteArrayOutputStream(StreamType) - Method in MemoryStreamStorage
findCommandExecution(null) - Method in CommandExecutionIOStorage
@return the command of a previously run/stored command
findCommandExecution(null) - Method in FileSystemCommandExecutionIOStorage
findCommandExecution(null) - Method in MemoryCommandExecutionIOStorage
findCommandExecutionAndStreams(null, def) - Method in AbstractCommandExecutionIOStorage
{@inheritdoc}
findCommandExecutionAndStreams(null, def) - Method in CommandExecutionIOStorage
This method allows you to start streaming the results (stdout, stderr,...) while the command is still running.
findStorageInput(StreamType) - Method in AbstractCommandStreamStorage
findStorageInput(def) - Method in CommandStreamStorage
This method allows you to start streaming the results (stdout, stderr,...) while the command is still running.
findStorageInputWithSize(StreamType, def) - Method in AbstractCommandStreamStorage
findStorageInputWithSize(StreamType, def) - Method in CommandStreamStorage
Return the stream for the command.
findStorageInputWithSize(StreamType) - Method in FileSystemStreamStorage
findStorageInputWithSize(StreamType) - Method in MemoryStreamStorage
findStorageInputWithSize(StreamType) - Method in NoCommandStreamStorage
findStorageOutput(StreamType) - Method in CommandStreamStorage
findStorageOutput(StreamType) - Method in FileSystemStreamStorage
findStorageOutput(StreamType) - Method in MemoryStreamStorage
findStorageOutput(StreamType) - Method in NoCommandStreamStorage

G

getArgs() - Method in CommandExecution
Map of arguments used to create the command
getCommandResource() - Method in FileSystemStreamStorage
getCompletionValue(def) - Method in CommandExecution
Completion value either return the result of the call if succeeded or the exception if an exception was thrown.
getExitValue(def) - Method in CommandExecution
getExitValueIfCompleted() - Method in CommandExecution
getId() - Method in CommandExecution
getLog() - Method in CommandExecution
getMaxNumberOfElements() - Method in MemoryCommandExecutionIOStorage
getStreams() - Method in FileSystemStreamStorage
GluCommandFactory - Interface in org.linkedin.glu.commands.impl
@author yan@pongasoft.com

H

hasStdin() - Method in CommandExecution

I

interruptExecution() - Method in CommandExecution
isCompleted() - Method in CommandExecution
isRedirectStderr() - Method in CommandExecution

J


K


L

log - Field in AbstractCommandExecutionIOStorage
log - Field in AbstractCommandStreamStorage
log - Field in FileSystemCommandExecutionIOStorage
log - Field in MemoryCommandExecutionIOStorage

M

MemoryCommandExecutionIOStorage - Class in org.linkedin.glu.commands.impl
This implementation is obviously very ephemeral and should be used carefully
MemoryStreamStorage - Class in org.linkedin.glu.commands.impl
@author yan@pongasoft.com
MODULE - Field in AbstractCommandExecutionIOStorage
MODULE - Field in AbstractCommandStreamStorage
MODULE - Field in FileSystemCommandExecutionIOStorage
MODULE - Field in MemoryCommandExecutionIOStorage

N

NoCommandStreamStorage - Class in org.linkedin.glu.commands.impl
@author yan@pongasoft.com

O


P


Q


R


S

saveCommandExecution(CommandExecution, def) - Method in AbstractCommandExecutionIOStorage
Should save the command in persistent state (as well as stdin if there is any)
saveCommandExecution(CommandExecution, def) - Method in FileSystemCommandExecutionIOStorage
saveCommandExecution(CommandExecution, def) - Method in MemoryCommandExecutionIOStorage
setFutureExecution(FutureTaskExecution) - Method in CommandExecution
setMaxNumberOfElements(int) - Method in MemoryCommandExecutionIOStorage
StreamType - Enum in org.linkedin.glu.commands.impl
@author yan@pongasoft.com
syncCaptureIO(null) - Method in AbstractCommandStreamStorage
syncCaptureIO(null) - Method in CommandExecution
Synchronously executes the command
syncCaptureIO(null) - Method in CommandStreamStorage
Synchronously executes the command

T


U


V


W

waitForCompletion(def) - Method in CommandExecution
waitForCompletionNoException(def) - Method in CommandExecution
@param timeout
waitForFutureExecution(def, null) - Method in CommandExecution
This method waits for 1. the future to be set, 2. the future to have started no longer than the timeout (overall).
waitForStart(def) - Method in CommandExecution
withOrWithoutCommandExecutionAndStreams(null, def, null) - Method in AbstractCommandExecutionIOStorage
withOrWithoutCommandExecutionAndStreams(null, def, null) - Method in CommandExecutionIOStorage
Similar to findCommandExecutionAndStreams but calls the closure with the map or with null
withOrWithoutStorageInput(def, null) - Method in AbstractCommandStreamStorage
withOrWithoutStorageInput(def, null) - Method in CommandStreamStorage
Similar to findStorageInput but calls the closure with the stream or with null
withOrWithoutStorageInputWithSize(StreamType, null, null) - Method in AbstractCommandStreamStorage
withOrWithoutStorageInputWithSize(StreamType, def, null) - Method in CommandStreamStorage
Same as findStorageInputWithSize but call the closure with the map (and make sure that the stream gets closed properly).
withOrWithoutStorageOutput(StreamType, null) - Method in AbstractCommandStreamStorage
withOrWithoutStorageOutput(StreamType, null) - Method in CommandStreamStorage
withStorageInputWithSize(StreamType, null, null) - Method in AbstractCommandStreamStorage
withStorageInputWithSize(StreamType, def, null) - Method in CommandStreamStorage
Same as findStorageInputWithSize but call the closure with the map (and make sure that the stream gets closed properly).

X


Y


Z


_


Groovy Documentation