Package org.eclipse.rdf4j.federated
Enum FederationManager.FederationType
- java.lang.Object
-
- java.lang.Enum<FederationManager.FederationType>
-
- org.eclipse.rdf4j.federated.FederationManager.FederationType
-
- All Implemented Interfaces:
Serializable
,Comparable<FederationManager.FederationType>
- Enclosing class:
- FederationManager
public static enum FederationManager.FederationType extends Enum<FederationManager.FederationType>
The Federation type definition: Local, Remote, Hybrid- Author:
- Andreas Schwarte
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FederationManager.FederationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FederationManager.FederationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL
public static final FederationManager.FederationType LOCAL
-
REMOTE
public static final FederationManager.FederationType REMOTE
-
HYBRID
public static final FederationManager.FederationType HYBRID
-
-
Method Detail
-
values
public static FederationManager.FederationType[] 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 (FederationManager.FederationType c : FederationManager.FederationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FederationManager.FederationType 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
-
-