Module com.github.rvesse.airline
Class UserAliasSourceBuilder<C>
java.lang.Object
com.github.rvesse.airline.builder.AbstractBuilder<UserAliasesSource<C>>
com.github.rvesse.airline.builder.AbstractChildBuilder<UserAliasesSource<C>,ParserMetadata<C>,ParserBuilder<C>>
com.github.rvesse.airline.builder.UserAliasSourceBuilder<C>
- Type Parameters:
C
- Command type
public class UserAliasSourceBuilder<C>
extends AbstractChildBuilder<UserAliasesSource<C>,ParserMetadata<C>,ParserBuilder<C>>
User alias source builder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
private String
private List
<ResourceLocator> private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the typeboolean
withDefaultSearchLocation
(String programName) withFilename
(String filename) withLocator
(ResourceLocator locator) withLocators
(ResourceLocator... locators) withLocators
(List<ResourceLocator> locators) withPrefix
(String prefix) withProgramName
(String programName) withSearchLocation
(String location) withSearchLocations
(String... locations) Methods inherited from class com.github.rvesse.airline.builder.AbstractChildBuilder
parent
Methods inherited from class com.github.rvesse.airline.builder.AbstractBuilder
checkNotBlank, checkNotEmpty, checkNotNull
-
Field Details
-
DEFAULT_EXTENSION
- See Also:
-
searchLocations
-
filename
-
prefix
-
locators
-
-
Constructor Details
-
UserAliasSourceBuilder
-
-
Method Details
-
withProgramName
-
withFilename
-
withPrefix
-
withDefaultLocators
-
withLocator
-
withLocators
-
withLocators
-
withDefaultSearchLocation
-
withSearchLocation
-
withSearchLocations
-
isBuildable
public boolean isBuildable() -
build
Description copied from class:AbstractBuilder
Builds the type- Specified by:
build
in classAbstractBuilder<UserAliasesSource<C>>
- Returns:
- Type instance
-