Codota Logo
JpdlXmlReader.readBoolean
Code IndexAdd Codota to your IDE (free)

How to use
readBoolean
method
in
org.jbpm.jpdl.xml.JpdlXmlReader

Best Java code snippets using org.jbpm.jpdl.xml.JpdlXmlReader.readBoolean (Showing top 10 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: com.github.albfernandez/jbpm-jpdl

public void read(Element element, JpdlXmlReader jpdlReader) {
 // get the signal
 String signalText = element.attributeValue("signal");
 if (signalText != null) {
  signal = parseSignal(signalText);
 }
 // create tasks
 String createTasksText = element.attributeValue("create-tasks");
 createTasks = jpdlReader.readBoolean(createTasksText, true);
 // create tasks
 String removeTasksText = element.attributeValue("end-tasks");
 endTasks = jpdlReader.readBoolean(removeTasksText, false);
 // parse the tasks
 jpdlReader.readTasks(element, this);
}
origin: org.jbpm.jbpm3/jbpm-jpdl

public void read(Element element, JpdlXmlReader jpdlReader) {
 // get the signal
 String signalText = element.attributeValue("signal");
 if (signalText != null) {
  signal = parseSignal(signalText);
 }
 // create tasks
 String createTasksText = element.attributeValue("create-tasks");
 createTasks = jpdlReader.readBoolean(createTasksText, true);
 // create tasks
 String removeTasksText = element.attributeValue("end-tasks");
 endTasks = jpdlReader.readBoolean(removeTasksText, false);
 // parse the tasks
 jpdlReader.readTasks(element, this);
}
origin: org.jbpm.jbpm3/jbpm-jpdl

/** Configures the common action parts. */
public void readAction(Element actionElement, Action action) {
 // if a name is specified for this action
 String actionName = actionElement.attributeValue("name");
 if (actionName != null) {
  action.setName(actionName);
  // add the action to the named process action repository
  processDefinition.addAction(action);
 }
 String acceptPropagatedEvents = actionElement.attributeValue("accept-propagated-events");
 action.setPropagationAllowed(readBoolean(acceptPropagatedEvents, true));
 String asyncText = actionElement.attributeValue("async");
 if ("exclusive".equalsIgnoreCase(asyncText)) {
  action.setAsyncExclusive(true);
 }
 else if (readBoolean(asyncText, false)) {
  action.setAsync(true);
 }
}
origin: com.github.albfernandez/jbpm-jpdl

/** Configures the common action parts. */
public void readAction(Element actionElement, Action action) {
 // if a name is specified for this action
 String actionName = actionElement.attributeValue("name");
 if (actionName != null) {
  action.setName(actionName);
  // add the action to the named process action repository
  processDefinition.addAction(action);
 }
 String acceptPropagatedEvents = actionElement.attributeValue("accept-propagated-events");
 action.setPropagationAllowed(readBoolean(acceptPropagatedEvents, true));
 String asyncText = actionElement.attributeValue("async");
 if ("exclusive".equalsIgnoreCase(asyncText)) {
  action.setAsyncExclusive(true);
 }
 else if (readBoolean(asyncText, false)) {
  action.setAsync(true);
 }
}
origin: com.github.albfernandez/jbpm-jpdl

public void read(Element actionElement, JpdlXmlReader jpdlReader) {
 timerName = actionElement.attributeValue("name");
 timerAction = jpdlReader.readSingleAction(actionElement);
 dueDate = actionElement.attributeValue("duedate");
 if (dueDate == null) {
  jpdlReader.addWarning("due date not specified on create timer: "
   + actionElement.getPath());
 }
 repeat = actionElement.attributeValue("repeat");
 if (jpdlReader.readBoolean(repeat, false)) {
  repeat = dueDate;
 }
 transitionName = actionElement.attributeValue("transition");
 if (transitionName != null && repeat != null) {
  repeat = null;
  jpdlReader.addWarning("ignoring repeat on create timer with transition: "
   + actionElement.getPath());
 }
}
origin: org.jbpm.jbpm3/jbpm-jpdl

public void read(Element actionElement, JpdlXmlReader jpdlReader) {
 timerName = actionElement.attributeValue("name");
 timerAction = jpdlReader.readSingleAction(actionElement);
 dueDate = actionElement.attributeValue("duedate");
 if (dueDate == null) {
  jpdlReader.addWarning("due date not specified on create timer: "
   + actionElement.getPath());
 }
 repeat = actionElement.attributeValue("repeat");
 if (jpdlReader.readBoolean(repeat, false)) {
  repeat = dueDate;
 }
 transitionName = actionElement.attributeValue("transition");
 if (transitionName != null && repeat != null) {
  repeat = null;
  jpdlReader.addWarning("ignoring repeat on create timer with transition: "
   + actionElement.getPath());
 }
}
origin: org.jbpm.jbpm3/jbpm-jpdl

 node.setAsyncExclusive(true);
else if (readBoolean(asyncText, false)) {
 node.setAsync(true);
origin: com.github.albfernandez/jbpm-jpdl

 node.setAsyncExclusive(true);
else if (readBoolean(asyncText, false)) {
 node.setAsync(true);
origin: org.jbpm.jbpm3/jbpm-jpdl

task.setBlocking(readBoolean(blockingText, false));
task.setSignalling(readBoolean(signallingText, true));
if (readBoolean(notificationsText, false)) {
origin: com.github.albfernandez/jbpm-jpdl

task.setBlocking(readBoolean(blockingText, false));
task.setSignalling(readBoolean(signallingText, true));
if (readBoolean(notificationsText, false)) {
org.jbpm.jpdl.xmlJpdlXmlReaderreadBoolean

Popular methods of JpdlXmlReader

  • readNodes
  • <init>
  • addAction
  • addError
  • addProblem
  • addUnresolvedActionReference
  • addUnresolvedTransitionDestination
  • addWarning
  • createAction
    Instantiates and configures an action.
  • createMailDelegation
  • generateTimerName
  • getProcessDefinition
  • generateTimerName,
  • getProcessDefinition,
  • getProperty,
  • getXmlWriter,
  • parseProcessDefinitionAttributes,
  • readAction,
  • readActions,
  • readAssignmentDelegation,
  • readEvents

Popular in Java

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • JTextField (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
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