Package io.deephaven.properties
Enum Class PropertyVisitorError
- All Implemented Interfaces:
PropertyVisitor
,Serializable
,Comparable<PropertyVisitorError>
,java.lang.constant.Constable
A
PropertyVisitor
whose methods all throw IllegalStateException
with the relevant key and value
context. Meant to be a utility class that other PropertyVisitor
s can use, for example in the case of parsing
an unknown key.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Fields inherited from interface io.deephaven.properties.PropertyVisitor
SEPARATOR
-
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyVisitorError
Returns the enum constant of this class with the specified name.static PropertyVisitorError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.void
Performs this operation on the given key and boolean value.void
Performs this operation on the given key and int value.void
Performs this operation on the given key and long value.void
Performs this operation on the given key and String value.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.deephaven.properties.PropertyVisitor
maybeVisit, maybeVisit, maybeVisit, maybeVisitProperties, visitProperties, visitProperties
-
Enum Constant Details
-
INSTANCE
-
-
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
-
visit
Description copied from interface:PropertyVisitor
Performs this operation on the given key and String value.- Specified by:
visit
in interfacePropertyVisitor
- Parameters:
key
- the keyvalue
- the value
-
visit
Description copied from interface:PropertyVisitor
Performs this operation on the given key and int value.- Specified by:
visit
in interfacePropertyVisitor
- Parameters:
key
- the keyvalue
- the value
-
visit
Description copied from interface:PropertyVisitor
Performs this operation on the given key and long value.- Specified by:
visit
in interfacePropertyVisitor
- Parameters:
key
- the keyvalue
- the value
-
visit
Description copied from interface:PropertyVisitor
Performs this operation on the given key and boolean value.- Specified by:
visit
in interfacePropertyVisitor
- Parameters:
key
- the keyvalue
- the value
-