public abstract class AbstractBuilder extends Object implements IHeaderMatcher.Builder
Modifier | Constructor and Description |
---|---|
protected |
AbstractBuilder()
Protected empty constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the ID as specified in the builder.
|
boolean |
hasId()
Returns true if this builder has an ID specified.
|
AbstractBuilder |
setId(String id)
Set the id for the matcher.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
all, any, build, builtClass, copyright, getDescription, matcherRef, not, regex, spdx, text
public AbstractBuilder setId(String id)
id
- the id to use.public final boolean hasId()
true
if the id is not null and not blank.public final String getId()
Copyright © 2006–2024 Apache Software Foundation. All rights reserved.