
Enum SubscriptionMatchingStrategy
- java.lang.Object
-
- java.lang.Enum<SubscriptionMatchingStrategy>
-
- ca.uhn.fhir.jpa.subscription.match.matcher.matching.SubscriptionMatchingStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<SubscriptionMatchingStrategy>
public enum SubscriptionMatchingStrategy extends Enum<SubscriptionMatchingStrategy>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SubscriptionMatchingStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static SubscriptionMatchingStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_MEMORY
public static final SubscriptionMatchingStrategy IN_MEMORY
Resources can be matched against this subcription in-memory without needing to make a call out to a FHIR Repository
-
DATABASE
public static final SubscriptionMatchingStrategy DATABASE
Resources cannot be matched against this subscription in-memory. We need to make a call to a FHIR Repository to determine a match
-
-
Method Detail
-
values
public static SubscriptionMatchingStrategy[] 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 (SubscriptionMatchingStrategy c : SubscriptionMatchingStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubscriptionMatchingStrategy 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
-
-