Annotation Type ConfigurationOption
-
@Retention(RUNTIME) @Target({METHOD,TYPE}) @Inherited public @interface ConfigurationOptionDescribes all the ways in which a bean's properties can be reflected on the command line and via messages.Ideally, we could have used classes for
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.
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.StringDOCUMENT_MODEUsed for any String method that should be rendered as an ingest document mode option boxstatic java.lang.StringFALSE_SWITCH_VALUEConstant FALSE for switchValue()static java.lang.StringHTTPSUsed for any String method that should be rendered as a HTTP, HTTPS option boxstatic java.lang.StringOPTIONUsed for selecting from among provided optionsstatic java.lang.StringPASSWORDUsed for any String method that should be rendered as a passwordstatic java.lang.StringQUERY_LANGUAGEUsed for selecting from among available query languagesstatic java.lang.StringSORTED_STRING_LISTUse for Listmethods but when the UI should display the list in sorted order static java.lang.StringSPRING_BEANUse for any Object that should be pulled from springstatic java.lang.StringSTRING_LISTUse for Listmethods static java.lang.StringSTRING_TO_STRING_MAPUse for Map<String,String> methodsstatic java.lang.StringTEXT_AREAUsed for any String method that should be rendered as a text area (aka multiple lines)static java.lang.StringTRUE_SWITCH_VALUEConstant TRUE for switchValue()
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanaddDefaultValueIf true, adds [Default = `default from class`] to the end of the description if default value != null.java.lang.StringdescriptionDescription for this option.java.lang.StringdisplayNamedisplayed to the user in the admin interfacejava.lang.StringformEntryClassClass to implement the Form Entry (see GWT Commons)java.lang.Stringhelpextra help text for this optionbooleanhiddenIf true, hide from the command line option generation process, default = false.java.lang.String[]labelsjava.lang.StringlongOptThe long option for a command line argument.java.lang.StringmessagePropDeprecated.No longer used.ConfigurationOption.OptionLeveloptionLevelDetermines if an option is required, basic or advanced.booleanrequiredDeprecated.use optionLevel = OptionLevel.Required insteadjava.lang.StringshortOptThe short option for a command line argument.java.lang.String[]switchValueIf specified, this option will be a no argument command line switch that will received the switchValue() if used.
-
-
-
-
hidden
boolean hidden
If true, hide from the command line option generation process, default = false.- Default:
- false
-
-
-
optionLevel
ConfigurationOption.OptionLevel optionLevel
Determines if an option is required, basic or advanced.- Default:
- com.attivio.sdk.server.annotation.ConfigurationOption.OptionLevel.Advanced
-
-