Use more constants.
This commit is contained in:
parent
940913cf89
commit
7e650bf980
2 changed files with 37 additions and 18 deletions
|
|
@ -78,17 +78,33 @@ public class Constants {
|
|||
/** The Constant COND_RUNNING. */
|
||||
public static final String COND_RUNNING = "Running";
|
||||
|
||||
/** The Constant COND_BOOTED. */
|
||||
public static final String COND_BOOTED = "Booted";
|
||||
/**
|
||||
* Conditions used in Status.
|
||||
*/
|
||||
public static class Condition {
|
||||
/** The Constant COND_BOOTED. */
|
||||
public static final String BOOTED = "Booted";
|
||||
|
||||
/** The Constant COND_VMOP_AGENT. */
|
||||
public static final String COND_VMOP_AGENT = "VmopAgentConnected";
|
||||
/** The Constant COND_VMOP_AGENT. */
|
||||
public static final String VMOP_AGENT = "VmopAgentConnected";
|
||||
|
||||
/** The Constant COND_USER_LOGGED_IN. */
|
||||
public static final String COND_USER_LOGGED_IN = "UserLoggedIn";
|
||||
/** The Constant COND_USER_LOGGED_IN. */
|
||||
public static final String USER_LOGGED_IN = "UserLoggedIn";
|
||||
|
||||
/** The Constant COND_CONSOLE. */
|
||||
public static final String COND_CONSOLE = "ConsoleConnected";
|
||||
/** The Constant COND_CONSOLE. */
|
||||
public static final String CONSOLE_CONNECTED = "ConsoleConnected";
|
||||
|
||||
/**
|
||||
* Reasons used in conditions.
|
||||
*/
|
||||
public static class Reason {
|
||||
/** The Constant NOT_REQUESTED. */
|
||||
public static final String NOT_REQUESTED = "NotRequested";
|
||||
|
||||
/** The Constant USER_LOGGED_IN. */
|
||||
public static final String LOGGED_IN = "LoggedIn";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue