public enum ProfileSection extends Enum<ProfileSection>
Enum Constant and Description |
---|
SSO_SESSION
An `sso-session` section declares that the attributes that follow (until another section definition is encountered)
are part of a named collection of attributes.
|
Modifier and Type | Method and Description |
---|---|
static ProfileSection |
fromPropertyKeyName(String propertyName) |
static ProfileSection |
fromSectionTitle(String sectionTitle) |
String |
getPropertyKeyName() |
String |
getSectionTitle() |
static ProfileSection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfileSection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfileSection SSO_SESSION
public static ProfileSection[] values()
for (ProfileSection c : ProfileSection.values()) System.out.println(c);
public static ProfileSection valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ProfileSection fromSectionTitle(String sectionTitle)
sectionTitle
- The section title in the config or credential file.public static ProfileSection fromPropertyKeyName(String propertyName)
propertyName
- The property definition of a key that points to a Section.public String getSectionTitle()
ProfileSection
.public String getPropertyKeyName()
ProfileSection
.Copyright © 2022. All rights reserved.