Enum EnquirySelector.AccessMode
- java.lang.Object
-
- java.lang.Enum<EnquirySelector.AccessMode>
-
- pl.edu.icm.unity.engine.api.enquiry.EnquirySelector.AccessMode
-
- All Implemented Interfaces:
Serializable
,Comparable<EnquirySelector.AccessMode>
- Enclosing class:
- EnquirySelector
public static enum EnquirySelector.AccessMode extends Enum<EnquirySelector.AccessMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
NOT_BY_INVITATION_ONLY
-
Field Summary
Fields Modifier and Type Field Description Predicate<EnquiryForm>
filter
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EnquirySelector.AccessMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static EnquirySelector.AccessMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_BY_INVITATION_ONLY
public static final EnquirySelector.AccessMode NOT_BY_INVITATION_ONLY
-
ANY
public static final EnquirySelector.AccessMode ANY
-
-
Field Detail
-
filter
public final Predicate<EnquiryForm> filter
-
-
Method Detail
-
values
public static EnquirySelector.AccessMode[] 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 (EnquirySelector.AccessMode c : EnquirySelector.AccessMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnquirySelector.AccessMode 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
-
-