Selector class

Marks a parameter of an operation as a path segment: the operation of a method with a @Selector() String name answers /actuator/<id>/{name}.

@ReadOperation()
Health? component(@Selector(match: SelectorMatch.allRemaining)
    List<String> path) => ...;

Spring Boot (Java): @Selector.

Constructors

Selector({SelectorMatch match = SelectorMatch.single})
Marks the parameter; match says how many segments it takes.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
match → SelectorMatch
One segment, or all the remaining ones.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited