|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DeploymentType>
org.nakedobjects.runtime.system.DeploymentType
public enum DeploymentType
Whether running on client or server side etc.
| Enum Constant Summary | |
|---|---|
CLIENT
|
|
EXPLORATION
|
|
PROTOTYPE
|
|
SERVER
|
|
SERVER_EXPLORATION
|
|
SERVER_PROTOTYPE
|
|
SINGLE_USER
|
|
UTILITY
|
|
| Method Summary | |
|---|---|
void |
addViewersIfAnyTo(java.util.List<java.lang.String> requestedViewers)
|
boolean |
canInstallFixtures()
|
boolean |
canSpecifyConnectors(java.util.List<java.lang.String> connectors)
|
boolean |
canSpecifyObjectStore()
|
boolean |
canSpecifyViewers(java.util.List<java.lang.String> viewers)
|
java.lang.String |
friendlyName()
|
java.lang.String |
getDefaultViewer()
|
void |
initContext(NakedObjectSessionFactory sessionFactory)
|
boolean |
isExploring()
|
boolean |
isProduction()
|
boolean |
isPrototyping()
|
static DeploymentType |
lookup(java.lang.String str)
similar to valueOf(String), but will convert any
'-' to '_' first. |
boolean |
shouldMonitor()
|
boolean |
shouldShowSplash()
|
static DeploymentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DeploymentType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DeploymentType EXPLORATION
public static final DeploymentType PROTOTYPE
public static final DeploymentType CLIENT
public static final DeploymentType SERVER
public static final DeploymentType SERVER_EXPLORATION
public static final DeploymentType SERVER_PROTOTYPE
public static final DeploymentType SINGLE_USER
public static final DeploymentType UTILITY
| Method Detail |
|---|
public static DeploymentType[] values()
for (DeploymentType c : DeploymentType.values()) System.out.println(c);
public static DeploymentType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic void initContext(NakedObjectSessionFactory sessionFactory)
public boolean canSpecifyViewers(java.util.List<java.lang.String> viewers)
public boolean canSpecifyConnectors(java.util.List<java.lang.String> connectors)
public boolean canSpecifyObjectStore()
public boolean canInstallFixtures()
public boolean shouldShowSplash()
public boolean shouldMonitor()
public boolean isExploring()
public boolean isPrototyping()
public boolean isProduction()
public java.lang.String getDefaultViewer()
public void addViewersIfAnyTo(java.util.List<java.lang.String> requestedViewers)
public static DeploymentType lookup(java.lang.String str)
valueOf(String), but will convert any
'-' to '_' first.
For example, allows a DeploymentType to be specified as either server_exploration
or as server-exploration.
public java.lang.String friendlyName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||