Enum FileRulesErrorCode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<FileRulesErrorCode>

    public enum FileRulesErrorCode
    extends java.lang.Enum<FileRulesErrorCode>
    FileRules Import ErrorCode enumeration
    • Enum Constant Detail

      • STP_IMPORT_RULES_RULEID_DUPLICATION

        public static final FileRulesErrorCode STP_IMPORT_RULES_RULEID_DUPLICATION
        Rule id duplication
      • STP_IMPORT_RULES_NOT_CSV_FORMAT

        public static final FileRulesErrorCode STP_IMPORT_RULES_NOT_CSV_FORMAT
        File not in csv format
      • STP_IMPORT_RULES_WRONG_RULETYPE_UNKNOW

        public static final FileRulesErrorCode STP_IMPORT_RULES_WRONG_RULETYPE_UNKNOW
        Unknown Ruletype
      • STP_IMPORT_RULES_WRONG_RULEMEASUREMENT

        public static final FileRulesErrorCode STP_IMPORT_RULES_WRONG_RULEMEASUREMENT
        Wrong rule measurement
      • STP_IMPORT_RULES_WRONG_RULEDURATION

        public static final FileRulesErrorCode STP_IMPORT_RULES_WRONG_RULEDURATION
        Wrong rule duration
      • STP_IMPORT_RULES_WRONG_TOTALDURATION

        public static final FileRulesErrorCode STP_IMPORT_RULES_WRONG_TOTALDURATION
        Incorrect total duration
      • STP_IMPORT_RULES_DELETE_USED_RULES

        public static final FileRulesErrorCode STP_IMPORT_RULES_DELETE_USED_RULES
        Used rule could not be deleted
      • STP_IMPORT_RULES_UPDATED_RULES

        public static final FileRulesErrorCode STP_IMPORT_RULES_UPDATED_RULES
        Updated rules
      • STP_IMPORT_RULES_MISSING_INFORMATION

        public static final FileRulesErrorCode STP_IMPORT_RULES_MISSING_INFORMATION
        Missing information
      • STP_IMPORT_RULES_RULEDURATION_EXCEED

        public static final FileRulesErrorCode STP_IMPORT_RULES_RULEDURATION_EXCEED
        RUle duration exceed limit
    • Method Detail

      • values

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

        public static FileRulesErrorCode 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