public class CopyrightBuilder extends AbstractBuilder
Constructor and Description |
---|
CopyrightBuilder() |
Modifier and Type | Method and Description |
---|---|
CopyrightMatcher |
build()
Build the IHeaderMatcher.
|
CopyrightBuilder |
setEnd(String end)
Sets the end date.
|
CopyrightBuilder |
setOwner(String owner)
Sets the owner.
|
CopyrightBuilder |
setStart(String start)
Sets the start date.
|
String |
toString() |
getId, hasId, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
all, any, builtClass, copyright, getDescription, matcherRef, not, regex, spdx, text
public CopyrightBuilder setStart(String start)
start
- the start date for the copyrightpublic CopyrightBuilder setEnd(String end)
end
- the End data for the copyright.public CopyrightBuilder setOwner(String owner)
owner
- the owner for the copyrightpublic CopyrightMatcher build()
IHeaderMatcher.Builder
public String toString()
toString
in class AbstractBuilder
Copyright © 2006–2024 Apache Software Foundation. All rights reserved.