Groovy Documentation

org.linkedin.glu.commands.impl
[Groovy] Class FileSystemCommandExecutionIOStorage

java.lang.Object
  org.linkedin.glu.commands.impl.AbstractCommandExecutionIOStorage
      org.linkedin.glu.commands.impl.FileSystemCommandExecutionIOStorage

class FileSystemCommandExecutionIOStorage
extends AbstractCommandExecutionIOStorage

Authors:
yan@pongasoft.com


Field Summary
static java.lang.String MODULE

static Logger log

 
Fields inherited from class AbstractCommandExecutionIOStorage
MODULE, log
 
Property Summary
java.io.FileSystem commandExecutionFileSystem

java.lang.String commandFileName

java.util.Map commands

Contains the storage of the commands while capture IO is executing only!

java.text.SimpleDateFormat dateFormat

java.lang.String stderrStreamFileName

java.lang.String stdinStreamFileName

java.lang.String stdoutStreamFileName

 
Method Summary
protected java.lang.Object captureIO(CommandExecution commandExecution, groovy.lang.Closure closure)

java.io.InputStream createInputStream(Resource resource)

Creates the input stream but let a plugin customize it

java.io.OutputStream createOutputStream(Resource resource)

Creates the output stream but let a plugin customize it

CommandExecution findCommandExecution(java.lang.String commandId)

protected AbstractCommandStreamStorage saveCommandExecution(CommandExecution commandExecution, java.lang.Object stdin)

 
Methods inherited from class AbstractCommandExecutionIOStorage
captureIO, createStorageForCommandExecution, findCommandExecutionAndStreams, saveCommandExecution, withOrWithoutCommandExecutionAndStreams
 

Field Detail

MODULE

public static final java.lang.String MODULE


log

public static final Logger log


 
Property Detail

commandExecutionFileSystem

@Initializable(required = true)
java.io.FileSystem commandExecutionFileSystem


commandFileName

@Initializable
java.lang.String commandFileName


commands

final java.util.Map commands
Contains the storage of the commands while capture IO is executing only!


dateFormat

@Initializable
java.text.SimpleDateFormat dateFormat


stderrStreamFileName

@Initializable
java.lang.String stderrStreamFileName


stdinStreamFileName

@Initializable
java.lang.String stdinStreamFileName


stdoutStreamFileName

@Initializable
java.lang.String stdoutStreamFileName


 
Method Detail

captureIO

@Override
protected java.lang.Object captureIO(CommandExecution commandExecution, groovy.lang.Closure closure)


createInputStream

java.io.InputStream createInputStream(Resource resource)
Creates the input stream but let a plugin customize it


createOutputStream

java.io.OutputStream createOutputStream(Resource resource)
Creates the output stream but let a plugin customize it


findCommandExecution

@Override
CommandExecution findCommandExecution(java.lang.String commandId)


saveCommandExecution

@Override
protected AbstractCommandStreamStorage saveCommandExecution(CommandExecution commandExecution, java.lang.Object stdin)


 

Groovy Documentation