Enum Class Scope
- All Implemented Interfaces:
Serializable
,Comparable<Scope>
,Constable
Scope characterizes the type of lineage query request.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionend-to-endultimate-destinationultimate-sourcevertical -
Method Summary
Modifier and TypeMethodDescriptionstatic Scope
fromString
(String text) Convert a string to an enum value - or null if no match occurs.getValue()
Retrieve the enum value as a string.static Scope
Returns the enum constant of this class with the specified name.static Scope[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
END_TO_END
end-to-end -
ULTIMATE_SOURCE
ultimate-source -
ULTIMATE_DESTINATION
ultimate-destination -
VERTICAL
vertical
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
Retrieve the enum value as a string.- Returns:
- string
-
fromString
Convert a string to an enum value - or null if no match occurs.- Parameters:
text
- string, typically passed on a REST call- Returns:
- associated enum
-