org.jclouds.cloudstack.domain
Class JobResult
java.lang.Object
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
JobResult
public JobResult(boolean success,
String displayText)
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.