Class EoulsanAnnotationUtils


  • public class EoulsanAnnotationUtils
    extends Object
    This class contains annotation utilities.
    Since:
    2.0
    Author:
    Laurent Jourdren
    • 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