public Object defaultManualActivation() { Expression expression = new FixedValue(true); CaseControlRuleImpl caseControlRule = new CaseControlRuleImpl(expression); return caseControlRule; }
public Object defaultManualActivation() { Expression expression = new FixedValue(true); CaseControlRuleImpl caseControlRule = new CaseControlRuleImpl(expression); return caseControlRule; }
protected FieldDeclaration parseStringFieldDeclaration(Element fieldDeclarationElement, Element serviceTaskElement, String fieldName) { try { String fieldValue = getStringValueFromAttributeOrElement("stringValue", "string", fieldDeclarationElement); if (fieldValue != null) { return new FieldDeclaration(fieldName, Expression.class.getName(), new FixedValue(fieldValue)); } } catch (ProcessEngineException ae) { if (ae.getMessage().contains("multiple elements with tag name")) { addError("Multiple string field declarations found", serviceTaskElement); } else { addError("Error when paring field declarations: " + ae.getMessage(), serviceTaskElement); } } return null; }
protected FieldDeclaration parseStringFieldDeclaration(Element fieldDeclarationElement, Element serviceTaskElement, String fieldName) { try { String fieldValue = getStringValueFromAttributeOrElement("stringValue", "string", fieldDeclarationElement); if (fieldValue != null) { return new FieldDeclaration(fieldName, Expression.class.getName(), new FixedValue(fieldValue)); } } catch (ProcessEngineException ae) { if (ae.getMessage().contains("multiple elements with tag name")) { addError("Multiple string field declarations found", serviceTaskElement); } else { addError("Error when paring field declarations: " + ae.getMessage(), serviceTaskElement); } } return null; }
public Object defaultManualActivation() { Expression expression = new FixedValue(true); CaseControlRuleImpl caseControlRule = new CaseControlRuleImpl(expression); return caseControlRule; }
protected FixedValue getFixedValue(CamundaField field) { CamundaString strg = field.getCamundaString(); String value = null; if (strg != null) { value = strg.getTextContent(); } if (value == null) { value = field.getCamundaStringValue(); } if (value != null) { return new FixedValue(value); } return null; }
protected FixedValue getFixedValue(CamundaField field) { CamundaString strg = field.getCamundaString(); String value = null; if (strg != null) { value = strg.getTextContent(); } if (value == null) { value = field.getCamundaStringValue(); } if (value != null) { return new FixedValue(value); } return null; }
public Object defaultManualActivation() { Expression expression = new FixedValue(true); CaseControlRuleImpl caseControlRule = new CaseControlRuleImpl(expression); return caseControlRule; }
protected FieldDeclaration parseStringFieldDeclaration(Element fieldDeclarationElement, Element serviceTaskElement, String fieldName) { try { String fieldValue = getStringValueFromAttributeOrElement("stringValue", "string", fieldDeclarationElement); if (fieldValue != null) { return new FieldDeclaration(fieldName, Expression.class.getName(), new FixedValue(fieldValue)); } } catch (ProcessEngineException ae) { if (ae.getMessage().contains("multiple elements with tag name")) { addError("Multiple string field declarations found", serviceTaskElement); } else { addError("Error when paring field declarations: " + ae.getMessage(), serviceTaskElement); } } return null; }
public Object defaultManualActivation() { Expression expression = new FixedValue(true); CaseControlRuleImpl caseControlRule = new CaseControlRuleImpl(expression); return caseControlRule; }
protected FixedValue getFixedValue(CamundaField field) { CamundaString strg = field.getCamundaString(); String value = null; if (strg != null) { value = strg.getTextContent(); } if (value == null) { value = field.getCamundaStringValue(); } if (value != null) { return new FixedValue(value); } return null; }