- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
OptionDeprecation.BuilderBase.OptionDeprecationImpl
Deprecated option information.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forOptionDeprecation.static classOptionDeprecation.BuilderBase<BUILDER extends OptionDeprecation.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends OptionDeprecation> Fluent API builder base forOptionDeprecation. -
Method Summary
Modifier and TypeMethodDescriptionName of the option to use instead of this one.static OptionDeprecation.Builderbuilder()Create a new fluent API builder to customize configuration.static OptionDeprecation.Builderbuilder(OptionDeprecation instance) Create a new fluent API builder from an existing instance.booleanIf this is scheduled for removal, defaults totrue.message()Deprecation message.since()Version that deprecated this option.
-
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
-
message
String message()Deprecation message.- Returns:
- deprecation message
-
forRemoval
boolean forRemoval()If this is scheduled for removal, defaults totrue.- Returns:
- whether scheduled for removal
-
alternative
Name of the option to use instead of this one.- Returns:
- alternative option name
-
since
Version that deprecated this option.- Returns:
- since version
-