Package org.glassfish.admin.amx.util
Class AMXDebugHelper
- java.lang.Object
-
- org.glassfish.admin.amx.util.AMXDebugHelper
-
-
Constructor Summary
Constructors Constructor Description AMXDebugHelper()AMXDebugHelper(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddumpStack(String msg)booleangetDebug()booleangetEchoToStdOut()voidprintln()voidprintln(Object o)voidprintln(Object... items)This form is preferred for multiple arguments so that String concatenation can be avoided when no message will actually be output.voidsetDebug(boolean debug)voidsetEchoToStdOut(boolean echo)
-
-
-
Constructor Detail
-
AMXDebugHelper
public AMXDebugHelper(String name)
-
AMXDebugHelper
public AMXDebugHelper()
-
-
Method Detail
-
getEchoToStdOut
public boolean getEchoToStdOut()
-
setEchoToStdOut
public void setEchoToStdOut(boolean echo)
-
getDebug
public boolean getDebug()
-
setDebug
public void setDebug(boolean debug)
-
println
public void println(Object o)
-
println
public void println()
-
println
public void println(Object... items)
This form is preferred for multiple arguments so that String concatenation can be avoided when no message will actually be output. For example, use:println( a, b, c)
instead of:println( a + b + c )
-
dumpStack
public void dumpStack(String msg)
-
-