java.lang.Object
org.qubership.atp.dataset.service.jpa.model.PathStep

public class PathStep extends Object
Path step for reference macros. Contains ID or name, or both. The reason is, that reference macro can have reference to some parameter with list of UUIDs OR list of String? or some mixed collection. To check reference match we need to check ID, if it's null - check name.
  • Constructor Details

    • PathStep

      public PathStep(String identifier)
      Sets field value depending on variable type.
    • PathStep

      public PathStep(UUID id)
  • Method Details

    • matches

      public boolean matches(String name, UUID id)
      True if any field matched.
    • matches

      public boolean matches(PathStep other)
      True if any field matched.
    • toString

      public String toString()
      Overrides:
      toString in class Object