Class CopyrightBuilder
java.lang.Object
org.apache.rat.configuration.builders.AbstractBuilder
org.apache.rat.configuration.builders.CopyrightBuilder
- All Implemented Interfaces:
IHeaderMatcher.Builder
A copyright builder.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.rat.configuration.builders.AbstractBuilder
getId, hasId, setId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.rat.analysis.IHeaderMatcher.Builder
getDescription
-
Constructor Details
-
CopyrightBuilder
public CopyrightBuilder()
-
-
Method Details
-
setStart
Sets the start date.- Parameters:
start
- the start date for the copyright- Returns:
- this for chaining
-
setEnd
Sets the end date.- Parameters:
end
- the End data for the copyright.- Returns:
- this for chaining.
-
setOwner
Sets the owner.- Parameters:
owner
- the owner for the copyright- Returns:
- this for chaining.
-
build
Description copied from interface:IHeaderMatcher.Builder
Build the IHeaderMatcher.Implementations of this interface should return a specific child class of IHeaderMatcher.
- Returns:
- a new IHeaderMatcher.
-
toString
- Overrides:
toString
in classAbstractBuilder
-