Tabnine Logo
ServiceTask.getSkipExpression
Code IndexAdd Tabnine to your IDE (free)

How to use
getSkipExpression
method
in
org.flowable.bpmn.model.ServiceTask

Best Java code snippets using org.flowable.bpmn.model.ServiceTask.getSkipExpression (Showing top 8 results out of 315)

origin: org.flowable/flowable-engine

protected Expression getSkipExpressionFromServiceTask(ServiceTask serviceTask) {
  Expression result = null;
  if (StringUtils.isNotEmpty(serviceTask.getSkipExpression())) {
    result = expressionManager.createExpression(serviceTask.getSkipExpression());
  }
  return result;
}
origin: org.flowable/flowable5-engine

@Override
public ClassDelegate createClassDelegateServiceTask(ServiceTask serviceTask) {
  Expression skipExpression;
  if (StringUtils.isNotEmpty(serviceTask.getSkipExpression())) {
    skipExpression = expressionManager.createExpression(serviceTask.getSkipExpression());
  } else {
    skipExpression = null;
  }
  return new ClassDelegate(serviceTask.getId(), serviceTask.getImplementation(), createFieldDeclarations(serviceTask.getFieldExtensions()),
      skipExpression, serviceTask.getMapExceptions());
}
origin: org.flowable/flowable5-engine

@Override
public ServiceTaskExpressionActivityBehavior createServiceTaskExpressionActivityBehavior(ServiceTask serviceTask) {
  Expression expression = expressionManager.createExpression(serviceTask.getImplementation());
  Expression skipExpression;
  if (StringUtils.isNotEmpty(serviceTask.getSkipExpression())) {
    skipExpression = expressionManager.createExpression(serviceTask.getSkipExpression());
  } else {
    skipExpression = null;
  }
  return new ServiceTaskExpressionActivityBehavior(serviceTask.getId(), expression, skipExpression,
      serviceTask.getResultVariableName(), serviceTask.getMapExceptions());
}
origin: org.flowable/flowable5-engine

@Override
public ServiceTaskDelegateExpressionActivityBehavior createServiceTaskDelegateExpressionActivityBehavior(ServiceTask serviceTask) {
  Expression delegateExpression = expressionManager.createExpression(serviceTask.getImplementation());
  Expression skipExpression;
  if (StringUtils.isNotEmpty(serviceTask.getSkipExpression())) {
    skipExpression = expressionManager.createExpression(serviceTask.getSkipExpression());
  } else {
    skipExpression = null;
  }
  return new ServiceTaskDelegateExpressionActivityBehavior(serviceTask.getId(), delegateExpression,
      skipExpression, createFieldDeclarations(serviceTask.getFieldExtensions()), serviceTask.getMapExceptions());
}
origin: org.flowable/flowable-bpmn-converter

