Package org.apache.rat.api.domain
Class LicenseFamilyBuilder
java.lang.Object
org.apache.rat.api.domain.LicenseFamilyBuilder
Builds
LicenseFamily instances.-
Method Summary
Modifier and TypeMethodDescriptionstatic LicenseFamilyBuilderBegins to build a license family.build()Builds a family.withCategory(String category)Builds family with category containing this license family.Uniquely identifies this family.Builds family with further information associated with the license family.
-
Method Details
-
aLicenseFamily
Begins to build a license family.- Returns:
- a builder for a license family, not null
-
build
Builds a family.- Returns:
- not null
-
withNotes
Builds family with further information associated with the license family. Human readable.- Parameters:
notes- possibly null- Returns:
- this instance, not null
-
withCategory
Builds family with category containing this license family. Choosing a suitable URI is recommended- Parameters:
category- possible null- Returns:
- this instance, not null
-
withName
Uniquely identifies this family. Choosing a suitable URI is recommended.- Parameters:
name- not null- Returns:
- this instance, not null
-