Class EoulsanAnnotationUtils
java.lang.Object
fr.ens.biologie.genomique.eoulsan.annotations.EoulsanAnnotationUtils
This class contains annotation utilities.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisGenerator(Module module) Test if a module contain the @Generator annotation.static booleanTest if a module contain the @NoLog annotation.static booleanisNoOutputDirectory(Module module) Test if a module contain the @NoOutputDirectory annotation.static booleanisRequiresAllPreviousSteps(Module module) Test if a module contain the @RequiresPreviousStep annotation.static booleanisRequiresPreviousStep(Module module) Test if a module contain the @RequiresPreviousStep annotation.static booleanisReuseStepInstance(Module module) Test if a module contain the @ReuseStepInstance annotation.static booleanisTerminal(Module module) Test if a step contain the @Terminal annotation.
-
Method Details
-
isGenerator
Test if a module contain the @Generator annotation.- Parameters:
module- the module to test- Returns:
- true if the module contains the annotation
-
isReuseStepInstance
Test if a module contain the @ReuseStepInstance annotation.- Parameters:
module- the module to test- Returns:
- true if the module contains the annotation
-
isTerminal
Test if a step contain the @Terminal annotation.- Parameters:
module- the module to test- Returns:
- true if the module contains the annotation
-
isNoLog
Test if a module contain the @NoLog annotation.- Parameters:
module- the module to test- Returns:
- true if the module contains the annotation
-
isRequiresPreviousStep
Test if a module contain the @RequiresPreviousStep annotation.- Parameters:
module- the module to test- Returns:
- true if the module contains the annotation
-
isRequiresAllPreviousSteps
Test if a module contain the @RequiresPreviousStep annotation.- Parameters:
module- the module to test- Returns:
- true if the module contains the annotation
-
isNoOutputDirectory
Test if a module contain the @NoOutputDirectory annotation.- Parameters:
module- the module to test- Returns:
- true if the module contains the annotation
-