Enum ECause

    • Enum Constant Detail

      • UNKNOWN_CAUSE

        public static final ECause UNKNOWN_CAUSE
      • OTHER_CAUSE

        public static final ECause OTHER_CAUSE
      • TECHNICAL_PROBLEM

        public static final ECause TECHNICAL_PROBLEM
      • STRIKE

        public static final ECause STRIKE
      • DEMONSTRATION

        public static final ECause DEMONSTRATION
      • ACCIDENT

        public static final ECause ACCIDENT
      • HOLIDAY

        public static final ECause HOLIDAY
      • WEATHER

        public static final ECause WEATHER
      • MAINTENANCE

        public static final ECause MAINTENANCE
      • CONSTRUCTION

        public static final ECause CONSTRUCTION
      • POLICE_ACTIVITY

        public static final ECause POLICE_ACTIVITY
      • MEDICAL_EMERGENCY

        public static final ECause MEDICAL_EMERGENCY
    • Method Detail

      • values

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

        public static ECause valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null