|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CredentialType>
com.ace.moab.api.credential.CredentialType
public enum CredentialType
This enum represents a credential type such as user, group account, class, or qos.
Other information stored in this enum include the following:
Enum Constant Summary | |
---|---|
ACCOUNT
|
|
CLASS_OF_SERVICE
|
|
CLUSTER
|
|
GROUP
|
|
NOT_SPECIFIED
|
|
QOS
|
|
USER
|
Method Summary | |
---|---|
static java.util.Vector<java.lang.String> |
convertCredentialTypesToStrings(java.util.Vector<CredentialType> credTypes)
Converts a Vector of CredentialTypes to a vector of strings, where each string is a string representation of one of the credentialTypes in the input vector. |
static java.util.Vector<CredentialType> |
getChildCredTypes()
Returns the credential types that are potential child credentials. |
static java.util.Vector<CredentialType> |
getParentCredTypes()
Returns the credential types that are potential parent, or grouping credentials. |
static java.util.Vector<CredentialType> |
getStandardCredentialType()
Returns the standard credential types used throughout most of MCM (i.e. |
static java.util.Vector<java.lang.String> |
getStandardCredentialTypeShorthandStrings()
Returns the short hand strings for the credential types used throughout most of MCM (i.e. |
static java.util.Vector<java.lang.String> |
getStandardCredentialTypeStrings()
Returns the standard credential types used throughout most of MCM (i.e. |
static CredentialType |
parseCredentialTypeString(java.lang.String credentialTypeString)
Converts a string like "user" to it's corresponding CredentialType enum constant. |
java.lang.String |
toHelpString()
Return a string which is used to build the tag to reference help documentation. |
com.moab.api.scheduler.MoabObjectType |
toMoabObjectType()
Return the MoabObjectType that is equivalent to this CredentialType. |
java.lang.String |
toShortHandString()
Returns the CredentialType in a short hand string representation. |
java.lang.String |
toString()
Returns this credential type as a String. |
java.lang.String |
toXMLConstant()
|
static CredentialType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CredentialType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CredentialType USER
public static final CredentialType GROUP
public static final CredentialType ACCOUNT
public static final CredentialType CLASS_OF_SERVICE
public static final CredentialType QOS
public static final CredentialType CLUSTER
public static final CredentialType NOT_SPECIFIED
Method Detail |
---|
public static final CredentialType[] values()
for(CredentialType c : CredentialType.values()) System.out.println(c);
public static CredentialType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic java.lang.String toString()
toString
in class java.lang.Enum<CredentialType>
public java.lang.String toShortHandString()
public java.lang.String toHelpString()
public java.lang.String toXMLConstant()
public com.moab.api.scheduler.MoabObjectType toMoabObjectType()
public static java.util.Vector<CredentialType> getChildCredTypes()
public static java.util.Vector<CredentialType> getParentCredTypes()
public static java.util.Vector<java.lang.String> getStandardCredentialTypeStrings()
public static java.util.Vector<java.lang.String> getStandardCredentialTypeShorthandStrings()
public static java.util.Vector<CredentialType> getStandardCredentialType()
public static CredentialType parseCredentialTypeString(java.lang.String credentialTypeString)
credentialTypeString
- should be "user", "group", etc.
public static java.util.Vector<java.lang.String> convertCredentialTypesToStrings(java.util.Vector<CredentialType> credTypes)
credTypes
- the CredentialType enum constants to convert to Strings.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |