public static final class User.License extends EnumeratedValue
Modifier and Type | Field and Description |
---|---|
static User.License[] |
ALL
All legal licenses
|
static User.License |
AUTO_PASS_LICENSE_SERVER
AutoPass License Server.
|
static User.License |
LICENSE_SERVER
Borland License Server (BLS and BLS licenses are provided through
Embarcadero Software)
|
static User.License |
STARTEAM
StarTeam
|
static User.License |
UNASSIGNED
License Unassigned
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares this object with another License for equality
|
static User.License |
fromID(int id)
Gets the LicenseType value corresponding to the given ID.
|
int |
getCode()
Return the enum code for this object.
|
java.lang.String |
getDisplayName()
Returns the display name of the License.
|
int |
getID()
The ID of the corresponding License
|
java.lang.String |
getName()
A friendly name for this license
|
int |
hashCode()
Returns a hashCode for this License
|
addChild, assignParent, copy, disable, enable, findChild, getChildValues, getDebugString, getDepthInHierarchy, getDisplayNameTranslations, getInternalName, getNameProperty, getParentValue, getSortOrder, hasChildValues, isClosedState, isDisabled, isEnabled, isEqualTo, isLeafValue, isRootValue, isSelectable, setAfter, setChildValues, setClosedState, setDisplayName, setDisplayNameTranslations, setEnabled, setInternalName, setSelectable, setSortOrder, toString
public static final User.License STARTEAM
public static final User.License LICENSE_SERVER
public static final User.License UNASSIGNED
public static final User.License AUTO_PASS_LICENSE_SERVER
public static final User.License[] ALL
public int getCode()
getCode
in class EnumeratedValue
public java.lang.String getName()
getName
in interface ArtifactCacheManager.Nameable
getName
in class EnumeratedValue
public java.lang.String getDisplayName()
getDisplayName
in class EnumeratedValue
public int getID()
public static User.License fromID(int id)
id
- A LicenseType ID.public boolean equals(java.lang.Object o)
equals
in class EnumeratedValue
o
- the Object to comparepublic int hashCode()
hashCode
in class EnumeratedValue
StarTeam SDK 17.0, Build 34
Copyright © 2019 Micro Focus or one of its affiliates. All rights reserved.