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 void
dumpStack(String msg)
boolean
getDebug()
boolean
getEchoToStdOut()
void
println()
void
println(Object o)
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.void
setDebug(boolean debug)
void
setEchoToStdOut(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)
-
-