Class DispatcherMeta.Field
java.lang.Object
org.codehaus.plexus.components.secdispatcher.DispatcherMeta.Field
- Enclosing interface:
DispatcherMeta
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private final String
private final String
private final boolean
private final List
<DispatcherMeta.Field> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DispatcherMeta.Field.Builder
Optional default value of the configuration.The human description of the configuration.getKey()
The key to be used in configuration map for field.Optional list of options, if this configuration accepts limited values.boolean
Is configuration optional?
-
Field Details
-
key
-
optional
private final boolean optional -
defaultValue
-
description
-
options
-
-
Constructor Details
-
Field
private Field(String key, boolean optional, String defaultValue, String description, List<DispatcherMeta.Field> options)
-
-
Method Details
-
getKey
The key to be used in configuration map for field. -
isOptional
public boolean isOptional()Is configuration optional? -
getDefaultValue
Optional default value of the configuration. -
getDescription
The human description of the configuration. -
getOptions
Optional list of options, if this configuration accepts limited values. Each option is represented as field, wheregetKey()
represents the value to be used, andDispatcherMeta.displayName()
represents the description of option. ThegetDefaultValue()
, if present represents the value to be used instead ofgetKey()
. -
builder
-