public static final class Requirement.StreamState extends EnumeratedValue
Modifier and Type | Field and Description |
---|---|
static Requirement.StreamState |
ACCEPTED
Requirement info stream set to Accepted
|
static Requirement.StreamState[] |
ALL
All valid stream states for the Requirement
|
static Requirement.StreamState |
PENDING
Requirement info stream set to Pending
|
static Requirement.StreamState |
REJECTED
Requirement info stream set to Rejected
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares this StreamState with the Object o
|
static Requirement.StreamState |
fromID(int id)
Gets the Stream State corresponding to the given ID.
|
static Requirement.StreamState |
fromValue(EnumeratedValue value)
Gets the stream state value corresponding to the given
EnumeratedValue.
|
int |
getCode()
Return the enumerated code for this object.
|
int |
getID()
The ID of the corresponding EnumeratedValue, as defined in
StreamStateProperty.
|
int |
hashCode()
Returns the hash code for the StreamState.
|
addChild, assignParent, copy, disable, enable, findChild, getChildValues, getDebugString, getDepthInHierarchy, getDisplayName, getDisplayNameTranslations, getInternalName, getName, getNameProperty, getParentValue, getSortOrder, hasChildValues, isClosedState, isDisabled, isEnabled, isEqualTo, isLeafValue, isRootValue, isSelectable, setAfter, setChildValues, setClosedState, setDisplayName, setDisplayNameTranslations, setEnabled, setInternalName, setSelectable, setSortOrder, toString
public static final Requirement.StreamState PENDING
public static final Requirement.StreamState ACCEPTED
public static final Requirement.StreamState REJECTED
public static final Requirement.StreamState[] ALL
public int getID()
Requirement.Type.StreamStateProperty.NAME
public int getCode()
getCode
in class EnumeratedValue
public static Requirement.StreamState fromID(int id)
id
- A StreamState ID.public static Requirement.StreamState fromValue(EnumeratedValue value)
value
- one of the EnumeratedValues of a StreamStateProperty.public boolean equals(java.lang.Object o)
equals
in class EnumeratedValue
o
- the Object to compare to for equalitypublic int hashCode()
hashCode
in class EnumeratedValue
StarTeam SDK 17.0, Build 34
Copyright © 2019 Micro Focus or one of its affiliates. All rights reserved.