org.jclouds.gogrid.domain
Class JobProperties

java.lang.Object
  extended by org.jclouds.gogrid.domain.JobProperties
All Implemented Interfaces:
Comparable<JobProperties>

public class JobProperties
extends Object
implements Comparable<JobProperties>

State of a job.

See Also:

Nested Class Summary
static class JobProperties.Builder<T extends JobProperties.Builder<T>>
           
 
Constructor Summary
protected JobProperties(long id, Date updatedOn, JobState state, String note)
           
 
Method Summary
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.Objects.ToStringHelper string()
           
 JobProperties.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobProperties

@ConstructorProperties(value={"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()

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.