Package org.jclouds.gogrid.domain
Class JobProperties
- java.lang.Object
-
- org.jclouds.gogrid.domain.JobProperties
-
- All Implemented Interfaces:
Comparable<JobProperties>
public class JobProperties extends Object implements Comparable<JobProperties>
State of a job.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobProperties.Builder<T extends JobProperties.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
JobProperties(long id, Date updatedOn, JobState state, String note)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobProperties.Builder<?>
builder()
int
compareTo(JobProperties o)
boolean
equals(Object obj)
long
getId()
String
getNote()
JobState
getState()
Date
getUpdatedOn()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
JobProperties.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
JobProperties
@ConstructorProperties({"id","updatedon","state","note"}) protected JobProperties(long id, Date updatedOn, JobState state, @Nullable String note)
-
-
Method Detail
-
builder
public static JobProperties.Builder<?> builder()
-
toBuilder
public JobProperties.Builder<?> toBuilder()
-
getId
public long getId()
-
getUpdatedOn
public Date getUpdatedOn()
-
getState
public JobState getState()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(JobProperties o)
- Specified by:
compareTo
in interfaceComparable<JobProperties>
-
-