/** * returns the expression text for this task listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); }
/** * returns the expression text for this execution listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); } }
/** * returns the expression text for this execution listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); }
/** * Returns the expression text for this execution listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); }
/** * Returns the expression text for this execution listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); } }
/** * Returns the expression text for this execution listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); }
/** * Returns the expression text for this execution listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); } }
/** * returns the expression text for this execution listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); } }
/** * returns the expression text for this execution listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); }
/** * returns the expression text for this task listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); }
/** * returns the expression text for this task listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); }
/** * returns the expression text for this execution listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); }
/** * returns the expression text for this execution listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); }
/** * returns the expression text for this execution listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); }
/** * returns the expression text for this task listener. Comes in handy if you want to * check which listeners you already have. */ public String getExpressionText() { return expression.getExpressionText(); }
protected int resolveLoopCardinality(ActivityExecution execution) { // Using Number since expr can evaluate to eg. Long (which is also the default for Juel) Object value = loopCardinalityExpression.getValue(execution); if (value instanceof Number) { return ((Number) value).intValue(); } else if (value instanceof String) { return Integer.valueOf((String) value); } else { throw LOG.expressionNotANumberException("loopCardinality", loopCardinalityExpression.getExpressionText()); } }
protected boolean completionConditionSatisfied(ActivityExecution execution) { if (completionConditionExpression != null) { Object value = completionConditionExpression.getValue(execution); if (! (value instanceof Boolean)) { throw LOG.expressionNotBooleanException("completionCondition", completionConditionExpression.getExpressionText()); } Boolean booleanValue = (Boolean) value; LOG.multiInstanceCompletionConditionState(booleanValue); return booleanValue; } return false; }
protected boolean completionConditionSatisfied(ActivityExecution execution) { if (completionConditionExpression != null) { Object value = completionConditionExpression.getValue(execution); if (! (value instanceof Boolean)) { throw LOG.expressionNotBooleanException("completionCondition", completionConditionExpression.getExpressionText()); } Boolean booleanValue = (Boolean) value; LOG.multiInstanceCompletionConditionState(booleanValue); return booleanValue; } return false; }
public StartFormData createStartFormData(ProcessDefinitionEntity processDefinition) { StartFormDataImpl startFormData = new StartFormDataImpl(); if (formKey != null) { startFormData.setFormKey(formKey.getExpressionText()); } startFormData.setDeploymentId(deploymentId); startFormData.setProcessDefinition(processDefinition); initializeFormProperties(startFormData, null); initializeFormFields(startFormData, null); return startFormData; }
public void verify(FieldDeclaration field) { assertEquals(fieldName, field.getName()); Object fieldValue = field.getValue(); assertNotNull(fieldValue); assertTrue(fieldValue instanceof Expression); Expression expressionValue = (Expression) fieldValue; assertEquals(getExpectedExpression(), expressionValue.getExpressionText()); }