public class Parameter
extends java.lang.Object
| Constructor and Description |
|---|
Parameter(FunctionValueType valueType)
Initializes an instance of a parameter.
|
Parameter(FunctionValueType valueType,
boolean acceptReference)
Initializes an instance of a parameter.
|
Parameter(FunctionValueType valueType,
boolean acceptReference,
boolean acceptCustomObjects)
Initializes an instance of a parameter.
|
Parameter(FunctionValueType valueType,
java.lang.Object defaultValue)
Initializes an instance of a parameter.
|
Parameter(FunctionValueType valueType,
java.lang.Object defaultValue,
boolean acceptReference)
Initializes an instance of a parameter.
|
Parameter(java.lang.String name,
java.lang.String description,
FunctionValueType valueType,
java.lang.Object defaultValue)
Initializes an instance of a parameter.
|
Parameter(java.lang.String name,
java.lang.String description,
FunctionValueType valueType,
java.lang.Object defaultValue,
boolean acceptReference)
Initializes an instance of a parameter.
|
Parameter(java.lang.String name,
java.lang.String description,
FunctionValueType valueType,
java.lang.Object defaultValue,
boolean acceptReference,
boolean acceptCustomObjects)
Initializes an instance of a parameter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAcceptCustomObjects()
Accepts custom objects if value type is
FunctionValueType.Object. |
boolean |
getAcceptReference()
Gets the parameter can or can't accept reference.
|
java.lang.Object |
getDefaultValue()
Gets the default value of the parameter;
|
java.lang.String |
getDescription()
Gets the description of the parameter;
|
java.lang.String |
getName()
Gets the name of the parameter;
|
FunctionValueType |
getValueType()
Gets the value type of the parameter;
|
public Parameter(FunctionValueType valueType)
valueType - The value type of the parameter.public Parameter(FunctionValueType valueType, boolean acceptReference)
valueType - The value type of the parameter.acceptReference - If this parameter can accept reference.public Parameter(FunctionValueType valueType, java.lang.Object defaultValue)
valueType - The value type of the parameter.defaultValue - The default value of the parameter.public Parameter(FunctionValueType valueType, java.lang.Object defaultValue, boolean acceptReference)
valueType - The value type of the parameter.defaultValue - The default value of the parameter.acceptReference - If this parameter can accept reference.public Parameter(java.lang.String name,
java.lang.String description,
FunctionValueType valueType,
java.lang.Object defaultValue)
name - The name of the parameter.description - The description of the parameter.valueType - The value type of the parameter.defaultValue - The default value of the parameter.public Parameter(java.lang.String name,
java.lang.String description,
FunctionValueType valueType,
java.lang.Object defaultValue,
boolean acceptReference)
name - description - The description of the parameter.valueType - The value type of the parameter.defaultValue - The default value of the parameter.acceptReference - If this parameter can accept reference.public Parameter(FunctionValueType valueType, boolean acceptReference, boolean acceptCustomObjects)
valueType - The value type of the parameter.acceptReference - If this parameter can accept reference.acceptCustomObjects - Accepts custom objects if value type is FunctionValueType.Object.public Parameter(java.lang.String name,
java.lang.String description,
FunctionValueType valueType,
java.lang.Object defaultValue,
boolean acceptReference,
boolean acceptCustomObjects)
name - The name of the function.description - The description of the parameter.valueType - The value type of the parameter.defaultValue - The default value of the parameter.acceptReference - If this parameter can accept reference.acceptCustomObjects - Accepts custom objects if value type is FunctionValueType.Object.public final java.lang.String getName()
public final java.lang.String getDescription()
public final FunctionValueType getValueType()
public final java.lang.Object getDefaultValue()
public final boolean getAcceptReference()
public final boolean getAcceptCustomObjects()
FunctionValueType.Object.