stomp.util
Class SystemState
java.lang.Object
|
+--stomp.util.OsManager
|
+--stomp.util.SystemState
- public class SystemState
- extends OsManager
answers questions about the current state of the system, like are we on a Windows machine,
is this a production run, development, or QA, etc.
Method Summary |
static java.lang.String |
getState()
|
static boolean |
isProduction()
|
static boolean |
isQA()
|
static void |
main(java.lang.String[] args)
prints out the system.state variable. |
static void |
start()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemState
public SystemState()
isProduction
public static boolean isProduction()
isQA
public static boolean isQA()
getState
public static java.lang.String getState()
start
public static void start()
main
public static void main(java.lang.String[] args)
- prints out the system.state variable.