public class SystemSetupParameter
extends java.lang.Object
SystemSetup
All parameters will be displayed in the administration console (hac) on the initialization/update page. If multiselect is true, it will
be shown as a multiselect window, otherwise as a normal html select box. During the init/update process called out of
ant, all parameters will be filled with the default parameter.| Constructor and Description |
|---|
SystemSetupParameter(java.lang.String key)
This key will be available again in the ParameterMap after the request was sent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(java.lang.String value)
Adds a value to the parameter.
|
void |
addValue(java.lang.String value,
boolean selected)
Adds a value to the parameter with the possibility to set the selected status.
|
void |
addValues(java.lang.String[] values)
Adds a whole string array as values to the parameter.
|
java.lang.String[] |
getDefaults() |
java.lang.String |
getKey() |
java.lang.String |
getLabel() |
java.util.Map<java.lang.String,java.lang.Boolean> |
getValues() |
boolean |
isDefault(java.lang.String parameter) |
boolean |
isMultiSelect() |
void |
setLabel(java.lang.String label)
This label will be displayed in the administration console (hac) before the select box.
|
void |
setMultiSelect(boolean multiSelect) |
void |
setSelected(java.lang.String value)
Tags the value to be selected (default value).
|
public SystemSetupParameter(java.lang.String key)
public void addValue(java.lang.String value,
boolean selected)
public void setSelected(java.lang.String value)
public void addValue(java.lang.String value)
public void addValues(java.lang.String[] values)
public java.util.Map<java.lang.String,java.lang.Boolean> getValues()
public java.lang.String getKey()
public boolean isDefault(java.lang.String parameter)
true if the parameter is a default parameter.public java.lang.String[] getDefaults()
public void setLabel(java.lang.String label)
public java.lang.String getLabel()
public void setMultiSelect(boolean multiSelect)
multiSelect - the multiSelect to setpublic boolean isMultiSelect()
Copyright © 2018 SAP SE. All Rights Reserved.