public class ActionParameter extends Object implements IActionParameter
PROMPT_ALLOWED, PROMPT_NEEDED, PROMPT_NEVER, PROMPT_PENDING, TYPE_CONTENT, TYPE_DATE, TYPE_DECIMAL, TYPE_INTEGER, TYPE_LIST, TYPE_OBJECT, TYPE_RESULT_SET, TYPE_STRING
Constructor and Description |
---|
ActionParameter(String name,
String type,
Object value,
List variables,
Object defaultValue) |
Modifier and Type | Method and Description |
---|---|
void |
addSaveLocation(String location) |
void |
dispose() |
String |
getName() |
int |
getPromptStatus() |
int |
getPromptType() |
List |
getSaveLocations() |
String |
getSelectionDisplayName() |
String |
getSelectionNameForValue(String val) |
Map |
getSelectionNameMap() |
List |
getSelectionValues() |
String |
getStringValue() |
String |
getType() |
Object |
getValue() |
List |
getValueAsList() |
org.pentaho.commons.connection.IPentahoResultSet |
getValueAsResultSet() |
List |
getVariables() |
boolean |
hasDefaultValue() |
boolean |
hasSelections() |
boolean |
hasValue() |
boolean |
isDefaultValue() |
boolean |
isNull() |
boolean |
isOutputParameter() |
void |
setOutputParameter(boolean isOutputParameter) |
void |
setParamSelections(List selValues,
Map selNames,
String displayname)
Deprecated.
|
boolean |
setPromptStatus(int status) |
void |
setValue(Object value) |
public List getSaveLocations()
public void addSaveLocation(String location)
public List getVariables()
getVariables
in interface IActionParameter
public String getName()
getName
in interface IActionParameter
public String getType()
getType
in interface IActionParameter
public String getStringValue()
getStringValue
in interface IActionParameter
public Object getValue()
getValue
in interface IActionParameter
public List getValueAsList()
getValueAsList
in interface IActionParameter
public org.pentaho.commons.connection.IPentahoResultSet getValueAsResultSet()
getValueAsResultSet
in interface IActionParameter
public void setValue(Object value)
setValue
in interface IActionParameter
public boolean hasDefaultValue()
hasDefaultValue
in interface IActionParameter
public boolean hasValue()
hasValue
in interface IActionParameter
public boolean isDefaultValue()
isDefaultValue
in interface IActionParameter
public boolean isNull()
isNull
in interface IActionParameter
public void dispose()
dispose
in interface IActionParameter
public int getPromptType()
public boolean hasSelections()
hasSelections
in interface IActionParameter
public String getSelectionDisplayName()
getSelectionDisplayName
in interface IActionParameter
public String getSelectionNameForValue(String val)
getSelectionNameForValue
in interface IActionParameter
public List getSelectionValues()
getSelectionValues
in interface IActionParameter
@Deprecated public void setParamSelections(List selValues, Map selNames, String displayname)
setParamSelections
in interface IActionParameter
public Map getSelectionNameMap()
getSelectionNameMap
in interface IActionParameter
public int getPromptStatus()
getPromptStatus
in interface IActionParameter
public boolean setPromptStatus(int status)
setPromptStatus
in interface IActionParameter
public boolean isOutputParameter()
isOutputParameter
in interface IActionParameter
public void setOutputParameter(boolean isOutputParameter)
Copyright © 2017 Hitachi Vantara. All rights reserved.