Package com.fluxtion.builder.annotation
Annotation Type SepBuilder
@Target(METHOD)
@Retention(CLASS)
@Documented
public @interface SepBuilder
Mark a method as a SEP builder. The method must accept one argument of type
SEPConfig. The receiving method will use the provided
SEPConfig instance to define the static event processor that Fluxtion
will generate.
Individual methods or whole classes can be disabled by adding the
Disabled
annotation to either a method or class respectively.
- 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.
-
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:
- "src/main/java"
-
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:
- Default:
- true
-
initialise
boolean initialisecall the lifecycle initialise method on the generated SEP- Returns:
- Default:
- true
-