@Target(value={FIELD,PARAMETER}) @Retention(value=RUNTIME) @Documented @Inherited public @interface Parameter
Flow designer user interface rendering will use this annotation to present the user interface controls to provide
the input for the configured parameters/fields. This annotation can be used in classes which represent processors
where they are annotated with Processor
annotation of connectors where they are either annotated with
IngressConnector
or EgressConnector
annotations or connector operations where they are annotated
with ConnectorOperation
annotation, to provide the information on its input fields
Modifier and Type | Required Element and Description |
---|---|
String |
displayName
The display name to be used for the input control label in the flow designer
|
Modifier and Type | Optional Element and Description |
---|---|
String |
category
Category to which this parameter belongs to for the belonging processor, connector or the connector operation.
|
String |
defaultValue
The default value assigned for this parameter if it is not provided by the user.
|
String |
description
Description of the parameter to be used for rendering of the input controls.
|
InputType |
inputType
Type of the form input to be used for the input controls
|
boolean |
isOptional
Specifies whether this parameter is optional or mandatory to the operations of the processor, connector or the
connector operation that this parameter is associated with
|
MetaType |
metaType
The meta-type of the parameter which is used to identify certain meta-information related to the configuration
parameters of the processors, connectors or connector operations.
|
int |
order
Order in which the parameters annotated with this annotation are rendered in the input form of the processor,
connectors or connector operations
|
String |
placeHolder
The place holder to be used in the input controls if applicable.
|
String[] |
possibleValues
Possible values that can be used for the parameter, which is generally used in conjunction with the
inputType() specified as InputType.SELECT to specify the values rendered in the select control |
String |
propertyName
Name of the property key to be used if the value of the parameter should be externalized.
|
String |
validator
Input validator as a regular expression for this parameter input validation.
|
public abstract String displayName
public abstract int order
public abstract InputType inputType
public abstract String description
public abstract String placeHolder
public abstract String[] possibleValues
inputType()
specified as InputType.SELECT
to specify the values rendered in the select controlpublic abstract String validator
public abstract boolean isOptional
public abstract String category
public abstract String defaultValue
placeHolder()
would not be useful.public abstract MetaType metaType
MetaType.NONE
public abstract String propertyName
Copyright © 2016–2019 AdroitLogic. All rights reserved.