Enum SystemSetup.Type

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SystemSetup.Type>
    Enclosing class:
    SystemSetup

    public static enum SystemSetup.Type
    extends java.lang.Enum<SystemSetup.Type>
    Describes, at which point the method should be called. During the essential data creation, during the project data creation or in both.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ALL
      The method is called in essential and project data creation.
      ESSENTIAL
      The method is called during the essential data creation.
      NOTDEFINED
      The method uses the setting of the class annotation definition.
      PROJECT
      The method is called during the project data creation.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isAll()  
      boolean isEssential()  
      boolean isProject()  
      static SystemSetup.Type valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SystemSetup.Type[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • ESSENTIAL

        public static final SystemSetup.Type ESSENTIAL
        The method is called during the essential data creation.
      • PROJECT

        public static final SystemSetup.Type PROJECT
        The method is called during the project data creation.
      • ALL

        public static final SystemSetup.Type ALL
        The method is called in essential and project data creation.
      • NOTDEFINED

        public static final SystemSetup.Type NOTDEFINED
        The method uses the setting of the class annotation definition. If also the class annotation is not set ALL is asumed.
    • Method Detail

      • values

        public static SystemSetup.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SystemSetup.Type c : SystemSetup.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SystemSetup.Type valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • isProject

        public boolean isProject()
        Returns:
        true if Type is PROJECT or ALL.
      • isEssential

        public boolean isEssential()
        Returns:
        true if Type is ESSENTIAL or ALL.
      • isAll

        public boolean isAll()
        Returns:
        true if Type is ALL.