Package org.glassfish.admin.amx.util
Interface Output
-
- All Superinterfaces:
DebugSink
- All Known Implementing Classes:
AMXDebug.WrapOutput
,FileOutput
,OutputIgnore
public interface Output extends DebugSink
The API that should be used to output from a Cmd running within the framework.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Done with it, can be destroyed.void
print(Object o)
Output a message without a newline.void
printDebug(Object o)
Output a debug error message if getDebug() is currently true.void
printError(Object o)
Output a message to error outputvoid
println(Object o)
Output a message with a newline.
-
-
-
Method Detail
-
print
void print(Object o)
Output a message without a newline.
-
println
void println(Object o)
Output a message with a newline.
-
printError
void printError(Object o)
Output a message to error output- Parameters:
o
- the Object to output
-
printDebug
void printDebug(Object o)
Output a debug error message if getDebug() is currently true.- Parameters:
o
- the Object to output
-
close
void close()
Done with it, can be destroyed.
-
-