|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.monad.homerun.core.GlobalProps
public class GlobalProps
GlobalProps contains properties affecting all homerun components and apps and frequently used constants
Field Summary | |
---|---|
static int |
BAD_NUMBER
|
static java.lang.String |
BOOT_SVC_TAG
|
static int |
DAYS_PER_CYC
|
static boolean |
DEBUG
Global debug flag - this allows toggling all the debug logging & other instrumentation. |
static java.lang.String |
DEFAULT_SERVER_HOST
|
static boolean |
EMBEDDED
|
static java.lang.String |
homeDir
|
static int |
MINS_PER_DAY
|
static java.lang.String |
RMI_SVC_TAG
|
static java.lang.String |
SERVER_COMM_ERROR
|
static java.lang.String |
VERSION
|
static java.lang.String |
WEB_SVC_TAG
|
Constructor Summary | |
---|---|
GlobalProps()
|
Method Summary | |
---|---|
static java.lang.String |
getHomeDir()
Returns the directory where server is installed |
static java.lang.String |
getHomeURLPath()
Returns the directory where server is installed in URL-friendly form |
static java.lang.String |
getOSTag()
Returns a tag for the family of operating system where server is installed |
static void |
sysLog(java.lang.String message)
Writes a message to std error when we don't have logging, unless in embedded mode, when it is silently discarded |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean DEBUG
public static final boolean EMBEDDED
public static final java.lang.String SERVER_COMM_ERROR
public static final int BAD_NUMBER
public static final java.lang.String VERSION
public static final int MINS_PER_DAY
public static final int DAYS_PER_CYC
public static final java.lang.String DEFAULT_SERVER_HOST
public static final java.lang.String BOOT_SVC_TAG
public static final java.lang.String WEB_SVC_TAG
public static final java.lang.String RMI_SVC_TAG
public static java.lang.String homeDir
Constructor Detail |
---|
public GlobalProps()
Method Detail |
---|
public static java.lang.String getHomeDir()
public static java.lang.String getHomeURLPath()
public static java.lang.String getOSTag()
public static void sysLog(java.lang.String message)
message
- the log message to write
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |