Class EoulsanAnnotationUtils
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.annotations.EoulsanAnnotationUtils
-
public class EoulsanAnnotationUtils extends Object
This class contains annotation utilities.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isGenerator(Module module)
Test if a module contain the @Generator annotation.static boolean
isNoLog(Module module)
Test if a module contain the @NoLog annotation.static boolean
isNoOutputDirectory(Module module)
Test if a module contain the @NoOutputDirectory annotation.static boolean
isRequiresAllPreviousSteps(Module module)
Test if a module contain the @RequiresPreviousStep annotation.static boolean
isRequiresPreviousStep(Module module)
Test if a module contain the @RequiresPreviousStep annotation.static boolean
isReuseStepInstance(Module module)
Test if a module contain the @ReuseStepInstance annotation.static boolean
isTerminal(Module module)
Test if a step contain the @Terminal annotation.
-
-
-
Method Detail
-
isGenerator
public static boolean isGenerator(Module module)
Test if a module contain the @Generator annotation.- Parameters:
module
- the module to test- Returns:
- true if the module contains the annotation
-
isReuseStepInstance
public static boolean isReuseStepInstance(Module module)
Test if a module contain the @ReuseStepInstance annotation.- Parameters:
module
- the module to test- Returns:
- true if the module contains the annotation
-
isTerminal
public static boolean isTerminal(Module module)
Test if a step contain the @Terminal annotation.- Parameters:
module
- the module to test- Returns:
- true if the module contains the annotation
-
isNoLog
public static boolean isNoLog(Module module)
Test if a module contain the @NoLog annotation.- Parameters:
module
- the module to test- Returns:
- true if the module contains the annotation
-
isRequiresPreviousStep
public static boolean isRequiresPreviousStep(Module module)
Test if a module contain the @RequiresPreviousStep annotation.- Parameters:
module
- the module to test- Returns:
- true if the module contains the annotation
-
isRequiresAllPreviousSteps
public static boolean isRequiresAllPreviousSteps(Module module)
Test if a module contain the @RequiresPreviousStep annotation.- Parameters:
module
- the module to test- Returns:
- true if the module contains the annotation
-
isNoOutputDirectory
public static boolean isNoOutputDirectory(Module module)
Test if a module contain the @NoOutputDirectory annotation.- Parameters:
module
- the module to test- Returns:
- true if the module contains the annotation
-
-