Class SpdxBuilder
java.lang.Object
org.apache.rat.configuration.builders.AbstractBuilder
org.apache.rat.configuration.builders.SpdxBuilder
- All Implemented Interfaces:
IHeaderMatcher.Builder
- Direct Known Subclasses:
Spdx
A builder for SPDX matchers.
-
Constructor Details
-
SpdxBuilder
public SpdxBuilder()
-
-
Method Details
-
setName
Sets the name for the SPDX matcher. This is the same as the identifier in the SPDX license list.- Parameters:
name- The text that follows the colon ':' in the SPDX tag.- Returns:
- this builder.
- See Also:
-
setId
Set the id for the matcher.- Overrides:
setIdin classAbstractBuilder- Parameters:
id- the id to use.- Returns:
- this builder.
-
build
Description copied from interface:IHeaderMatcher.BuilderBuild the IHeaderMatcher.Implementations of this interface should return a specific child class of IHeaderMatcher.
- Returns:
- a new IHeaderMatcher.
-
toString
- Overrides:
toStringin classAbstractBuilder
-