Class PatternSet

java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.PatternSet
All Implemented Interfaces:
Serializable, Cloneable, InputLocationTracker
Direct Known Subclasses:
FileSet

@Generated public class PatternSet extends BaseObject
See Also:
  • Constructor Details

    • PatternSet

      public PatternSet()
    • PatternSet

      public PatternSet(PatternSet delegate)
    • PatternSet

      public PatternSet(PatternSet delegate, BaseObject parent)
  • Method Details

    • clone

      public PatternSet clone()
      Overrides:
      clone in class Object
    • getDelegate

      public PatternSet getDelegate()
      Overrides:
      getDelegate in class BaseObject
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getIncludes

      @Nonnull public List<String> getIncludes()
    • setIncludes

      public void setIncludes(List<String> includes)
    • addInclude

      public void addInclude(String include)
    • removeInclude

      public void removeInclude(String include)
    • getExcludes

      @Nonnull public List<String> getExcludes()
    • setExcludes

      public void setExcludes(List<String> excludes)
    • addExclude

      public void addExclude(String exclude)
    • removeExclude

      public void removeExclude(String exclude)
    • getLocation

      public InputLocation getLocation(Object key)
      Description copied from interface: InputLocationTracker
      Gets the location of the specified field in the input source.
      Parameters:
      key - The key of the field, must not be null.
      Returns:
      The location of the field in the input source or null if unknown.
    • setLocation

      public void setLocation(Object key, InputLocation location)
      Description copied from interface: InputLocationTracker
      Sets the location of the specified field.
      Parameters:
      key - The key of the field, must not be null.
      location - The location of the field, may be null.
    • replace

      protected boolean replace(Object oldDelegate, Object newDelegate)
      Overrides:
      replace in class BaseObject
    • patternSetToApiV4

      public static List<PatternSet> patternSetToApiV4(List<PatternSet> list)
    • patternSetToApiV3

      public static List<PatternSet> patternSetToApiV3(List<PatternSet> list)
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: