Package zowe.client.sdk.teamconfig.types
Enum SectionType
- java.lang.Object
-
- java.lang.Enum<SectionType>
-
- zowe.client.sdk.teamconfig.types.SectionType
-
- All Implemented Interfaces:
Serializable,Comparable<SectionType>
public enum SectionType extends Enum<SectionType>
SectionType class provides type representation of Zowe Global Team Configuration sections.- Version:
- 2.0
- Author:
- Frank Giordano
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()Returns the value of the section type.static SectionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SectionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
$SCHEMA
public static final SectionType $SCHEMA
-
PROFILES
public static final SectionType PROFILES
-
DEFAULTS
public static final SectionType DEFAULTS
-
AUTOSTORE
public static final SectionType AUTOSTORE
-
-
Method Detail
-
values
public static SectionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SectionType c : SectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SectionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
Returns the value of the section type.- Returns:
- the value of the section type
-
-