Package org.glassfish.admin.amx.util
Class DebugOutImpl
- java.lang.Object
-
- org.glassfish.admin.amx.util.DebugOutImpl
-
-
Constructor Summary
Constructors Constructor Description DebugOutImpl(String id, boolean debug)DebugOutImpl(String id, boolean debug, DebugSink sink)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(Object... args)If getDebug() returns true, output the argumentsvoiddebugMethod(String methodName, Object... args)voiddebugMethod(String msg, String methodName, Object... args)booleangetDebug()Return true if debugging is on.StringgetID()Return the arbitrary identifier for this instance.static StringmethodString(String name, Object... args)voidprint(Object o)Output a message without a newline.voidprintln(Object o)Output a message with a newline.voidsetDebug(boolean debug)StringtoString(Object... args)
-
-
-
Method Detail
-
getID
public String getID()
Description copied from interface:DebugOutReturn the arbitrary identifier for this instance.
-
getDebug
public boolean getDebug()
Description copied from interface:DebugOutReturn true if debugging is on.
-
print
public void print(Object o)
Description copied from interface:DebugSinkOutput a message without a newline.
-
println
public void println(Object o)
Description copied from interface:DebugSinkOutput a message with a newline.
-
setDebug
public void setDebug(boolean debug)
-
debug
public void debug(Object... args)
Description copied from interface:DebugOutIf getDebug() returns true, output the arguments
-
debugMethod
public void debugMethod(String methodName, Object... args)
- Specified by:
debugMethodin interfaceDebugOut
-
debugMethod
public void debugMethod(String msg, String methodName, Object... args)
- Specified by:
debugMethodin interfaceDebugOut
-
-