Package com.vaadin.shared.communication
Class LegacyChangeVariablesInvocation
- java.lang.Object
-
- com.vaadin.shared.communication.MethodInvocation
-
- com.vaadin.shared.communication.LegacyChangeVariablesInvocation
-
- All Implemented Interfaces:
Serializable
public class LegacyChangeVariablesInvocation extends MethodInvocation
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LegacyChangeVariablesInvocation(String connectorId, String variableName, Object value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLastOnlyTag()
Gets a String tag that is used to uniquely identify previous method invocations that should be purged from the queue if@Delay(lastOnly = true)
is used.Map<String,Object>
getVariableChanges()
static boolean
isLegacyVariableChange(String interfaceName, String methodName)
void
setVariableChange(String name, Object value)
-
Methods inherited from class com.vaadin.shared.communication.MethodInvocation
equals, getConnectorId, getInterfaceName, getMethodName, getParameters, setParameters, toString
-
-
-
-
Method Detail
-
isLegacyVariableChange
public static boolean isLegacyVariableChange(String interfaceName, String methodName)
-
getLastOnlyTag
public String getLastOnlyTag()
Description copied from class:MethodInvocation
Gets a String tag that is used to uniquely identify previous method invocations that should be purged from the queue if@Delay(lastOnly = true)
is used.The returned string should contain at least one non-number char to ensure it doesn't collide with the keys used for invocations without lastOnly.
- Overrides:
getLastOnlyTag
in classMethodInvocation
- Returns:
- a string identifying this method invocation
-
-