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.String |
getDomain()
Gets the domain that will be used to look up the function.
|
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
|
java.lang.String |
getFunctionNameWithDomain()
Gets the function name together with the domain.
|
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 |
setDomain(java.lang.String domain)
Sets the domain that will be used to look up the function.
|
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) |
static java.lang.String |
toFunctionString(java.lang.String domain,
java.lang.String _function,
NamedTypedValue[] _functionParameters)
Creates an Appian expression for the specified function and parameters
|
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 java.lang.String getDomain()
public void setDomain(java.lang.String domain)
domain
- String domain@Transient public java.lang.String getFunctionNameWithDomain()
public 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 static java.lang.String toFunctionString(java.lang.String domain, java.lang.String _function, NamedTypedValue[] _functionParameters)
domain
- the domain of the function_function
- the name of the function_functionParameters
- - An array of function parameterspublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.