Module io.helidon.builder.api
Package io.helidon.builder.api
Annotation Interface Option.DefaultMethod
- Enclosing class:
Option
A default value created from a method for a prototype option.
-
Required Element Summary
-
Optional Element Summary
-
Element Details
-
type
Class<?> typeType to invoke the method on, defaults to the type of the property.- Returns:
- type that contains the static default method to use
- Default:
io.helidon.builder.api.Option.DefaultMethod.class
-
value
String valueStatic method without parameters that provides the type of the property, declared ontype()
. The method is expected to return a single value,List
of values, or aSet
of values for all types except forMap
, where the default value should return aMap
.- Returns:
- name of a static method without parameters to use
-