public class ConfigItemMetadata extends Object
Type | Property and Description |
---|---|
boolean |
isSample
Gets the value of the property sampleProperty.
|
Constructor and Description |
---|
ConfigItemMetadata() |
Modifier and Type | Method and Description |
---|---|
ConfigItemMetadata |
clone(int repeatIndex)
replace $i$ with repeat index
|
String |
getCheckboxValuesFromClass()
checkbox values, labels, and checked for checkboxes
|
String |
getComment()
comments in the file about this item
|
String |
getDefaultValue()
default value
|
String |
getDefaultValueEl()
default value EL expression
|
ConfigItemFormElement |
getFormElement()
must be in ConfigItemFormElement enum
|
String |
getKey()
key to this value (optional)
|
String |
getKeyOrSampleKey() |
String |
getMetadataError()
if metadata json was converted to json successfully and valid
|
Boolean |
getMetadataProcessedSuccessfully()
if the metadata json was processed successfully
|
String |
getMustExtendClass()
fully qualified classname that this value which is a class must extend
|
String |
getMustImplementInterface()
fully qualified interface that this value which is a class must implement
|
String[] |
getOptionValues()
if this is a drop down, these are the acceptable values
|
String |
getOptionValuesFromClass() |
int |
getOrder() |
String |
getRawMetadataJson()
raw json string in the properties file
|
String |
getRegex()
if this can be a list of values, this is the regex
|
int |
getRepeatCount()
how many times a property should be repeated
|
String |
getRepeatGroup()
common label of repeated configs that should be in a repeated block
|
int |
getRepeatGroupIndex() |
String |
getRequiredEl()
if this is set, put in an expression language that can depend on other attribute suffixes
to see if an item is required or not
|
String |
getSampleKey()
if commented out property, this is the sample key
|
String |
getSampleValue()
an example value for the property
|
String |
getShowEl()
if this is set, put in an expression language that can depend on other attribute suffixes
to see if an item is shown or not
|
String |
getSubSection()
put a label to group items together.
|
String |
getValue()
value in config file
|
ConfigItemMetadataType |
getValueType()
value type, e.g.
|
boolean |
isMultiple()
if multiple values are allowed (e.g.
|
boolean |
isReadOnly()
is this property read only?
|
boolean |
isRequired()
if this is a required field
|
boolean |
isRequiresRestart()
if changing this property requires restart of grouper
|
boolean |
isSampleProperty()
Gets the value of the property sampleProperty.
|
boolean |
isSaveToDb()
should this propery be saved to database?
|
boolean |
isSensitive()
if this is a password or other private field that probably shouldnt be displayed
especially if the password or encrypted password is listed in the value
|
void |
processMetadata() |
void |
setCheckboxValuesFromClass(String checkboxValuesFromClass)
checkbox values, labels, and checked for checkboxes
|
void |
setComment(String comment1)
comments in the file about this item
|
void |
setDefaultValue(String defaultValue)
default value
|
void |
setDefaultValueEl(String defaultValueEl)
default value EL expression
|
void |
setFormElement(ConfigItemFormElement formElement1)
must be in ConfigItemFormElement enum
|
void |
setKey(String key1)
key to this value (optional)
|
void |
setMetadataError(String metadataError1)
if metadata json was converted to json successfully and valid
|
void |
setMetadataProcessedSuccessfully(Boolean metadataProcessedSuccessfully1)
if the metadata json was processed successfully
|
void |
setMultiple(boolean multiple1)
if multiple values are allowed (e.g.
|
void |
setMustExtendClass(String mustExtendClass1)
fully qualified classname that this value which is a class must extend
|
void |
setMustImplementInterface(String mustImplementInterface1)
fully qualified interface that this value which is a class must implement
|
void |
setOptionValues(String[] optionValues)
if this is a drop down, these are the acceptable values
|
void |
setOptionValuesFromClass(String optionValuesFromClass)
option values from class for dropdowns
|
void |
setOrder(int order)
used for ordering elements
|
void |
setRawMetadataJson(String rawMetadataJson1)
raw json string in the properties file
|
void |
setReadOnly(boolean readOnly)
is this property read only
|
void |
setRegex(String regex1)
if this can be a list of values, this is the regex
|
void |
setRepeatCount(int repeatCount)
how many times a property should be repeated
|
void |
setRepeatGroup(String repeatGroup)
common label of repeated configs that should be in a repeated block
|
void |
setRepeatGroupIndex(int repeatGroupIndex) |
void |
setRequired(boolean required1)
if this is a required field
|
void |
setRequiredEl(String requiredEl)
if this is set, put in an expression language that can depend on other attribute suffixes
to see if an item is required or not
|
void |
setRequiresRestart(boolean requiresRestart1)
if changing this property requires restart of grouper
|
void |
setSampleKey(String sampleKey)
if commented out property, this is the sample key
|
void |
setSampleValue(String sampleValue1)
an example value for the property
|
void |
setSaveToDb(boolean saveToDb)
should this propery be saved to database?
|
void |
setSensitive(boolean sensitive1)
if this is a password or other private field that probably shouldnt be displayed
especially if the password or encrypted password is listed in the value
|
void |
setShowEl(String showEl)
if this is set, put in an expression language that can depend on other attribute suffixes
to see if an item is shown or not
|
void |
setSubSection(String section)
put a label to group items together.
|
void |
setValue(String value1)
value in config file
|
void |
setValueType(ConfigItemMetadataType valueType1)
value type, e.g.
|
public boolean isSampleProperty
public String getKeyOrSampleKey()
public boolean isSampleProperty()
public String getSampleKey()
public void setSampleKey(String sampleKey)
sampleKey
- public String getSampleValue()
public void setSampleValue(String sampleValue1)
sampleValue1
- the sampleValue to setpublic boolean isRequiresRestart()
public void setRequiresRestart(boolean requiresRestart1)
requiresRestart1
- the requiresRestart to setpublic Boolean getMetadataProcessedSuccessfully()
public void setMetadataProcessedSuccessfully(Boolean metadataProcessedSuccessfully1)
metadataProcessedSuccessfully1
- the metadataProcessedSuccessfully to setpublic String getMetadataError()
public void setMetadataError(String metadataError1)
metadataError1
- the metadataError to setpublic String getRepeatGroup()
public void setRepeatGroup(String repeatGroup)
repeatGroup
- public int getRepeatCount()
public void setRepeatCount(int repeatCount)
repeatCount
- public int getRepeatGroupIndex()
public void setRepeatGroupIndex(int repeatGroupIndex)
public int getOrder()
public void setOrder(int order)
order
- public String getSubSection()
public void setSubSection(String section)
section
- public String getRawMetadataJson()
public void setRawMetadataJson(String rawMetadataJson1)
rawMetadataJson1
- the rawMetadataJson to setpublic String getShowEl()
public void setShowEl(String showEl)
showEl
- public String getRequiredEl()
public void setRequiredEl(String requiredEl)
requiredEl
- public ConfigItemMetadata clone(int repeatIndex)
repeatIndex
- public void processMetadata()
public String getValue()
public void setValue(String value1)
value1
- the value to setpublic boolean isRequired()
public void setRequired(boolean required1)
required1
- the required to setpublic String[] getOptionValues()
public void setOptionValues(String[] optionValues)
optionValues
- public ConfigItemFormElement getFormElement()
public void setFormElement(ConfigItemFormElement formElement1)
formElement1
- public ConfigItemMetadataType getValueType()
public void setValueType(ConfigItemMetadataType valueType1)
valueType1
- the valueType to setpublic String getRegex()
public void setRegex(String regex1)
regex1
- the regex to setpublic boolean isMultiple()
public void setMultiple(boolean multiple1)
multiple1
- the multiple to setpublic boolean isSensitive()
public void setSensitive(boolean sensitive1)
sensitive1
- the sensitive to setpublic String getKey()
public void setKey(String key1)
key1
- the key to setpublic String getDefaultValue()
public void setDefaultValue(String defaultValue)
defaultValue
- the defaultValue to setpublic String getComment()
public void setComment(String comment1)
comment1
- the comment to setpublic String getDefaultValueEl()
public void setDefaultValueEl(String defaultValueEl)
defaultValueEl
- public String getMustExtendClass()
public void setMustExtendClass(String mustExtendClass1)
mustExtendClass1
- the mustExtendClass to setpublic String getMustImplementInterface()
public void setMustImplementInterface(String mustImplementInterface1)
mustImplementInterface1
- the mustImplementInterface to setpublic boolean isReadOnly()
public void setReadOnly(boolean readOnly)
readOnly
- public boolean isSaveToDb()
public void setSaveToDb(boolean saveToDb)
readOnly
- public String getOptionValuesFromClass()
public void setOptionValuesFromClass(String optionValuesFromClass)
optionValuesFromClass
- public String getCheckboxValuesFromClass()
public void setCheckboxValuesFromClass(String checkboxValuesFromClass)
checkboxValuesFromClass
- Copyright © 2016 Internet2. All rights reserved.