public static enum StpProvider.Domain extends Enum<StpProvider.Domain> implements com.ibm.rational.wvcm.stpex.StpExEnumeration
Enum Constant and Description |
---|
CLEAR_CASE
The ClearCase domain.
|
CLEAR_QUEST
The ClearQuest domain
|
CMI
The CMI domain
|
INVALID
An invalid domain
|
NONE
An unspecified domain
|
Modifier and Type | Method and Description |
---|---|
static StpProvider.Domain |
fromSymbol(String symbol)
Returns the Domain object that matches a given domain-field symbol
|
String |
toSymbol() |
static StpProvider.Domain |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StpProvider.Domain[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StpProvider.Domain CLEAR_CASE
public static final StpProvider.Domain CLEAR_QUEST
public static final StpProvider.Domain CMI
public static final StpProvider.Domain INVALID
public static final StpProvider.Domain NONE
public static final StpProvider.Domain fromSymbol(String symbol)
symbol
- A String containing the domain-field symbol to be
converted to a Domain object.public String toSymbol()
public static StpProvider.Domain valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static StpProvider.Domain[] values()
for (StpProvider.Domain c : StpProvider.Domain.values()) System.out.println(c);
Copyright © IBM 2016. All rights reserved.