vertx / io.vertx.core.cli.annotations / DefaultValue

DefaultValue

@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]) class DefaultValue

Annotation to set a default value to an option.

Author
Clement Escoffier

See Also
Option

Constructors

<init>

DefaultValue(value: String)

Annotation to set a default value to an option.

Properties

value

val value: String

The (optional) default value of the option. The value is converted to the right type using the Converter set in ConvertedBy.