Class NotBuilder
java.lang.Object
org.apache.rat.configuration.builders.AbstractBuilder
org.apache.rat.configuration.builders.ChildContainerBuilder
org.apache.rat.configuration.builders.NotBuilder
- All Implemented Interfaces:
IHeaderMatcher.Builder
A builder for the NotMatcher.
-
Field Summary
Fields inherited from class org.apache.rat.configuration.builders.ChildContainerBuilder
children, resource -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the IHeaderMatcher.setEnclosed(IHeaderMatcher.Builder enclosed)Sets the enclosed matcher.toString()Methods inherited from class org.apache.rat.configuration.builders.ChildContainerBuilder
addEnclosed, addEnclosed, getEnclosed, getEnclosedBuilders, setResourceMethods inherited from class org.apache.rat.configuration.builders.AbstractBuilder
getId, hasId, setIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.rat.analysis.IHeaderMatcher.Builder
getDescription
-
Constructor Details
-
NotBuilder
public NotBuilder()
-
-
Method Details
-
build
Description copied from interface:IHeaderMatcher.BuilderBuild the IHeaderMatcher.Implementations of this interface should return a specific child class of IHeaderMatcher.
- Returns:
- a new IHeaderMatcher.
-
toString
- Overrides:
toStringin classChildContainerBuilder
-
setEnclosed
Sets the enclosed matcher. Prior to this call the builder is invalid and thebuild()will fail.- Parameters:
enclosed- The matcher to negate.- Returns:
- this.
-