Class JobKey

java.lang.Object
net.solarnetwork.central.scheduler.JobKey
All Implemented Interfaces:
Comparable<JobKey>

public final class JobKey extends Object implements Comparable<JobKey>
A basic job key.
  • Constructor Details

  • Method Details

    • getDescription

      public String getDescription()
      Get a description of this key.
      Returns:
      the description.
    • toString

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

      public int compareTo(JobKey o)
      Specified by:
      compareTo in interface Comparable<JobKey>
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getGroupId

      public String getGroupId()
      Get the group ID.
      Returns:
      the group ID.
    • getId

      public String getId()
      Get the job ID.
      Returns:
      the job ID