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(
       expression, skipExpression, serviceTask.getResultVariableName());
 }
 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());
 }
 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(
       delegateExpression,
       skipExpression,
       createFieldDeclarations(serviceTask.getFieldExtensions()));
 }