@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface Processor
A class with this annotation as a class level annotation can act as a processor in the integration flows defined by
the project-x runtime. All user configurable parameters should be annotated with the Parameter
annotation at
the filed level, while all processing elements that are defined to be used for next level invocation should be
annotated with the OutPort
annotation at the field declaration level.
Processors defined in the class path with this annotation are presented in the design view of the flow designer tool to be dragged and dropped to use them in the integration flows with connections coming in from either one of the connectors or an another processing element to build a channel of processing units
Modifier and Type | Required Element and Description |
---|---|
String |
description
Description of the processing element to be used for rendering purposes
|
String |
displayName
The name of the annotated processing element to be used in the user interface
|
Modifier and Type | Optional Element and Description |
---|---|
String[] |
customTypes
Custom types of the annotated processing element, which will be used as a categorization of the processing
elements
|
String |
documentationURL
The location of the documentation page for the particular Processing Element
|
String |
iconFileName
The name of the icon file to be used for the rendering purposes in the designer pallet
|
boolean |
requireConfiguration
If true, when processing element is added, the property pane will be visible automatically
and if false, property pane will not be visible when element is added
|
ScopeType |
scope
Scope of the processing element which defines the places where an element annotated with this element can be
placed in the design pallet
|
ProcessorType[] |
type
Types of the annotated processing element, which will be used as a categorization of the processing elements
|
public abstract String displayName
public abstract String description
public abstract ProcessorType[] type
Following strategy will be used when categorizing the processing element based on the value of this parameter and
customTypes()
parameter.
customTypes()
parameter is not,
then the processing element will be categorized into all the ProcessorType
values specified as the value
of this parameter.
ProcessorType.CUSTOM
and the customTypes()
parameter is
defined,
the processing element will be categorized into all the types specified as the value of customTypes()
parameter.
ProcessorType.CUSTOM
and the
customTypes()
parameter is also defined,
the processing element will be categorized into all ProcessorType
values specified as the value of this
parameter as well as into the all the types specified as the value of customTypes()
parameter.
public abstract String[] customTypes
For details of the categorization strategy, see the documentation of type()
parameter.
public abstract String iconFileName
public abstract ScopeType scope
public abstract boolean requireConfiguration
public abstract String documentationURL
Copyright © 2016–2019 AdroitLogic. All rights reserved.