public static final class Task.Origin extends EnumeratedValue
| Modifier and Type | Field and Description |
|---|---|
static Task.Origin[] |
ALL
All possible Task Origins
|
static Task.Origin |
MSPROJECT
Task was created in the application or exported to the application
from Microsoft Project.
|
static Task.Origin |
STARTEAM
Task created in StarTeam
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compares this Task Origins with the Object o
|
static Task.Origin |
fromID(int id)
Gets the Origin value corresponding to the given ID.
|
static Task.Origin |
fromValue(EnumeratedValue value)
Gets the Origin value corresponding to the given EnumeratedValue.
|
int |
getCode()
Return the enum code for this object.
|
int |
getID()
The ID of the corresponding EnumeratedValue, as defined in
OriginProperty.
|
int |
hashCode()
Returns hashcode of the task origin
|
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, toStringpublic static final Task.Origin STARTEAM
public static final Task.Origin MSPROJECT
public static final Task.Origin[] ALL
public int getID()
Task.Type.OriginProperty.NAMEpublic int getCode()
getCode in class EnumeratedValuepublic static Task.Origin fromValue(EnumeratedValue value)
value - One of the EnumeratedValues of a OriginProperty.public boolean equals(java.lang.Object o)
equals in class EnumeratedValueo - the Object to compare too for equalitypublic static Task.Origin fromID(int id)
id - An Origin ID.public int hashCode()
hashCode in class EnumeratedValueStarTeam SDK 17.0, Build 34
Copyright © 2019 Micro Focus or one of its affiliates. All rights reserved.