public class FunctionRequest
extends java.lang.Object
implements java.io.Serializable
This class encapsulates a request by a user for a function to be evaluated.
Modifier and Type | Field and Description |
---|---|
static java.lang.Long |
FROM_DESIGN |
static java.lang.Long |
FROM_EXECUTION |
Constructor and Description |
---|
FunctionRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getExpressionId()
Gets the unique id of expression needed so asynchronous calls can be made
|
java.lang.String |
getFunction()
Gets the function name will be lower cased, as Interface is case insensitive
|
NamedTypedValue[] |
getFunctionParameters()
Gets parameters that will be arguments to Java function
|
java.lang.Long |
getOriginServerType()
Gets the type of server that the function request came from.
|
void |
setExpressionId(java.lang.Long id_)
Sets the unique id of expression needed so asynchronous calls can be made
|
void |
setFunction(java.lang.String function_)
Sets the function name will be lower cased, as Interface is case insensitive
|
void |
setFunctionParameters(NamedTypedValue[] parameters_)
Sets parameters that will be arguments to Java function
|
void |
setOriginServerType(java.lang.Long originServerType_)
Sets the type of server that the function request came from.
|
static java.lang.String |
toFunctionString(java.lang.String _function,
NamedTypedValue[] _functionParameters) |
java.lang.String |
toString()
Returns the String representation of the Function Request object.
|
public static final java.lang.Long FROM_EXECUTION
public static final java.lang.Long FROM_DESIGN
public java.lang.Long getExpressionId()
public void setExpressionId(java.lang.Long id_)
id_
- Unique id of expressionpublic java.lang.String getFunction()
public void setFunction(java.lang.String function_)
function_
- Function namepublic NamedTypedValue[] getFunctionParameters()
public void setFunctionParameters(NamedTypedValue[] parameters_)
parameters_
- function parameters with type and valuepublic java.lang.Long getOriginServerType()
public void setOriginServerType(java.lang.Long originServerType_)
originServerType_
- type of server that request came from.public static java.lang.String toFunctionString(java.lang.String _function, NamedTypedValue[] _functionParameters)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.