public class SpdxBuilder extends AbstractBuilder
Constructor and Description |
---|
SpdxBuilder() |
Modifier and Type | Method and Description |
---|---|
SPDXMatcherFactory.Match |
build()
Build the IHeaderMatcher.
|
AbstractBuilder |
setId(String id)
Set the id for the matcher.
|
SpdxBuilder |
setName(String name)
Sets the name for the SPDX matcher.
|
String |
toString() |
getId, hasId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
all, any, builtClass, copyright, getDescription, matcherRef, not, regex, spdx, text
public SpdxBuilder setName(String name)
name
- The text that follows the colon ':' in the SPDX tag.public AbstractBuilder setId(String id)
setId
in class AbstractBuilder
id
- the id to use.public SPDXMatcherFactory.Match build()
IHeaderMatcher.Builder
public String toString()
toString
in class AbstractBuilder
Copyright © 2006–2024 Apache Software Foundation. All rights reserved.