Class AbstractChildBuilder<T,TParent,TBuilder extends AbstractBuilder<TParent>>

java.lang.Object
com.github.rvesse.airline.builder.AbstractBuilder<T>
com.github.rvesse.airline.builder.AbstractChildBuilder<T,TParent,TBuilder>
Type Parameters:
T - Child type being built
TParent - Parent type being built
TBuilder - Parent builder type
Direct Known Subclasses:
AliasBuilder, GroupBuilder, PromptFormatBuilder, UserAliasSourceBuilder

public abstract class AbstractChildBuilder<T,TParent,TBuilder extends AbstractBuilder<TParent>> extends AbstractBuilder<T>
A builder that is a child of another builder
  • Field Details

  • Constructor Details

    • AbstractChildBuilder

      protected AbstractChildBuilder(TBuilder parentBuilder)
      Creates a child builder
      Parameters:
      parentBuilder - Parent builder
  • Method Details

    • parent

      public TBuilder parent()
      Gets the parent builder
      Returns:
      Parent builder