Enum Class GcLdapSearchAttributeConfig.SearchAttributeResultType
java.lang.Object
java.lang.Enum<GcLdapSearchAttributeConfig.SearchAttributeResultType>
edu.internet2.middleware.grouperClient.commandLine.GcLdapSearchAttributeConfig.SearchAttributeResultType
- All Implemented Interfaces:
Serializable
,Comparable<GcLdapSearchAttributeConfig.SearchAttributeResultType>
,java.lang.constant.Constable
- Enclosing class:
- GcLdapSearchAttributeConfig
public static enum GcLdapSearchAttributeConfig.SearchAttributeResultType
extends Enum<GcLdapSearchAttributeConfig.SearchAttributeResultType>
type of result in the ldap search attribute
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionif it is one result, with one string, and it matches the inputif the is one result, with one stringif there are multiple results, with one string in eachif there are one or multiple results, and multiple strings in each -
Method Summary
Modifier and TypeMethodDescriptionabstract String
processOutput
(GcLdapSearchAttributeConfig gcLdapSearchAttributeConfig, GcLdapSearchAttribute gcLdapSearchAttribute, String outputTemplate) process the outputReturns the enum constant of this class with the specified name.valueOfIgnoreCase
(String string) values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRING
if the is one result, with one string -
BOOLEAN
if it is one result, with one string, and it matches the input -
STRING_LIST
if there are multiple results, with one string in each -
STRING_LIST_LIST
if there are one or multiple results, and multiple strings in each
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOfIgnoreCase
public static GcLdapSearchAttributeConfig.SearchAttributeResultType valueOfIgnoreCase(String string) - Parameters:
string
-- Returns:
- the type
-
processOutput
public abstract String processOutput(GcLdapSearchAttributeConfig gcLdapSearchAttributeConfig, GcLdapSearchAttribute gcLdapSearchAttribute, String outputTemplate) process the output- Parameters:
gcLdapSearchAttributeConfig
-gcLdapSearchAttribute
-outputTemplate
-- Returns:
- the string of the output and a newline on the last line
-