Package org.icij.datashare.text.nlp
Enum Pipeline.Property
- java.lang.Object
-
- java.lang.Enum<Pipeline.Property>
-
- org.icij.datashare.text.nlp.Pipeline.Property
-
- All Implemented Interfaces:
Serializable,Comparable<Pipeline.Property>
- Enclosing interface:
- Pipeline
public static enum Pipeline.Property extends Enum<Pipeline.Property>
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.function.Function<List<NlpStage>,java.util.function.Function<List<NamedEntity.Category>,java.util.function.Function<Boolean,Properties>>>build
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()static Pipeline.PropertyvalueOf(String name)Returns the enum constant of this type with the specified name.static Pipeline.Property[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STAGES
public static final Pipeline.Property STAGES
-
ENTITIES
public static final Pipeline.Property ENTITIES
-
CACHING
public static final Pipeline.Property CACHING
-
LANGUAGE
public static final Pipeline.Property LANGUAGE
-
ENCODING
public static final Pipeline.Property ENCODING
-
-
Field Detail
-
build
public static java.util.function.Function<List<NlpStage>,java.util.function.Function<List<NamedEntity.Category>,java.util.function.Function<Boolean,Properties>>> build
-
-
Method Detail
-
values
public static Pipeline.Property[] 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 (Pipeline.Property c : Pipeline.Property.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Pipeline.Property 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
-
getName
public String getName()
-
-