- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
OptionSingular.BuilderBase.OptionSingularImpl
Definition of a singular option.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forOptionSingular.static classOptionSingular.BuilderBase<BUILDER extends OptionSingular.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends OptionSingular> Fluent API builder base forOptionSingular. -
Method Summary
Modifier and TypeMethodDescriptionstatic OptionSingular.Builderbuilder()Create a new fluent API builder to customize configuration.static OptionSingular.Builderbuilder(OptionSingular instance) Create a new fluent API builder from an existing instance.Name of the singular setter method.name()Singular form of the option name.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
name
String name()Singular form of the option name. Forlines, this would beline. Forproperties, this should beproperty, so we allow customization by the user.- Returns:
- singular name
-
methodName
String methodName()Name of the singular setter method.- Returns:
- method name
-