Package com.vaadin.swingkit.core
Class MethodInvocation
java.lang.Object
com.vaadin.swingkit.core.MethodInvocation
- All Implemented Interfaces:
Serializable
Describes a method invocation that can be used to run code from a Swing app to
a Vaadin view that implements
SwingVaadinCallable- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]Gets the arguments values used for the invocation.getId()Gets the id of the invocation.Gets theMethodDescriptionof the method that will be called by the invocation.voidsetArgValues(Object[] argValues) Sets the arguments values used for the invocation.voidSets the Id of the invocation.voidsetMethodDescription(MethodDescription methodDescription) Sets theMethodDescriptionof the method that will be called by the invocation.toString()
-
Constructor Details
-
MethodInvocation
public MethodInvocation()
-
-
Method Details
-
getId
Gets the id of the invocation.- Returns:
- id uniquely identifying the invocation as a String.
-
setId
Sets the Id of the invocation. It should identify uniquely the invocation.- Parameters:
id- The Id of the invocation
-
getArgValues
Gets the arguments values used for the invocation.- Returns:
- The arguments values used for the invocation as an array of Objects.
-
setArgValues
Sets the arguments values used for the invocation.- Parameters:
argValues- The arguments values used for the invocation as an array of Objects
-
getMethodDescription
Gets theMethodDescriptionof the method that will be called by the invocation.- Returns:
- The
MethodDescriptionof the method that will be called by the invocation.
-
setMethodDescription
Sets theMethodDescriptionof the method that will be called by the invocation.- Parameters:
methodDescription- TheMethodDescriptionof the method that will be called by the invocation.
-
toString
-