public class ProviderConfigProperty extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BOOLEAN_TYPE |
static String |
CLIENT_LIST_TYPE |
protected Object |
defaultValue |
static String |
FILE_TYPE |
protected String |
helpText |
protected String |
label |
static String |
LIST_TYPE
Possibility to configure single String value, which needs to be chosen from the list of predefined values (HTML select)
|
static String |
MULTIVALUED_LIST_TYPE
Possibility to configure multiple String values, which needs to be chosen from the list of predefined values (HTML select with multiple)
|
static String |
MULTIVALUED_STRING_TYPE
Possibility to configure multiple String values of any value (something like "redirect_uris" for clients)
|
protected String |
name |
protected List<String> |
options |
static String |
PASSWORD |
static String |
ROLE_TYPE |
static String |
SCRIPT_TYPE |
protected boolean |
secret |
static String |
STRING_TYPE |
static String |
TEXT_TYPE
textarea field
|
protected String |
type |
Constructor and Description |
---|
ProviderConfigProperty() |
ProviderConfigProperty(String name,
String label,
String helpText,
String type,
Object defaultValue) |
ProviderConfigProperty(String name,
String label,
String helpText,
String type,
Object defaultValue,
boolean secret) |
ProviderConfigProperty(String name,
String label,
String helpText,
String type,
Object defaultValue,
String... options) |
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultValue()
Default value for the variable
|
String |
getHelpText()
Help text that will be displayed in the admin console tooltip
|
String |
getLabel()
Label shown in the admin console when configuring the variable
|
String |
getName()
Name of the config variable stored in the database
|
List<String> |
getOptions()
For list types, this is a list of choices to choose from.
|
String |
getType()
Type of the variable.
|
boolean |
isSecret()
If true, this variable is only writeable.
|
void |
setDefaultValue(Object defaultValue) |
void |
setHelpText(String helpText) |
void |
setLabel(String label) |
void |
setName(String name) |
void |
setOptions(List<String> options) |
void |
setSecret(boolean secret) |
void |
setType(String type) |
public static final String BOOLEAN_TYPE
public static final String STRING_TYPE
public static final String MULTIVALUED_STRING_TYPE
public static final String SCRIPT_TYPE
public static final String FILE_TYPE
public static final String ROLE_TYPE
public static final String LIST_TYPE
public static final String MULTIVALUED_LIST_TYPE
public static final String CLIENT_LIST_TYPE
public static final String PASSWORD
public static final String TEXT_TYPE
protected String name
protected String label
protected String helpText
protected String type
protected Object defaultValue
protected boolean secret
public ProviderConfigProperty()
public ProviderConfigProperty(String name, String label, String helpText, String type, Object defaultValue)
public ProviderConfigProperty(String name, String label, String helpText, String type, Object defaultValue, String... options)
public String getName()
public void setName(String name)
public String getLabel()
public void setLabel(String label)
public String getType()
public void setType(String type)
public Object getDefaultValue()
public void setDefaultValue(Object defaultValue)
public List<String> getOptions()
public String getHelpText()
public void setHelpText(String helpText)
public boolean isSecret()
public void setSecret(boolean secret)
Copyright © 2019 JBoss by Red Hat. All rights reserved.