public class JobSubmittedEvent extends Object implements HistoryEvent
| 构造器和说明 |
|---|
JobSubmittedEvent(JobID id,
String jobName,
String userName,
long submitTime,
String jobConfPath)
|
JobSubmittedEvent(JobID id,
String jobName,
String userName,
long submitTime,
String jobConfPath,
Map<JobACL,AccessControlList> jobACLs)
|
JobSubmittedEvent(JobID id,
String jobName,
String userName,
long submitTime,
String jobConfPath,
Map<JobACL,AccessControlList> jobACLs,
String queue,
String workflowId,
String workflowName,
String workflowNodeName,
String workflowAdjacencies)
|
JobSubmittedEvent(JobID id,
String jobName,
String userName,
long submitTime,
String jobConfPath,
Map<JobACL,AccessControlList> jobACLs,
String queue,
String workflowId,
String workflowName,
String workflowNodeName,
String workflowAdjacencies,
String workflowTags)
Create an event to record job submission
|
| 限定符和类型 | 方法和说明 |
|---|---|
EventType |
getEventType()
Get the event type
|
Map<JobACL,AccessControlList> |
getJobAcls()
Get the acls configured for the job
|
String |
getJobConfPath()
Get the Path for the Job Configuration file
|
JobID |
getJobId()
Get the Job Id
|
String |
getJobName()
Get the Job name
|
String |
getJobQueueName()
Get the acls configured for the job
|
long |
getSubmitTime()
Get the submit time
|
String |
getUserName()
Get the user name
|
String |
getWorkflowAdjacencies()
Get the workflow adjacencies
|
String |
getWorkflowId()
Get the workflow Id
|
String |
getWorkflowName()
Get the workflow name
|
String |
getWorkflowNodeName()
Get the workflow node name
|
String |
getWorkflowTags()
Get the workflow tags
|
@Deprecated public JobSubmittedEvent(JobID id, String jobName, String userName, long submitTime, String jobConfPath)
@Deprecated public JobSubmittedEvent(JobID id, String jobName, String userName, long submitTime, String jobConfPath, Map<JobACL,AccessControlList> jobACLs)
@Deprecated public JobSubmittedEvent(JobID id, String jobName, String userName, long submitTime, String jobConfPath, Map<JobACL,AccessControlList> jobACLs, String queue, String workflowId, String workflowName, String workflowNodeName, String workflowAdjacencies)
public JobSubmittedEvent(JobID id, String jobName, String userName, long submitTime, String jobConfPath, Map<JobACL,AccessControlList> jobACLs, String queue, String workflowId, String workflowName, String workflowNodeName, String workflowAdjacencies, String workflowTags)
id - The job Id of the jobjobName - Name of the jobuserName - Name of the user who submitted the jobsubmitTime - Time of submissionjobConfPath - Path of the Job Configuration filejobACLs - The configured acls for the job.queue - job queue nameworkflowId - the workflow IdworkflowName - the workflow nameworkflowNodeName - the workflow node nameworkflowAdjacencies - the workflow adjacenciesworkflowTags - Comma-separated workflow tagspublic JobID getJobId()
public String getJobName()
public String getUserName()
public long getSubmitTime()
public String getJobConfPath()
public Map<JobACL,AccessControlList> getJobAcls()
public String getJobQueueName()
public String getWorkflowId()
public String getWorkflowName()
public String getWorkflowNodeName()
public String getWorkflowAdjacencies()
public String getWorkflowTags()
public EventType getEventType()
getEventType 在接口中 HistoryEventCopyright © 2009 The Apache Software Foundation