Package org.jclouds.reflect
Class InvocationSuccess
- java.lang.Object
-
- org.jclouds.reflect.InvocationSuccess
-
@Beta public final class InvocationSuccess extends Object
Holds the context of a successful call toInvokable.invoke(Object, Object...)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvocationSuccess
create(Invocation invocation, Object result)
boolean
equals(Object o)
Invocation
getInvocation()
what was invocationcom.google.common.base.Optional<Object>
getResult()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
String
toString()
-
-
-
Method Detail
-
create
public static InvocationSuccess create(Invocation invocation, @Nullable Object result)
-
getInvocation
public Invocation getInvocation()
what was invocation
-
getResult
public com.google.common.base.Optional<Object> getResult()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-