flux
Class ProcessAction.ProcessActionResult

java.lang.Object
  extended by flux.ProcessAction.ProcessActionResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
AgentProcessActionResult
Enclosing interface:
ProcessAction

public static class ProcessAction.ProcessActionResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

The result when a process finishes executing.

See Also:
Serialized Form

Field Summary
 int result
          The process's exit code, as returned by the operating system, if the process executed synchronously.
 java.lang.String stderr
          The standard error (stderr) from the completed process, if the process executed synchronously.
 java.lang.String stdout
          The standard output (stdout) from the completed process, if the process executed synchronously.
 
Constructor Summary
ProcessAction.ProcessActionResult()
           
 
Method Summary
 java.lang.Object clone()
          
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

result

public int result
The process's exit code, as returned by the operating system, if the process executed synchronously.


stderr

public transient java.lang.String stderr
The standard error (stderr) from the completed process, if the process executed synchronously. This field is transient, so its value, if any, will not be stored to the database. Furthermore, so as not to use all available memory, this variable holds at most 500 KB of standard error. After the first 500 KB of stderr is written, the stdout variable is cleared, and it begins collecting the next 500 KB of stderr. This behavior repeats as necessary.


stdout

public transient java.lang.String stdout
The standard output (stdout) from the completed process, if the process executed synchronously. This field is transient, so its value, if any, will not be stored to the database. Furthermore, so as not to use all available memory, this variable holds at most 500 KB of standard output. After the first 500 KB of stdout is written, the stdout variable is cleared, and it begins collecting the next 500 KB of stdout. This behavior repeats as necessary.

Constructor Detail

ProcessAction.ProcessActionResult

public ProcessAction.ProcessActionResult()
Method Detail

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException

Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException


© 2014 Flux Corporation. All rights reserved.