Class WatchTarget

java.lang.Object
run.halo.gradle.watch.WatchTarget
All Implemented Interfaces:
org.gradle.api.Named

public class WatchTarget extends Object implements org.gradle.api.Named
If two objects have the same name, they are considered the same object.
Since:
2.0.0
  • Constructor Details

    • WatchTarget

      public WatchTarget(String name)
  • Method Details

    • getFiles

      public List<org.gradle.api.file.FileCollection> getFiles()
    • files

      public WatchTarget files(org.gradle.api.file.FileCollection files)
    • excludes

      public WatchTarget excludes(String... excludes)
    • exclude

      public WatchTarget exclude(String exclude)
    • getExcludes

      public Set<String> getExcludes()
    • getName

      @NonNull public @NonNull String getName()
      Specified by:
      getName in interface org.gradle.api.Named
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object