|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FixtureType>
org.nakedobjects.applib.fixtures.FixtureType
public enum FixtureType
Enumerates the different types of fixtures supported.
InstallableFixture.getType()| Enum Constant Summary | |
|---|---|
OBJECT_STORE
A fixture that installs data (either reference data or operational data) into an object store. |
|
OTHER
A fixture that neither installs data into the object store nor perspectives into the UserProfileService. |
|
USER_PROFILE
Analogous to FixtureType#DATA, but for fixtures (in particular, the
PerspectiveFixture) that are used to setup Profiles and their
Perspectives. |
|
| Method Summary | |
|---|---|
static FixtureType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FixtureType[] |
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 FixtureType OBJECT_STORE
Some object stores are in-memory only, in which case these will always want fixtures of this type to be installed. However, for object stores that persist the data (such as XML or to an RDBMS), these typically do not want data fixtures run (except possibly for the very first time booted to initially seed them).
public static final FixtureType USER_PROFILE
FixtureType#DATA, but for fixtures (in particular, the
PerspectiveFixture) that are used to setup Profiles and their
Perspectives.
UserProfileServicepublic static final FixtureType OTHER
UserProfileService.
Fixtures of this type are always installed. Typical examples are:
DateFixture)
LogonFixture).
| Method Detail |
|---|
public static final FixtureType[] values()
for(FixtureType c : FixtureType.values())
System.out.println(c);
public static FixtureType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||