org.jclouds.cloudstack.domain
Class JobResult

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

public class JobResult
extends Object
implements Comparable<JobResult>

The result of an operation. A handful of Cloudstack API calls return this structure when there is no domain model data to return - for example, when deleting an object.

Author:
Richard Downer

Constructor Summary
JobResult(boolean success, String displayText)
           
 
Method Summary
 int compareTo(JobResult other)
           
 boolean equals(Object o)
           
 String getDisplayText()
           
 boolean getSuccess()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobResult

public JobResult(boolean success,
                 String displayText)
Method Detail

getSuccess

public boolean getSuccess()

getDisplayText

public String getDisplayText()

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(JobResult other)
Specified by:
compareTo in interface Comparable<JobResult>


Copyright © 2009-2012 jclouds. All Rights Reserved.