public abstract class AbstractCascadableParameter extends AbstractScriptableParameter implements CascadableParameter<Map<Object,Object>>
| Modifier and Type | Field and Description |
|---|---|
protected Map<Object,Object> |
parameters
Map with parameters in the UI.
|
script, SEPARATORDEFAULT_MAX_VISIBLE_ITEM_COUNT, ELEMENT_TYPE_FORMATTED_HIDDEN_HTML, ELEMENT_TYPE_FORMATTED_HTML, ELEMENT_TYPE_ORDERED_LIST, ELEMENT_TYPE_TEXT_BOX, ELEMENT_TYPE_UNORDERED_LIST, LOGGER, PARAMETER_TYPE_CHECK_BOX, PARAMETER_TYPE_MULTI_SELECT, PARAMETER_TYPE_RADIO, PARAMETER_TYPE_SINGLE_SELECT| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCascadableParameter(String name,
String description,
Script script,
String referencedParameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
doUpdate(String parameters)
Exposed to the UI.
|
List<Object> |
getChoicesForUI()
Evaluates a script and returns its result as a Map.
|
Map<Object,Object> |
getParameters()
Gets the current parameters, be it before or after other referenced parameters
triggered an update.
|
String |
getReferencedParameters()
Gets the list of referenced parameters.
|
String[] |
getReferencedParametersAsArray() |
getChoices, getChoices, getChoicesAsString, getChoicesAsString, getDefaultParameterValue, getScript, getVisibleItemCountall, createValue, createValue, getChoiceType, getDescriptor, getRandomNamecopyWithDefaultValue, getDescription, getFormattedDescription, getName, getTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChoicespublic String getReferencedParameters()
CascadableParametergetReferencedParameters in interface CascadableParameter<Map<Object,Object>>public Map<Object,Object> getParameters()
AbstractScriptableParametergetParameters in class AbstractScriptableParameter@JavaScriptMethod public void doUpdate(String parameters)
CascadableParameterdoUpdate in interface CascadableParameter<Map<Object,Object>>parameters - Comma separated list of parameters@JavaScriptMethod public List<Object> getChoicesForUI()
CascadableParametergetChoicesForUI in interface CascadableParameter<Map<Object,Object>>public String[] getReferencedParametersAsArray()
Copyright © 2004-2015. All Rights Reserved.