Interface Paths.PathDescriptor<T extends Path>

Type Parameters:
T - the type of Path.
All Known Implementing Classes:
Paths.DefaultPathDescriptor
Enclosing class:
Paths

public static interface Paths.PathDescriptor<T extends Path>
Provides hooks to help build a string representation of a Path.
  • Method Details

    • nodeRepresentation

      String nodeRepresentation(T path, Node node)
      Returns a string representation of a Node.
      Parameters:
      path - the Path we're building a string representation from.
      node - the Node to return a string representation of.
      Returns:
      a string representation of a Node.
    • relationshipRepresentation

      String relationshipRepresentation(T path, Node from, Relationship relationship)
      Returns a string representation of a Relationship.
      Parameters:
      path - the Path we're building a string representation from.
      from - the previous Node in the path.
      relationship - the Relationship to return a string representation of.
      Returns:
      a string representation of a Relationship.