Search in sources :

Example 1 with FixedValue

use of org.camunda.bpm.engine.impl.el.FixedValue in project camunda-bpm-platform by camunda.

the class ItemHandler method getFixedValue.

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;
}
Also used : CamundaString(org.camunda.bpm.model.cmmn.instance.camunda.CamundaString) FixedValue(org.camunda.bpm.engine.impl.el.FixedValue) CamundaString(org.camunda.bpm.model.cmmn.instance.camunda.CamundaString)

Example 2 with FixedValue

use of org.camunda.bpm.engine.impl.el.FixedValue in project camunda-bpm-platform by camunda.

the class ProcessEngineTestRule method defaultManualActivation.

public Object defaultManualActivation() {
    Expression expression = new FixedValue(true);
    CaseControlRuleImpl caseControlRule = new CaseControlRuleImpl(expression);
    return caseControlRule;
}
Also used : Expression(org.camunda.bpm.engine.delegate.Expression) CaseControlRuleImpl(org.camunda.bpm.engine.impl.cmmn.behavior.CaseControlRuleImpl) FixedValue(org.camunda.bpm.engine.impl.el.FixedValue)

Example 3 with FixedValue

use of org.camunda.bpm.engine.impl.el.FixedValue in project camunda-bpm-platform by camunda.

the class PvmTestCase method defaultManualActivation.

public Object defaultManualActivation() {
    Expression expression = new FixedValue(true);
    CaseControlRuleImpl caseControlRule = new CaseControlRuleImpl(expression);
    return caseControlRule;
}
Also used : Expression(org.camunda.bpm.engine.delegate.Expression) CaseControlRuleImpl(org.camunda.bpm.engine.impl.cmmn.behavior.CaseControlRuleImpl) FixedValue(org.camunda.bpm.engine.impl.el.FixedValue)

Aggregations

FixedValue (org.camunda.bpm.engine.impl.el.FixedValue)3 Expression (org.camunda.bpm.engine.delegate.Expression)2 CaseControlRuleImpl (org.camunda.bpm.engine.impl.cmmn.behavior.CaseControlRuleImpl)2 CamundaString (org.camunda.bpm.model.cmmn.instance.camunda.CamundaString)1