public class SystemSetupParameter extends 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(String key)
This key will be available again in the ParameterMap after the request was sent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(String value)
Adds a value to the parameter.
|
void |
addValue(String value,
boolean selected)
Adds a value to the parameter with the possibility to set the selected status.
|
void |
addValues(String[] values)
Adds a whole string array as values to the parameter.
|
String[] |
getDefaults() |
String |
getKey() |
String |
getLabel() |
Map<String,Boolean> |
getValues() |
boolean |
isDefault(String parameter) |
boolean |
isMultiSelect() |
void |
setLabel(String label)
This label will be displayed in the administration console (hac) before the select box.
|
void |
setMultiSelect(boolean multiSelect) |
void |
setSelected(String value)
Tags the value to be selected (default value).
|
public SystemSetupParameter(String key)
public void addValue(String value, boolean selected)
public void setSelected(String value)
public void addValue(String value)
public void addValues(String[] values)
public Map<String,Boolean> getValues()
public String getKey()
public boolean isDefault(String parameter)
true if the parameter is a default parameter.public String[] getDefaults()
public void setLabel(String label)
public String getLabel()
public void setMultiSelect(boolean multiSelect)
multiSelect - the multiSelect to setpublic boolean isMultiSelect()
Copyright © 2017 SAP SE. All Rights Reserved.