Package org.apache.commons.rdf.rdf4j
Enum RDF4J.Option
- java.lang.Object
-
- java.lang.Enum<RDF4J.Option>
-
- org.apache.commons.rdf.rdf4j.RDF4J.Option
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RDF4J.Option>
- Enclosing class:
- RDF4J
public static enum RDF4J.Option extends java.lang.Enum<RDF4J.Option>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description handleInitAndShutdown
The graph/dataset should handleRepository#initialize()
(if needed) andRepository.shutDown()
onGraph.close()
/Dataset.close()
.includeInferred
The Graph/Dataset should include any inferred statements
-
Constructor Summary
Constructors Modifier Constructor Description private
Option()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RDF4J.Option
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RDF4J.Option[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
includeInferred
public static final RDF4J.Option includeInferred
The Graph/Dataset should include any inferred statements
-
handleInitAndShutdown
public static final RDF4J.Option handleInitAndShutdown
The graph/dataset should handleRepository#initialize()
(if needed) andRepository.shutDown()
onGraph.close()
/Dataset.close()
.
-
-
Method Detail
-
values
public static RDF4J.Option[] 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 (RDF4J.Option c : RDF4J.Option.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RDF4J.Option valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-