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 2000-2008 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, getFlows, getHiddenVariableNames, getJoinExpression, getName, getPostscript, getPostscriptLanguage, getPrescript, getPrescriptLanguage, getResultInfo, getSignalsToMonitor, getTimeoutBusinessInterval, getTimeoutExpression, getVariableManager, isEndOfRun, isJoinPoint, isSkippable, isStartAction, isStartOfRun, isTransactionBreak, removeFlow, reset, setElseFlow, setEndOfRun, setErrorFlow, setErrorFlowWithoutRollback, setErrorFlowWithRollback, setJoinExpression, setJoinPoint, setName, setPostscript, setPostscriptLanguage, setPrescript, setPrescriptLanguage, setSignalsToMonitor, setSkippable, setStartAction, setStartOfRun, setTimeoutBusinessInterval, setTimeoutExpression, setTimeoutFlow, setTransactionBreak, verify, verifyOnClient
 
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap
getRuntimeDataMap, setRuntimeDataMap
 

Method Detail

getMessage

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

Returns:
The message to be printed to the console.

print

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

Parameters:
b - The boolean to print.

print

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

Parameters:
c - The char to print.

print

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

Parameters:
s - The char[] to print.

print

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

Parameters:
d - The double to print.

print

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

Parameters:
f - The float to print.

print

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

Parameters:
i - The int to print.

print

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

Parameters:
l - The long to print.

print

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

Parameters:
o - The object to print.

print

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

Parameters:
s - The String to print.

println

public void println()
Prints a newline to the console.


println

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

Parameters:
b - The boolean to print.

println

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

Parameters:
c - The char to print.

println

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

Parameters:
s - The char[] to print.

println

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

Parameters:
d - The double to print.

println

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

Parameters:
f - The float to print.

println

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

Parameters:
i - The int to print.

println

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

Parameters:
l - The long to print.

println

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

Parameters:
o - The Object to print.

println

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

Parameters:
s - The String to print.

setMessage

public 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.

setStderr

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



© 2000-2008 Flux Corporation. All rights reserved.