Class Location

java.lang.Object
ac.simons.neo4j.migrations.core.Location

public final class Location extends Object
Since:
0.0.2
Author:
Michael J. Simons
  • Method Details

    • of

      public static Location of(String uri)
      Creates a new Location object from a given location that has an optional prefix (protocol) and a name
      Parameters:
      uri - A name with an optional scheme / name
      Returns:
      A location object
    • getType

      public Location.LocationType getType()
      Returns:
      the type of this location
    • getName

      public String getName()
      Returns:
      the name of this location