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 InvocationSuccesscreate(Invocation invocation, Object result)booleanequals(Object o)InvocationgetInvocation()what was invocationcom.google.common.base.Optional<Object>getResult()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()StringtoString()
-
-
-
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()
-
-