public class Job extends Object implements Comparable<Job>
Constructor and Description |
---|
Job()
A no-args constructor is required for deserialization
|
Job(long id,
Option command,
ObjectType objectType,
Date createdOn,
Date lastUpdatedOn,
JobState currentState,
int attempts,
String owner,
SortedSet<JobProperties> history,
Map<String,String> details) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Job o) |
boolean |
equals(Object o) |
int |
getAttempts() |
Option |
getCommand() |
Date |
getCreatedOn() |
JobState |
getCurrentState() |
Map<String,String> |
getDetails() |
Set<JobProperties> |
getHistory() |
long |
getId() |
Date |
getLastUpdatedOn() |
ObjectType |
getObjectType() |
String |
getOwner() |
int |
hashCode() |
String |
toString() |
public long getId()
public Option getCommand()
public ObjectType getObjectType()
public Date getCreatedOn()
public Date getLastUpdatedOn()
public JobState getCurrentState()
public int getAttempts()
public String getOwner()
public Set<JobProperties> getHistory()
public int compareTo(Job o)
compareTo
in interface Comparable<Job>
Copyright © 2009-2012 jclouds. All Rights Reserved.