Module com.github.rvesse.airline
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 builtTParent
- Parent type being builtTBuilder
- 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 Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractChildBuilder
(TBuilder parentBuilder) Creates a child builder -
Method Summary
Methods inherited from class com.github.rvesse.airline.builder.AbstractBuilder
build, checkNotBlank, checkNotEmpty, checkNotNull
-
Field Details
-
parent
-
-
Constructor Details
-
AbstractChildBuilder
Creates a child builder- Parameters:
parentBuilder
- Parent builder
-
-
Method Details
-
parent
Gets the parent builder- Returns:
- Parent builder
-