Package com.apicatalog.jsonld
Enum JsonLdOptions.ProcessingPolicy
- java.lang.Object
-
- java.lang.Enum<JsonLdOptions.ProcessingPolicy>
-
- com.apicatalog.jsonld.JsonLdOptions.ProcessingPolicy
-
- All Implemented Interfaces:
Serializable,Comparable<JsonLdOptions.ProcessingPolicy>
- Enclosing class:
- JsonLdOptions
public static enum JsonLdOptions.ProcessingPolicy extends Enum<JsonLdOptions.ProcessingPolicy>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonLdOptions.ProcessingPolicyvalueOf(String name)Returns the enum constant of this type with the specified name.static JsonLdOptions.ProcessingPolicy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Ignore
public static final JsonLdOptions.ProcessingPolicy Ignore
ignore, the current and default behavior
-
Fail
public static final JsonLdOptions.ProcessingPolicy Fail
stop processing with an error
-
Warn
public static final JsonLdOptions.ProcessingPolicy Warn
print warning to log
-
-
Method Detail
-
values
public static JsonLdOptions.ProcessingPolicy[] 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 (JsonLdOptions.ProcessingPolicy c : JsonLdOptions.ProcessingPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonLdOptions.ProcessingPolicy 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
-
-