public class QuartzJobKey extends Object
| Constructor and Description |
|---|
QuartzJobKey(String jobName,
String username)
Use this constructor when you wish to create a new unique job key.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getJobName() |
String |
getUserName() |
static QuartzJobKey |
parse(String jobId)
Parses an existing jobId into a
QuartzJobKey |
String |
toString() |
public QuartzJobKey(String jobName, String username) throws SchedulerException
jobName - the user-provided job nameusername - the user who is executing this jobSchedulerExceptionpublic static QuartzJobKey parse(String jobId) throws SchedulerException
QuartzJobKeyjobId - an existing jobIdSchedulerExceptionpublic String getUserName()
public String getJobName()