@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 |
displayName
The name of the annotated processing element to be used in the user interface
|
ProcessorType |
type
Type of the annotated processing element, which will be used as a categorization of the processing elements
|
Modifier and Type | Optional Element and Description |
---|---|
String |
description
Description of the processing element to be used for rendering purposes
|
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
|
public abstract ProcessorType type
public abstract String displayName
public abstract String iconFileName
public abstract ScopeType scope
public abstract String description
public abstract boolean requireConfiguration
Copyright © 2016–2019 AdroitLogic. All rights reserved.