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.


Constructor Summary
SystemState()
           
 
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 stomp.util.OsManager
isLinux, isWindows
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemState

public SystemState()
Method Detail

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.