Package org.apache.rat.license
Class ILicenseFamilyBuilder
java.lang.Object
org.apache.rat.license.ILicenseFamilyBuilder
- All Implemented Interfaces:
ILicenseFamily.Builder
An instance of the ILicenseFamily Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Gets the category that this builder is building.setLicenseFamilyCategory(String licenseFamilyCategory)Sets the license family category.setLicenseFamilyName(String licenseFamilyName)Sets the license family name.
-
Constructor Details
-
ILicenseFamilyBuilder
public ILicenseFamilyBuilder()
-
-
Method Details
-
setLicenseFamilyCategory
Description copied from interface:ILicenseFamily.BuilderSets the license family category. Will trim or extends the string with spaces to ensure that it is exactly 5 characters.- Specified by:
setLicenseFamilyCategoryin interfaceILicenseFamily.Builder- Parameters:
licenseFamilyCategory- the category string- Returns:
- this builder for chaining.
-
getCategory
Description copied from interface:ILicenseFamily.BuilderGets the category that this builder is building.- Specified by:
getCategoryin interfaceILicenseFamily.Builder- Returns:
- the category that this builder is building.
-
setLicenseFamilyName
Description copied from interface:ILicenseFamily.BuilderSets the license family name.- Specified by:
setLicenseFamilyNamein interfaceILicenseFamily.Builder- Parameters:
licenseFamilyName- the name string- Returns:
- this builder for chaining.
-
build
- Specified by:
buildin interfaceILicenseFamily.Builder- Returns:
- a new ILicenseFamily instance.
-