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.
      See Also:
      • url
    • setUrl

      public void setUrl(String url)
      Parameters:
      url - a new url
    • getPath

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

      public void setPath(String path)
      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