Class ResourceWrapper

java.lang.Object
ac.simons.neo4j.migrations.quarkus.runtime.ResourceWrapper

public final class ResourceWrapper extends Object
A wrapper around a classpath resource written in a way so that Quarkus can serialize it to and load it from bytecode.
Since:
1.3.0
Author:
Michael J. Simons
  • Constructor Details

    • ResourceWrapper

      public ResourceWrapper()
  • Method Details

    • getUrl

      public String getUrl()
      Returns the url.
      Returns:
      the url
    • setUrl

      public void setUrl(String url)
      Configures the URL to use for this resource.
      Parameters:
      url - a new url
    • getPath

      public String getPath()
      Returns the absolute path (might be inside the classpath or outside).
      Returns:
      the absolute path (might be inside the classpath or outside)
    • setPath

      public void setPath(String path)
      Configures the path to use.
      Parameters:
      path - a new path
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object