@Override
protected void writeAdditionalAttributes(BaseElement element, BpmnModel model, XMLStreamWriter xtw) throws Exception {
  ServiceTask serviceTask = (ServiceTask) element;
  if (ImplementationType.IMPLEMENTATION_TYPE_CLASS.equals(serviceTask.getImplementationType())) {
    writeQualifiedAttribute(ATTRIBUTE_TASK_SERVICE_CLASS, serviceTask.getImplementation(), xtw);
  } else if (ImplementationType.IMPLEMENTATION_TYPE_EXPRESSION.equals(serviceTask.getImplementationType())) {
    writeQualifiedAttribute(ATTRIBUTE_TASK_SERVICE_EXPRESSION, serviceTask.getImplementation(), xtw);
  } else if (ImplementationType.IMPLEMENTATION_TYPE_DELEGATEEXPRESSION.equals(serviceTask.getImplementationType())) {
    writeQualifiedAttribute(ATTRIBUTE_TASK_SERVICE_DELEGATEEXPRESSION, serviceTask.getImplementation(), xtw);
  }
  if (StringUtils.isNotEmpty(serviceTask.getResultVariableName())) {
    writeQualifiedAttribute(ATTRIBUTE_TASK_SERVICE_RESULTVARIABLE, serviceTask.getResultVariableName(), xtw);
  }
  if (StringUtils.isNotEmpty(serviceTask.getType())) {
    writeQualifiedAttribute(ATTRIBUTE_TYPE, serviceTask.getType(), xtw);
  }
  if (StringUtils.isNotEmpty(serviceTask.getExtensionId())) {
    writeQualifiedAttribute(ATTRIBUTE_TASK_SERVICE_EXTENSIONID, serviceTask.getExtensionId(), xtw);
  }
  if (StringUtils.isNotEmpty(serviceTask.getSkipExpression())) {
    writeQualifiedAttribute(ATTRIBUTE_TASK_SERVICE_SKIP_EXPRESSION, serviceTask.getSkipExpression(), xtw);
  }
  if (serviceTask.isTriggerable()) {
    writeQualifiedAttribute(ATTRIBUTE_ACTIVITY_TRIGGERABLE, "true", xtw);
  }
  if (serviceTask.isUseLocalScopeForResultVariable()) {
    writeQualifiedAttribute(ATTRIBUTE_TASK_SERVICE_USE_LOCAL_SCOPE_FOR_RESULT_VARIABLE, "true", xtw);
  }
}
origin: org.ow2.petals.flowable/flowable-bpmn-model

  public void setValues(ServiceTask otherElement) {
    super.setValues(otherElement);
    setImplementation(otherElement.getImplementation());
    setImplementationType(otherElement.getImplementationType());
    setResultVariableName(otherElement.getResultVariableName());
    setType(otherElement.getType());
    setOperationRef(otherElement.getOperationRef());
    setExtensionId(otherElement.getExtensionId());
    setSkipExpression(otherElement.getSkipExpression());

    fieldExtensions = new ArrayList<>();
    if (otherElement.getFieldExtensions() != null && !otherElement.getFieldExtensions().isEmpty()) {
      for (FieldExtension extension : otherElement.getFieldExtensions()) {
        fieldExtensions.add(extension.clone());
      }
    }

    customProperties = new ArrayList<>();
    if (otherElement.getCustomProperties() != null && !otherElement.getCustomProperties().isEmpty()) {
      for (CustomProperty property : otherElement.getCustomProperties()) {
        customProperties.add(property.clone());
      }
    }
  }
}
origin: org.flowable/flowable-bpmn-model

  public void setValues(ServiceTask otherElement) {
    super.setValues(otherElement);
    setImplementation(otherElement.getImplementation());
    setImplementationType(otherElement.getImplementationType());
    setResultVariableName(otherElement.getResultVariableName());
    setType(otherElement.getType());
    setOperationRef(otherElement.getOperationRef());
    setExtensionId(otherElement.getExtensionId());
    setSkipExpression(otherElement.getSkipExpression());
    setUseLocalScopeForResultVariable(otherElement.isUseLocalScopeForResultVariable());
    setTriggerable(otherElement.isTriggerable());

    fieldExtensions = new ArrayList<>();
    if (otherElement.getFieldExtensions() != null && !otherElement.getFieldExtensions().isEmpty()) {
      for (FieldExtension extension : otherElement.getFieldExtensions()) {
        fieldExtensions.add(extension.clone());
      }
    }

    customProperties = new ArrayList<>();
    if (otherElement.getCustomProperties() != null && !otherElement.getCustomProperties().isEmpty()) {
      for (CustomProperty property : otherElement.getCustomProperties()) {
        customProperties.add(property.clone());
      }
    }
  }
}
origin: org.flowable/flowable-json-converter

ServiceTask serviceTask = (ServiceTask) baseElement;
setPropertyValue(PROPERTY_SKIP_EXPRESSION, serviceTask.getSkipExpression(), propertiesNode);
org.flowable.bpmn.modelServiceTaskgetSkipExpression

Popular methods of ServiceTask

  • getType
  • getImplementationType
  • getResultVariableName
  • getFieldExtensions
  • getImplementation
  • isUseLocalScopeForResultVariable
  • getOperationRef
  • <init>
  • isTriggerable
  • setImplementation
  • setImplementationType
  • setResultVariableName
  • setImplementationType,
  • setResultVariableName,
  • setSkipExpression,
  • setType,
  • getCustomProperties,
  • getExtensionId,
  • setExtensionId,
  • setOperationRef,
  • setTriggerable

Popular in Java

  • Parsing JSON documents to java classes using gson
  • putExtra (Intent)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • requestLocationUpdates (LocationManager)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • String (java.lang)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now