Package eu.clarin.sru.client.fcs
Enum ClarinFCSEndpointDescription.DataView.DeliveryPolicy
- java.lang.Object
-
- java.lang.Enum<ClarinFCSEndpointDescription.DataView.DeliveryPolicy>
-
- eu.clarin.sru.client.fcs.ClarinFCSEndpointDescription.DataView.DeliveryPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<ClarinFCSEndpointDescription.DataView.DeliveryPolicy>
- Enclosing class:
- ClarinFCSEndpointDescription.DataView
public static enum ClarinFCSEndpointDescription.DataView.DeliveryPolicy extends Enum<ClarinFCSEndpointDescription.DataView.DeliveryPolicy>
Enumeration to indicate the delivery policy of a data view.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NEED_TO_REQUEST
A client must explicitly request the endpoint.SEND_BY_DEFAULT
The data view is sent automatically by the endpoint.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClarinFCSEndpointDescription.DataView.DeliveryPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ClarinFCSEndpointDescription.DataView.DeliveryPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEND_BY_DEFAULT
public static final ClarinFCSEndpointDescription.DataView.DeliveryPolicy SEND_BY_DEFAULT
The data view is sent automatically by the endpoint.
-
NEED_TO_REQUEST
public static final ClarinFCSEndpointDescription.DataView.DeliveryPolicy NEED_TO_REQUEST
A client must explicitly request the endpoint.
-
-
Method Detail
-
values
public static ClarinFCSEndpointDescription.DataView.DeliveryPolicy[] 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 (ClarinFCSEndpointDescription.DataView.DeliveryPolicy c : ClarinFCSEndpointDescription.DataView.DeliveryPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClarinFCSEndpointDescription.DataView.DeliveryPolicy 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
-
-