Class Relocation

java.lang.Object
com.vouncherstudios.strawberry.shadow.Relocation

public final class Relocation extends Object
  • Constructor Details

    • Relocation

      public Relocation(@Nonnull String pattern, @Nonnull String destination, @Nullable org.gradle.api.Action<com.github.jengelman.gradle.plugins.shadow.relocation.SimpleRelocator> configuration)
      Create a new relocation.
      Parameters:
      pattern - the source pattern to relocate
      destination - the destination package
      configuration - the configuration of the relocator
  • Method Details

    • getPattern

      @Nonnull public String getPattern()
      Get the source pattern to relocate.
      Returns:
      the source pattern
    • getDestination

      @Nonnull public String getDestination()
      Get the destination package.
      Returns:
      the destination package
    • getConfiguration

      @Nullable public org.gradle.api.Action<com.github.jengelman.gradle.plugins.shadow.relocation.SimpleRelocator> getConfiguration()
      Get the configuration of the relocator.
      Returns:
      the configuration
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object