|
Project: stp | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<CcTypeBase.InstanceConstraint>
CcTypeBase.InstanceConstraint
public static enum CcTypeBase.InstanceConstraint
Instance constraint of a ClearCase type object.
A type object's instance constraint determines where the type may be applied.
Some metatypes do not support all (or any) instance constraints.
Instance constraint is one of
For more information, see the ClearCase Administrator's Guide.
Enum Constant Summary | |
---|---|
BRANCH
Once per branch. |
|
ELEMENT
Once per element. |
|
NONE
Default constraint for this type. |
|
VERSION
Versions only, as many as desired. |
Method Summary | |
---|---|
static CcTypeBase.InstanceConstraint |
byTag(Object tag)
Returns the InstanceConstraint enumerator defined by the given Object |
static CcTypeBase.InstanceConstraint |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CcTypeBase.InstanceConstraint[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CcTypeBase.InstanceConstraint BRANCH
public static final CcTypeBase.InstanceConstraint ELEMENT
public static final CcTypeBase.InstanceConstraint NONE
public static final CcTypeBase.InstanceConstraint VERSION
Method Detail |
---|
public static CcTypeBase.InstanceConstraint byTag(Object tag)
tag
- The Object for which an enumerator is sought
public static CcTypeBase.InstanceConstraint 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
NullPointerException
- if the argument is nullpublic static CcTypeBase.InstanceConstraint[] values()
for (CcTypeBase.InstanceConstraint c : CcTypeBase.InstanceConstraint.values()) System.out.println(c);
|
Generated Thu 17-Apr-2014 03:22 PM | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |