Enum TestItemTypeEnum

    • Method Detail

      • values

        public static TestItemTypeEnum[] 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 (TestItemTypeEnum c : TestItemTypeEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TestItemTypeEnum 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
      • fromValue

        public static java.util.Optional<TestItemTypeEnum> fromValue​(java.lang.String value)
      • higherThan

        public boolean higherThan​(TestItemTypeEnum type)
        Is level of current item higher than level of specified
        Parameters:
        type - Item to compare
        Returns:
      • lowerThan

        public boolean lowerThan​(TestItemTypeEnum type)
        Is level of current item lower than level of specified
        Parameters:
        type - Item to compare
        Returns:
      • awareStatistics

        public boolean awareStatistics()
      • getLevel

        public int getLevel()