flux
Interface ConsoleAction

All Superinterfaces:
Action, java.lang.Cloneable, RuntimeDataMap, java.io.Serializable

public interface ConsoleAction
extends Action

Prints a message to the console, that is, stdout or stderr. The print() and println() methods are taken from java.io.PrintWriter.

Author:
Copyright 2014 Flux Corporation. All rights reserved.
See Also:
PrintWriter

Method Summary
 java.lang.String getMessage()
          Returns the message to be printed to the console.
 void print(boolean b)
          Prints a boolean to the console.
 void print(char c)
          Prints a char to the console.
 void print(char[] s)
          Prints a char[] to the console.
 void print(double d)
          Prints a double to the console.
 void print(float f)
          Prints a float to the console.
 void print(int i)
          Prints an int to the console.
 void print(long l)
          Prints a long to the console.
 void print(java.lang.Object o)
          Prints an Object to the console.
 void print(java.lang.String s)
          Prints a String to the console.
 void println()
          Prints a newline to the console.
 void println(boolean b)
          Prints a boolean to the console.
 void println(char c)
          Prints a char to the console.
 void println(char[] s)
          Prints a char[] to the console.
 void println(double d)
          Prints a double to the console.
 void println(float f)
          Prints a float to the console.
 void println(int i)
          Prints an int to the console.
 void println(long l)
          Prints a long to the console.
 void println(java.lang.Object o)
          Prints an Object to the console.
 void println(java.lang.String s)
          Prints a String to the console.
 void setMessage(java.lang.String message)
          Sets the message to be printed to the console.
 void setStderr()
          Instructs the action to print to stderr.
 
Methods inherited from interface flux.Action
addFlow, addFlow, addSignalFlow, clone, execute, getDescription, getFlows, getHiddenVariableNames, getJoinExpression, getName, getPostscript, getPostscriptLanguage, getPrescript, getPrescriptLanguage, getResultInfo, getSignalsToMonitor, getTimeoutBusinessInterval, getTimeoutBusinessIntervalNamespace, getTimeoutExpression, getVariableManager, isEndOfRun, isJoinPoint, isSkippable, isStartAction, isStartOfRun, isTransactionBreak, removeFlow, reset, setDescription, setElseFlow, setEndOfRun, setErrorFlow, setErrorFlowWithoutRollback, setErrorFlowWithRollback, setJoinExpression, setJoinPoint, setName, setPostscript, setPostscriptLanguage, setPrescript, setPrescriptLanguage, setSignalsToMonitor, setSkippable, setStartAction, setStartOfRun, setTimeoutBusinessInterval, setTimeoutBusinessIntervalNamespace, setTimeoutExpression, setTimeoutFlow, setTransactionBreak, verify, verifyOnClient
 
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap
getRuntimeDataMap, setRuntimeDataMap
 

Method Detail

getMessage

java.lang.String getMessage()
Returns the message to be printed to the console.

Returns:
The message to be printed to the console.

print

void print(boolean b)
Prints a boolean to the console.

Parameters:
b - The boolean to print.

print

void print(char c)
Prints a char to the console.

Parameters:
c - The char to print.

print

void print(char[] s)
Prints a char[] to the console.

Parameters:
s - The char[] to print.

print

void print(double d)
Prints a double to the console.

Parameters:
d - The double to print.

print

void print(float f)
Prints a float to the console.

Parameters:
f - The float to print.

print

void print(int i)
Prints an int to the console.

Parameters:
i - The int to print.

print

void print(long l)
Prints a long to the console.

Parameters:
l - The long to print.

print

void print(java.lang.Object o)
Prints an Object to the console.

Parameters:
o - The object to print.

print

void print(java.lang.String s)
Prints a String to the console.

Parameters:
s - The String to print.

println

void println()
Prints a newline to the console.


println

void println(boolean b)
Prints a boolean to the console.

Parameters:
b - The boolean to print.

println

void println(char c)
Prints a char to the console.

Parameters:
c - The char to print.

println

void println(char[] s)
Prints a char[] to the console.

Parameters:
s - The char[] to print.

println

void println(double d)
Prints a double to the console.

Parameters:
d - The double to print.

println

void println(float f)
Prints a float to the console.

Parameters:
f - The float to print.

println

void println(int i)
Prints an int to the console.

Parameters:
i - The int to print.

println

void println(long l)
Prints a long to the console.

Parameters:
l - The long to print.

println

void println(java.lang.Object o)
Prints an Object to the console.

Parameters:
o - The Object to print.

println

void println(java.lang.String s)
Prints a String to the console.

Parameters:
s - The String to print.

setMessage

void setMessage(java.lang.String message)
Sets the message to be printed to the console.

Parameters:
message - The message to be printed to the console. Must not be null or empty.

setStderr

void setStderr()
Instructs the action to print to stderr. By default, the action prints to stdout.



© 2014 Flux Corporation. All rights reserved.