Class CopyrightBuilder

java.lang.Object
org.apache.rat.configuration.builders.AbstractBuilder
org.apache.rat.configuration.builders.CopyrightBuilder
All Implemented Interfaces:
IHeaderMatcher.Builder

public class CopyrightBuilder extends AbstractBuilder
A copyright builder.
  • Constructor Details

    • CopyrightBuilder

      public CopyrightBuilder()
  • Method Details

    • setStart

      public CopyrightBuilder setStart(String start)
      Sets the start date.
      Parameters:
      start - the start date for the copyright
      Returns:
      this for chaining
    • setEnd

      public CopyrightBuilder setEnd(String end)
      Sets the end date.
      Parameters:
      end - the End data for the copyright.
      Returns:
      this for chaining.
    • setOwner

      public CopyrightBuilder setOwner(String owner)
      Sets the owner.
      Parameters:
      owner - the owner for the copyright
      Returns:
      this for chaining.
    • build

      public IHeaderMatcher build()
      Description copied from interface: IHeaderMatcher.Builder
      Build the IHeaderMatcher.
      Returns:
      a new IHeaderMatcher.
    • toString

      public String toString()
      Overrides:
      toString in class AbstractBuilder