Class CustomFunction
- Direct Known Subclasses:
AsyncCustomFunction
public abstract class CustomFunction
extends Object
Represents the base type for custom function.
-
-
Constructor Summary
Constructors
Initializes an instance of a custom function.
Initializes an instance of a custom function.
Initializes an instance of a custom function.
-
Method Summary
boolean
Gets whether to allow custom formula use cache.
void
Sets whether to allow custom formula use cache.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Details
-
CustomFunction
Initializes an instance of a custom function.
- Parameters:
name
- The name of the custom function.
result
- Specifies the return type for the custom function.
-
CustomFunction
Initializes an instance of a custom function.
- Parameters:
name
- The name of the custom function.
result
- Specifies the return type for the custom function.
parameters
- Specifies the parmeters for the custom function.
-
CustomFunction
Initializes an instance of a custom function.
- Parameters:
name
- The name of the custom function.
description
- The description of the custom function.
result
- Specifies the return type for the custom function.
parameters
- Specifies the parmeters for the custom function.
-
Method Details
-
getIsVolatile
public boolean getIsVolatile()
Gets whether to allow custom formula use cache.
- Returns:
true
if this node is marked as volatile, false
otherwise.
-
setIsVolatile
public void setIsVolatile(boolean aVolatile)
Sets whether to allow custom formula use cache.
- Parameters:
aVolatile
- true
to mark this node as volatile, false
otherwise.
-
evaluate
Calculate the function.
- Parameters:
arguments
- the value collection of the arguments
context
- the context of the calculation.
- Returns:
- the result of the function.