Class WorkflowIdentifier

java.lang.Object
org.opencastproject.workflow.api.WorkflowIdentifier

public final class WorkflowIdentifier extends Object
Represents a workflow's "primary key", for use in maps and sets (immutable)
  • Constructor Details

    • WorkflowIdentifier

      public WorkflowIdentifier(String id, String organization)
  • Method Details

    • getId

      public String getId()
    • getOrganization

      public String getOrganization()
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • withoutOrganization

      public WorkflowIdentifier withoutOrganization()
      Return a new identifier without an organization (idempotent)
      Returns:
      See above