public interface FunctionDefinition
Instead of implementing this interface directly, we recommend creating instances of this interface with the builder API.
Modifier and Type | Method and Description |
---|---|
AssetType |
getAssetType()
Returns the asset type.
|
String |
getCode()
Returns the unique code.
|
com.onwbp.base.text.UserMessage |
getDescription()
Returns the description.
|
FunctionExecution |
getExecution()
Returns the function execution.
|
default List<InputDefinition> |
getInputDefinitions()
Returns the list of input definitions.
|
com.onwbp.base.text.UserMessage |
getLabel()
Returns the label.
|
List<OutputDefinition> |
getOutputDefinitions()
Returns the list of output definitions.
|
default FunctionValidation |
getValidation()
Returns the function validation.
|
default boolean |
isAlertSupported()
Returns
true if alert is supported for this function. |
default boolean |
isFilterSupported()
Returns
true if filter is supported for this function. |
default boolean |
isLinkedRecordSupported()
Returns
true if linked record is supported for this function. |
static FunctionDefinitionOnDatasetBuilder |
onDataset(String code)
Returns the builder for a function at the dataset level.
|
static FunctionDefinitionOnDataspaceBuilder |
onDataspace(String code)
Returns the builder for a function at the dataspace level.
|
static FunctionDefinitionOnFieldBuilder |
onField(String code)
Returns the builder for a function at the field level.
|
static FunctionDefinitionOnTableBuilder |
onTable(String code)
Returns the builder for a function at the table level.
|
static FunctionDefinitionOnWorkflowBuilder |
onWorkflow(String code)
Returns the builder for a function at the workflow level.
|
static FunctionDefinitionOnDataspaceBuilder onDataspace(String code)
code
- The unique code representing the function.static FunctionDefinitionOnDatasetBuilder onDataset(String code)
code
- The unique code representing the function.static FunctionDefinitionOnTableBuilder onTable(String code)
code
- The unique code representing the function.static FunctionDefinitionOnFieldBuilder onField(String code)
code
- The unique code representing the function.static FunctionDefinitionOnWorkflowBuilder onWorkflow(String code)
code
- The unique code representing the function.String getCode()
Must not be null
or empty.
com.onwbp.base.text.UserMessage getLabel()
com.onwbp.base.text.UserMessage getDescription()
AssetType getAssetType()
Must not be null
.
default List<InputDefinition> getInputDefinitions()
Returns an empty list by default.
List<OutputDefinition> getOutputDefinitions()
Must not be empty.
default boolean isFilterSupported()
true
if filter is supported for this function.
Returns false
by default.
default boolean isLinkedRecordSupported()
true
if linked record is supported for this function.
Returns false
by default.
default boolean isAlertSupported()
true
if alert is supported for this function.
Returns true
by default.
default FunctionValidation getValidation()
Returns null
by default.
FunctionExecution getExecution()
Must not be null
.