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.
- See Also:
JobProperties
@ConstructorProperties(value={"id","updatedon","state","note"})
protected JobProperties(long id,
Date updatedOn,
JobState state,
@Nullable
String note)
builder
public static JobProperties.Builder<?> builder()
toBuilder
public JobProperties.Builder<?> toBuilder()
getId
public long getId()
getUpdatedOn
public Date getUpdatedOn()
getState
public JobState getState()
getNote
@Nullable
public String getNote()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
toString
public String toString()
- Overrides:
toString in class Object
compareTo
public int compareTo(JobProperties o)
- Specified by:
compareTo in interface Comparable<JobProperties>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.