Class MethodInvocation

java.lang.Object
com.vaadin.swingkit.core.MethodInvocation
All Implemented Interfaces:
Serializable

public class MethodInvocation extends Object implements 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 Details

    • MethodInvocation

      public MethodInvocation()
  • Method Details

    • getId

      public String getId()
      Gets the id of the invocation.
      Returns:
      id uniquely identifying the invocation as a String.
    • setId

      public void setId(String id)
      Sets the Id of the invocation. It should identify uniquely the invocation.
      Parameters:
      id - The Id of the invocation
    • getArgValues

      public Object[] getArgValues()
      Gets the arguments values used for the invocation.
      Returns:
      The arguments values used for the invocation as an array of Objects.
    • setArgValues

      public void setArgValues(Object[] argValues)
      Sets the arguments values used for the invocation.
      Parameters:
      argValues - The arguments values used for the invocation as an array of Objects
    • getMethodDescription

      public MethodDescription getMethodDescription()
      Gets the MethodDescription of the method that will be called by the invocation.
      Returns:
      The MethodDescription of the method that will be called by the invocation.
    • setMethodDescription

      public void setMethodDescription(MethodDescription methodDescription)
      Sets the MethodDescription of the method that will be called by the invocation.
      Parameters:
      methodDescription - The MethodDescription of the method that will be called by the invocation.
    • toString

      public String toString()
      Overrides:
      toString in class Object