Class AbstractBuilder
java.lang.Object
org.apache.rat.configuration.builders.AbstractBuilder
- All Implemented Interfaces:
IHeaderMatcher.Builder
- Direct Known Subclasses:
ChildContainerBuilder
,CopyrightBuilder
,MatcherRefBuilder
,RegexBuilder
,SpdxBuilder
,TextBuilder
An abstract IHeaderMatcher.Builder.
-
Constructor Details
-
AbstractBuilder
protected AbstractBuilder()Protected empty constructor.
-
-
Method Details
-
setId
Set the id for the matcher.- Parameters:
id
- the id to use.- Returns:
- this builder for chaining.
-
hasId
public final boolean hasId()Returns true if this builder has an ID specified.- Returns:
true
if the id is not null and not blank.
-
getId
Gets the ID as specified in the builder.- Returns:
- the id as specified in the builder.
-
toString
-