Package com.fluxtion.builder.annotation
Annotation Type SepInstance
@Target(TYPE)
@Retention(CLASS)
@Documented
public @interface SepInstance
Mark a class as an instance encapsulated by a SEP, this can be used in place
of a builder method when the SEP contains only one imperatively added node.
The encapsulated instance is scoped as a public final declared variable with
the name "processor"
.
Generation for this classes can be disabled by adding
the Disabled annotation the class.
- Author:
- V12 Technology Ltd.
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringnameThe name of the generatedEventHandlerjava.lang.StringpackageNamethe name of the package the generated artifacts will be written to. -
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleancleanOutputDirUSE WITH CAREbooleaninitialisecall the lifecycle initialise method on the generated SEPjava.lang.StringoutputDirOutput directory for Fluxtion generated source artifacts.java.lang.StringresourceDirOutput directory for generated meta-data describing the static event processor typical.booleansupportDirtyFilteringConfigures generated code to support dirty filtering
-
Element Details
-
packageName
java.lang.String packageNamethe name of the package the generated artifacts will be written to.- Returns:
- package name
-
name
java.lang.String nameThe name of the generatedEventHandler- Returns:
- event handler name
-
-
-
outputDir
java.lang.String outputDirOutput directory for Fluxtion generated source artifacts. The default directory is supplied in the generation process, setting this value overrides the default. Using maven the typical values are:- target/generated-sources/fluxtion
- target/generated-test-sources/fluxtion
- src/main/java
- Returns:
- overridden output directory
- Default:
- ""
-
resourceDir
java.lang.String resourceDirOutput directory for generated meta-data describing the static event processor typical. The default directory is supplied in the generation process, setting this value overrides the default. Using maven typical values are:- src/main/resources
- src/test/resources
- Returns:
- overridden resource directory
- Default:
- ""
-
cleanOutputDir
boolean cleanOutputDirUSE WITH CARECleans output directory of all files before generating artefacts. if two annotations are configured in the same build with the same output directory, setting this option to true will have unpredictable results.
- Returns:
- flag to control cleaning of output directory
- Default:
- false
-
supportDirtyFiltering
boolean supportDirtyFilteringConfigures generated code to support dirty filtering- Returns:
- flag to control generation conditional branching
- Default:
- true
-
initialise
boolean initialisecall the lifecycle initialise method on the generated SEP- Returns:
- Default:
- true
-