Interface OptionSingular

All Superinterfaces:
Prototype.Api
All Known Implementing Classes:
OptionSingular.BuilderBase.OptionSingularImpl

public interface OptionSingular extends Prototype.Api
Definition of a singular option.
See Also:
  • Method Details

    • builder

      static OptionSingular.Builder builder()
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      static OptionSingular.Builder builder(OptionSingular instance)
      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. For lines, this would be line. For properties, this should be property, so we allow customization by the user.
      Returns:
      singular name
    • methodName

      String methodName()
      Name of the singular setter method.
      Returns:
      method name