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.

Author:
Oleksiy Yarmula
See Also:

Constructor Summary
JobProperties()
          A no-args constructor is required for deserialization
JobProperties(long id, Date updatedOn, JobState state, String note)
           
 
Method Summary
 int compareTo(JobProperties o)
           
 boolean equals(Object o)
           
 long getId()
           
 String getNote()
           
 JobState getState()
           
 Date getUpdatedOn()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobProperties

public JobProperties()
A no-args constructor is required for deserialization


JobProperties

public JobProperties(long id,
                     Date updatedOn,
                     JobState state,
                     String note)
Method Detail

getId

public long getId()

getUpdatedOn

public Date getUpdatedOn()

getState

public JobState getState()

getNote

public String getNote()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(JobProperties o)
Specified by:
compareTo in interface Comparable<JobProperties>


Copyright © 2009-2012 jclouds. All Rights Reserved.