|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SetupMode>
org.apache.directory.server.core.integ.SetupMode
public enum SetupMode
Different modes of conducting core tests.
Enum Constant Summary | |
---|---|
CUMULATIVE
If a service is running it is used as is. |
|
NOSERVICE
Does nothing at all. |
|
PRISTINE
If a service is running this mode will shutdown the service, destroy it's working directory, null it out and start all over again with a new service object to start it up fresh. |
|
RESTART
If a service is running this mode will shutdown the service, WITHOUT destroying it's working directory, so changes made in tests are or should be persistant. |
|
ROLLBACK
If a service is running this mode will NOT shutdown the service, instead the service's state will be reverted to it's previous state before the last test which operated on it. |
Field Summary | |
---|---|
static int |
CUMULATIVE_ORDINAL
|
java.lang.String |
description
|
static int |
NOSERVICE_ORDINAL
|
int |
ordinal
|
static int |
PRISTINE_ORDINAL
|
static int |
RESTART_ORDINAL
|
static int |
ROLLBACK_ORDINAL
|
Method Summary | |
---|---|
boolean |
isStartedDirtyTestable()
|
static SetupMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SetupMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SetupMode PRISTINE
public static final SetupMode RESTART
public static final SetupMode ROLLBACK
public static final SetupMode CUMULATIVE
public static final SetupMode NOSERVICE
Field Detail |
---|
public static final int PRISTINE_ORDINAL
public static final int RESTART_ORDINAL
public static final int ROLLBACK_ORDINAL
public static final int CUMULATIVE_ORDINAL
public static final int NOSERVICE_ORDINAL
public final int ordinal
public final java.lang.String description
Method Detail |
---|
public static final SetupMode[] values()
for(SetupMode c : SetupMode.values()) System.out.println(c);
public static SetupMode 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 namepublic boolean isStartedDirtyTestable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |