org.jclouds.cloudstack.domain
Class JobResult

java.lang.Object
  extended by org.jclouds.cloudstack.domain.JobResult

public class JobResult
extends Object

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

Nested Class Summary
static class JobResult.Builder<T extends JobResult.Builder<T>>
           
 
Constructor Summary
protected JobResult(boolean success, String displayText)
           
 
Method Summary
static JobResult.Builder<?> builder()
           
 boolean equals(Object obj)
           
 String getDisplayText()
           
 int hashCode()
           
 boolean isSuccess()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 JobResult.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobResult

@ConstructorProperties(value={"success","displaytext"})
protected JobResult(boolean success,
                                               @Nullable
                                               String displayText)
Method Detail

builder

public static JobResult.Builder<?> builder()

toBuilder

public JobResult.Builder<?> toBuilder()

isSuccess

public boolean isSuccess()

getDisplayText

@Nullable
public String getDisplayText()

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


Copyright © 2009-2012 jclouds. All Rights Reserved.