Package org.jclouds.reflect
Class Invocation
java.lang.Object
org.jclouds.reflect.Invocation
Context needed to call
Invokable.invoke(Object, Object...)
-
Method Summary
Modifier and TypeMethodDescriptionstatic Invocation
create
(com.google.common.reflect.Invokable<?, ?> invokable) invocation without arguments.static Invocation
boolean
getArgs()
arguments applied togetInvokable()
duringInvokable.invoke(Object, Object...)
com.google.common.reflect.Invokable
<?, ?> what we can invokeint
hashCode()
toString()
-
Method Details
-
create
public static Invocation create(com.google.common.reflect.Invokable<?, ?> invokable, List<Object> args) - Parameters:
args
- as these represent parameters, can contain nulls
-
create
invocation without arguments.- Throws:
IllegalArgumentException
- if in invokable requires arguments
-
getInvokable
public com.google.common.reflect.Invokable<?,?> getInvokable()what we can invoke -
getArgs
arguments applied togetInvokable()
duringInvokable.invoke(Object, Object...)
- Parameters:
args
- as these represent parameters, can contain nulls
-
equals
-
hashCode
public int hashCode() -
toString
-