Codota Logo
FixedValue
Code IndexAdd Codota to your IDE (free)

How to use
FixedValue
in
org.camunda.bpm.engine.impl.el

Best Java code snippets using org.camunda.bpm.engine.impl.el.FixedValue (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: camunda/camunda-bpm-platform

public Object getValue(VariableScope variableScope, BaseDelegateExecution contextExecution) {
 return getValue(variableScope);
}
origin: camunda/camunda-bpm-platform

public Object defaultManualActivation() {
 Expression expression = new FixedValue(true);
 CaseControlRuleImpl caseControlRule = new CaseControlRuleImpl(expression);
 return caseControlRule;
}
origin: camunda/camunda-bpm-platform

protected void validateFieldDeclarationsForShell(Element serviceTaskElement, List<FieldDeclaration> fieldDeclarations) {
 boolean shellCommandDefined = false;
 for (FieldDeclaration fieldDeclaration : fieldDeclarations) {
  String fieldName = fieldDeclaration.getName();
  FixedValue fieldFixedValue = (FixedValue) fieldDeclaration.getValue();
  String fieldValue = fieldFixedValue.getExpressionText();
  shellCommandDefined |= fieldName.equals("command");
  if ((fieldName.equals("wait") || fieldName.equals("redirectError") || fieldName.equals("cleanEnv")) && !fieldValue.toLowerCase().equals(TRUE)
    && !fieldValue.toLowerCase().equals("false")) {
   addError("undefined value for shell " + fieldName + " parameter :" + fieldValue.toString(), serviceTaskElement);
  }
 }
 if (!shellCommandDefined) {
  addError("No shell command is defined on the shell activity", serviceTaskElement);
 }
}
origin: camunda/camunda-bpm-platform

public Object defaultManualActivation() {
 Expression expression = new FixedValue(true);
 CaseControlRuleImpl caseControlRule = new CaseControlRuleImpl(expression);
 return caseControlRule;
}
origin: camunda/camunda-bpm-platform

public Object getValue(VariableScope variableScope, BaseDelegateExecution contextExecution) {
 return getValue(variableScope);
}
origin: camunda/camunda-bpm-platform

protected void validateFieldDeclarationsForShell(Element serviceTaskElement, List<FieldDeclaration> fieldDeclarations) {
 boolean shellCommandDefined = false;
 for (FieldDeclaration fieldDeclaration : fieldDeclarations) {
  String fieldName = fieldDeclaration.getName();
  FixedValue fieldFixedValue = (FixedValue) fieldDeclaration.getValue();
  String fieldValue = fieldFixedValue.getExpressionText();
  shellCommandDefined |= fieldName.equals("command");
  if ((fieldName.equals("wait") || fieldName.equals("redirectError") || fieldName.equals("cleanEnv")) && !fieldValue.toLowerCase().equals(TRUE)
    && !fieldValue.toLowerCase().equals("false")) {
   addError("undefined value for shell " + fieldName + " parameter :" + fieldValue.toString(), serviceTaskElement);
  }
 }
 if (!shellCommandDefined) {
  addError("No shell command is defined on the shell activity", serviceTaskElement);
 }
}
origin: camunda/camunda-bpm-platform

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;
}
origin: org.camunda.bpm/camunda-engine

public Object getValue(VariableScope variableScope, BaseDelegateExecution contextExecution) {
 return getValue(variableScope);
}
origin: org.camunda.bpm/camunda-engine

