public <T> T getVariableLocal(String taskId, String variableName, Class<T> variableClass) {
return variableClass.cast(getVariableLocal(taskId, variableName));
}
public boolean hasVariableLocal(String taskId, String variableName) {
return commandExecutor.execute(new HasTaskVariableCmd(taskId, variableName, true));
}