|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.data.Mode
The Mode
class declares the EXPLICIT, PACKAGED or IMPLICIT mode of creation of a profile.
Profile
,
Serialized FormField Summary | |
static Mode |
EXPLICIT
Constant indicating that the profile was explicitly declared under an assembly directive. |
static int |
EXPLICIT_VALUE
Constant indicating that the profile was explicitly declared under an assembly directive. |
static Mode |
IMPLICIT
Constant indicating that the profile was implicitly created. |
static int |
IMPLICIT_VALUE
Constant indicating that the profile was implicitly created. |
static Mode |
PACKAGED
Constant indicating that the profile was created based on a profile packaged with the type. |
static int |
PACKAGED_VALUE
Constant indicating that the profile was created based on a profile packaged with the type. |
Constructor Summary | |
Mode(int mode)
Creation of a new mode value. |
Method Summary | |
boolean |
equals(Object object)
Compare a supplied object for equality. |
int |
getValue()
The supplied argument. |
static String |
modeToString(int mode)
Returns a string representation of a mode value. |
String |
toString()
Return a string representatio of the mode. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int IMPLICIT_VALUE
public static final int PACKAGED_VALUE
public static final int EXPLICIT_VALUE
public static final Mode IMPLICIT
public static final Mode PACKAGED
public static final Mode EXPLICIT
Constructor Detail |
public Mode(int mode)
mode
- the int value of the mode.Method Detail |
public static String modeToString(int mode)
mode
- the mode value
public int getValue()
public String toString()
public boolean equals(Object object)
object
- the other object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |