Class JobKey
java.lang.Object
net.solarnetwork.central.scheduler.JobKey
- All Implemented Interfaces:
Comparable<JobKey>
A basic job key.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JobKey
Constructor.- Parameters:
groupId- the group IDid- the ID- Throws:
IllegalArgumentException- if any argument is null
-
-
Method Details
-
getDescription
Get a description of this key.- Returns:
- the description.
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<JobKey>
-
hashCode
public int hashCode() -
equals
-
getGroupId
Get the group ID.- Returns:
- the group ID.
-
getId
Get the job ID.- Returns:
- the job ID
-