@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) @Inherited public @interface ConfigurationOption
formEntryClass()
but
this would create a runtime dependency. So we are needed to use string instead and as a result, String
constants are used for common (non-reflection) based entries.Modifier and Type | Fields and Description |
---|---|
static String |
FALSE_SWITCH_VALUE
Constant FALSE for switchValue()
|
static String |
HTTPS
Used for any String method that should be rendered as a HTTP,HTTPS option box
|
static String |
PASSWORD
Used for any String method that should be rendered as a password
|
static String |
SORTED_STRING_LIST
Use for List
|
static String |
SPRING_BEAN
Use for any Object that should be pulled from spring
|
static String |
STRING_LIST
Use for List
|
static String |
STRING_TO_STRING_MAP
Use for Map<String,String> methods
|
static String |
TEXT_AREA
Used for any String method that should be rendered as a text area (aka multiple lines)
|
static String |
TRUE_SWITCH_VALUE
Constant TRUE for switchValue()
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
addDefaultValue
If true, adds [Default = `default from class`] to the end of the description if default value != null.
|
String |
description
Description for this option.
|
String |
displayName
displayed to the user in the admin interface
|
String |
formEntryClass
Class to implement the Form Entry (see GWT Commons)
|
String |
help
extra help text for this option
|
boolean |
hidden
If true, hide from the command line option generation process, default = false.
|
String[] |
labels |
String |
longOpt
The long option for a command line argument.
|
String |
messageProp
Deprecated.
No longer used.
|
ConfigurationOption.OptionLevel |
optionLevel
Determines if an option is required, basic or advanced.
|
boolean |
required
Deprecated.
use optionLevel = OptionLevel.Required instead
|
String |
shortOpt
The short option for a command line argument.
|
String[] |
switchValue
If specified, this option will be a no argument command line switch that will received the switchValue() if used.
|
public static final String STRING_LIST
public static final String SORTED_STRING_LIST
public static final String STRING_TO_STRING_MAP
public static final String SPRING_BEAN
public static final String PASSWORD
public static final String TEXT_AREA
public static final String HTTPS
public static final String TRUE_SWITCH_VALUE
public static final String FALSE_SWITCH_VALUE
public abstract String shortOpt
public abstract String longOpt
public abstract String messageProp
public abstract boolean addDefaultValue
public abstract boolean hidden
public abstract String description
@Deprecated public abstract boolean required
public abstract ConfigurationOption.OptionLevel optionLevel
public abstract String help
public abstract String displayName
public abstract String formEntryClass
public abstract String[] switchValue
public abstract String[] labels
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.