protected void validateFieldDeclarationsForShell(Element serviceTaskElement, List<FieldDeclaration> fieldDeclarations) {
 boolean shellCommandDefined = false;
 for (FieldDeclaration fieldDeclaration : fieldDeclarations) {
  String fieldName = fieldDeclaration.getName();
  FixedValue fieldFixedValue = (FixedValue) fieldDeclaration.getValue();
  String fieldValue = fieldFixedValue.getExpressionText();
  shellCommandDefined |= fieldName.equals("command");
  if ((fieldName.equals("wait") || fieldName.equals("redirectError") || fieldName.equals("cleanEnv")) && !fieldValue.toLowerCase().equals(TRUE)
    && !fieldValue.toLowerCase().equals("false")) {
   addError("undefined value for shell " + fieldName + " parameter :" + fieldValue.toString(), serviceTaskElement);
  }
 }
 if (!shellCommandDefined) {
  addError("No shell command is defined on the shell activity", serviceTaskElement);
 }
}
origin: camunda/camunda-bpm-platform

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;
}
origin: camunda/camunda-bpm-platform

public void notify(DelegateExecution execution) throws Exception {
 ExecutionEntity executionCasted = ((ExecutionEntity)execution);
 String parameterValue = null;
 if (parameter != null) {
  parameterValue = (String)parameter.getValue(execution);
 }
 String activityName = null;
 if (executionCasted.getActivity() != null) {
  activityName = executionCasted.getActivity().getProperties().get(new PropertyKey<String>("name"));
 }
 recordedEvents.add( new RecordedEvent(
         executionCasted.getActivityId(),
         activityName,
         execution.getEventName(),
         parameterValue,
         execution.getActivityInstanceId(),
         execution.getCurrentTransitionId(),
         execution.isCanceled(),
         execution.getId()));
}
origin: camunda/camunda-bpm-platform

public Object defaultManualActivation() {
 Expression expression = new FixedValue(true);
 CaseControlRuleImpl caseControlRule = new CaseControlRuleImpl(expression);
 return caseControlRule;
}
origin: berndruecker/flowing-retail

@Override
public void execute(DelegateExecution context) throws Exception {
 String traceId = context.getProcessBusinessKey();
 String eventNameString = null;
 if (eventName!=null && eventName.getValue(context)!=null) {
  eventNameString = (String) eventName.getValue(context);
 } else {
  // if not configured we use the element id from the flow definition as default
  eventNameString = context.getCurrentActivityId();
 }
 
 messageSender.send(new Message<String>( //
   eventNameString, //
   traceId, //
   null)); // no payload at the moment
}
origin: camunda/camunda-bpm-platform

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;
}
origin: org.camunda.bpm/camunda-engine

public void notify(DelegateExecution execution) throws Exception {
 ExecutionEntity executionCasted = ((ExecutionEntity)execution);
 String parameterValue = null;
 if (parameter != null) {
  parameterValue = (String)parameter.getValue(execution);
 }
 String activityName = null;
 if (executionCasted.getActivity() != null) {
  activityName = executionCasted.getActivity().getProperties().get(new PropertyKey<String>("name"));
 }
 recordedEvents.add( new RecordedEvent(
         executionCasted.getActivityId(),
         activityName,
         execution.getEventName(),
         parameterValue,
         execution.getActivityInstanceId(),
         execution.getCurrentTransitionId(),
         execution.isCanceled(),
         execution.getId()));
}
origin: camunda/camunda-bpm-platform

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;
}
origin: org.camunda.bpm/camunda-engine

public Object defaultManualActivation() {
 Expression expression = new FixedValue(true);
 CaseControlRuleImpl caseControlRule = new CaseControlRuleImpl(expression);
 return caseControlRule;
}
origin: org.camunda.bpm/camunda-engine

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;
}
origin: org.camunda.bpm/camunda-engine

public Object defaultManualActivation() {
 Expression expression = new FixedValue(true);
 CaseControlRuleImpl caseControlRule = new CaseControlRuleImpl(expression);
 return caseControlRule;
}
origin: org.camunda.bpm/camunda-engine

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;
}
org.camunda.bpm.engine.impl.elFixedValue

Javadoc

Expression that always returns the same value when getValue is called. Setting of the value is not supported.

Most used methods

  • getValue
  • <init>
  • getExpressionText

Popular in Java

  • Creating JSON documents from java classes using gson
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now