@Entity public class JobEntity extends Object
| Constructor and Description |
|---|
JobEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
addJobEvent(JobEvent jobEvent) |
Date |
getCreated() |
JobStatus |
getCurrentStatus() |
DestinationEntity |
getDestination() |
Date |
getFinished() |
Long |
getId()
Get the unique identifier for the job request.
|
List<JobEvent> |
getJobEvents() |
List<JobEvent> |
getJobEventsInOrder()
Gets job events sorted in reverse order of occurrence.
|
List<JobEvent> |
getJobEventsInReverseOrder()
Gets job events sorted in reverse order of occurrence.
|
String |
getName() |
String |
getSourceConfigId()
Get the unique identifier of the configuration to be used for the job
request.
|
AuthorizedUserEntity |
getUser()
Get the unique identifier for the user who submitted the request.
|
void |
removeJobEvent(JobEvent jobEvent) |
void |
setCreated(Date inTimestamp) |
void |
setDestination(DestinationEntity inDestination) |
void |
setFinished(Date finished) |
void |
setId(Long inId)
Set the unique identifier for the job request.
|
void |
setJobEvents(List<JobEvent> inJobEvents) |
void |
setName(String name) |
void |
setSourceConfigId(String inSourceConfigId)
Set the unique identifier of the configuration to be used for the job
request.
|
void |
setUser(AuthorizedUserEntity inEtlUser)
Set the unique identifier for the user who submitted the request.
|
Job |
toJob() |
String |
toString() |
public Date getFinished()
public void setFinished(Date finished)
public Long getId()
public void setId(Long inId)
inId - The unique identifier for the job request.public Date getCreated()
public void setCreated(Date inTimestamp)
inTimestamp - the timestamp to setpublic String getSourceConfigId()
public void setSourceConfigId(String inSourceConfigId)
inSourceConfigId - The unique identifier of the configuration.public DestinationEntity getDestination()
public void setDestination(DestinationEntity inDestination)
public AuthorizedUserEntity getUser()
public void setUser(AuthorizedUserEntity inEtlUser)
inEtlUser - The unique identifier for the user.public String getName()
public void setName(String name)
public void setJobEvents(List<JobEvent> inJobEvents)
inJobEvents - the jobEvents to setpublic void addJobEvent(JobEvent jobEvent)
public void removeJobEvent(JobEvent jobEvent)
public JobStatus getCurrentStatus()
public List<JobEvent> getJobEventsInOrder()
JobEventComparator to perform sorting.public List<JobEvent> getJobEventsInReverseOrder()
JobEventComparator to perform sorting.public Job toJob()
Copyright © 2012–2016 Emory University. All rights reserved.