Enum SysIntf.IcalResultType
- java.lang.Object
-
- java.lang.Enum<SysIntf.IcalResultType>
-
- org.bedework.caldav.server.sysinterface.SysIntf.IcalResultType
-
- All Implemented Interfaces:
Serializable,Comparable<SysIntf.IcalResultType>
- Enclosing interface:
- SysIntf
public static enum SysIntf.IcalResultType extends Enum<SysIntf.IcalResultType>
Expected result type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OneComponentExpect one (non-timezone) component onlyTimeZoneExpect one timezone only
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SysIntf.IcalResultTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SysIntf.IcalResultType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OneComponent
public static final SysIntf.IcalResultType OneComponent
Expect one (non-timezone) component only
-
TimeZone
public static final SysIntf.IcalResultType TimeZone
Expect one timezone only
-
-
Method Detail
-
values
public static SysIntf.IcalResultType[] 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 (SysIntf.IcalResultType c : SysIntf.IcalResultType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SysIntf.IcalResultType 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
-
-