Enum IcsReader.IcsEvents.Status
- java.lang.Object
-
- java.lang.Enum<IcsReader.IcsEvents.Status>
-
- org.ametys.plugins.calendar.icsreader.IcsReader.IcsEvents.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<IcsReader.IcsEvents.Status>
- Enclosing class:
- IcsReader.IcsEvents
public static enum IcsReader.IcsEvents.Status extends Enum<IcsReader.IcsEvents.Status>
The status of the ics
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IcsReader.IcsEvents.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static IcsReader.IcsEvents.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OVERSIZED
public static final IcsReader.IcsEvents.Status OVERSIZED
If the ics exceeds the authorized max size
-
ERROR
public static final IcsReader.IcsEvents.Status ERROR
If there is some erros reading ics url
-
OK
public static final IcsReader.IcsEvents.Status OK
If the ics is OK
-
-
Method Detail
-
values
public static IcsReader.IcsEvents.Status[] 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 (IcsReader.IcsEvents.Status c : IcsReader.IcsEvents.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IcsReader.IcsEvents.Status 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 nameNullPointerException
- if the argument is null
-
-