@Target(value=PARAMETER) @Retention(value=RUNTIME) @Documented public @interface Option
Modifier and Type | Required Element and Description |
---|---|
String |
value
The name of this option
|
Modifier and Type | Optional Element and Description |
---|---|
String |
defaultValue
The default value for this
InputComponent . |
String |
description
The description for this
InputComponent . |
boolean |
enabled
Return
true if this InputComponent is enabled. |
String |
label
The label of this
InputComponent . |
boolean |
required
If
true , the value of this object must not be null . |
String |
requiredMessage
The message to display during validation when this
InputComponent value is set to null . |
char |
shortName
The programmatic name of this
InputComponent . |
String |
type
The
InputType for this InputComponent . |
public abstract String value
public abstract String label
InputComponent
.public abstract char shortName
InputComponent
. This is typically a shorthand or alternate name used for
keyboard shortcuts or command line flags.public abstract boolean required
true
, the value of this object must not be null
.public abstract String requiredMessage
InputComponent
value is set to null
.public abstract String description
InputComponent
.public abstract boolean enabled
true
if this InputComponent
is enabled.public abstract String type
InputType
for this InputComponent
.public abstract String defaultValue
InputComponent
.Copyright © 2015 JBoss by Red Hat. All rights reserved.