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

How to use
Command
in
org.camunda.bpm.engine.impl.interceptor

Best Java code snippets using org.camunda.bpm.engine.impl.interceptor.Command (Showing top 19 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: camunda/camunda-bpm-platform

protected <T> T execute(Command<T> command) {
 if(commandExecutor != null) {
  return commandExecutor.execute(command);
 } else {
  return command.execute(commandContext);
 }
}
origin: camunda/camunda-bpm-platform

 public Object execute(CommandContext commandContext) {
  Object result = command.execute(commandContext);
  controllableThread.returnControlToTestThreadAndWait();
  return result;
 }
}
origin: camunda/camunda-bpm-platform

@Override
public Object execute(CommandContext commandContext) {
 if (callback != null) {
  return callback.execute(commandContext);
 }
 throw new ProcessEngineException("Query can't be executed. Use either sum or interval to query the metrics.");
}
origin: camunda/camunda-bpm-platform

 public <T> T execute(Command<T> command) {
  return command.execute(Context.getCommandContext());
 }
}
origin: camunda/camunda-bpm-platform

protected <T> T execute(Command<T> command) {
 if(commandExecutor != null) {
  return commandExecutor.execute(command);
 } else {
  return command.execute(commandContext);
 }
}
origin: camunda/camunda-bpm-platform

@Override
public Object execute(CommandContext commandContext) {
 if (callback != null) {
  return callback.execute(commandContext);
 }
 throw new ProcessEngineException("Query can't be executed. Use either sum or interval to query the metrics.");
}
origin: camunda/camunda-bpm-platform

 public <T> T execute(Command<T> command) {
  return command.execute(Context.getCommandContext());
 }
}
origin: camunda/camunda-bpm-platform

 public T execute(CommandContext commandContext) {
  T result = command.execute(commandContext);
  controllableThread.returnControlToTestThreadAndWait();
  return result;
 }
}
origin: camunda/camunda-bpm-platform

 public Void execute(CommandContext commandContext) {
  JobEntity job = commandContext
      .getJobManager()
      .findJobById(jobId);
  if (job != null) {
   fireHistoricJobFailedEvt(job);
   cmd.execute(commandContext);
  } else {
   LOG.debugFailedJobNotFound(jobId);
  }
  return null;
 }
});
origin: camunda/camunda-bpm-platform

 public Void execute(CommandContext commandContext) {
  JobEntity job = commandContext
      .getJobManager()
      .findJobById(jobId);
  if (job != null) {
   fireHistoricJobFailedEvt(job);
   cmd.execute(commandContext);
  } else {
   LOG.debugFailedJobNotFound(jobId);
  }
  return null;
 }
});
origin: camunda/camunda-bpm-platform

protected void executeCommand(Command<?> command) {
 try {
  if(commandExecutor != null) {
   commandExecutor.execute(command);
  } else {
   command.execute(commandContext);
  }
 } catch (NullValueException e) {
  throw new NotValidException(e.getMessage(), e);
 } catch (CaseExecutionNotFoundException e) {
  throw new NotFoundException(e.getMessage(), e);
 } catch (CaseDefinitionNotFoundException e) {
  throw new NotFoundException(e.getMessage(), e);
 } catch (CaseIllegalStateTransitionException e) {
  throw new NotAllowedException(e.getMessage(), e);
 }
}
origin: camunda/camunda-bpm-platform

protected void executeCommand(Command<?> command) {
 try {
  if(commandExecutor != null) {
   commandExecutor.execute(command);
  } else {
   command.execute(commandContext);
  }
 } catch (NullValueException e) {
  throw new NotValidException(e.getMessage(), e);
 } catch (CaseExecutionNotFoundException e) {
  throw new NotFoundException(e.getMessage(), e);
 } catch (CaseDefinitionNotFoundException e) {
  throw new NotFoundException(e.getMessage(), e);
 } catch (CaseIllegalStateTransitionException e) {
  throw new NotAllowedException(e.getMessage(), e);
 }
}
origin: org.camunda.bpm/camunda-engine

@Override
public Object execute(CommandContext commandContext) {
 if (callback != null) {
  return callback.execute(commandContext);
 }
 throw new ProcessEngineException("Query can't be executed. Use either sum or interval to query the metrics.");
}
origin: org.camunda.bpm.qa.upgrade/camunda-qa-upgrade-scenario-util

 public Object execute(CommandContext commandContext) {
  Object result = command.execute(commandContext);
  controllableThread.returnControlToTestThreadAndWait();
  return result;
 }
}
origin: org.camunda.bpm/camunda-engine

 public <T> T execute(Command<T> command) {
  return command.execute(Context.getCommandContext());
 }
}
origin: org.camunda.bpm/camunda-engine

protected <T> T execute(Command<T> command) {
 if(commandExecutor != null) {
  return commandExecutor.execute(command);
 } else {
  return command.execute(commandContext);
 }
}
origin: org.camunda.bpm/camunda-engine

 public T execute(CommandContext commandContext) {
  T result = command.execute(commandContext);
  controllableThread.returnControlToTestThreadAndWait();
  return result;
 }
}
origin: org.camunda.bpm/camunda-engine

 public Void execute(CommandContext commandContext) {
  JobEntity job = commandContext
      .getJobManager()
      .findJobById(jobId);
  if (job != null) {
   fireHistoricJobFailedEvt(job);
   cmd.execute(commandContext);
  } else {
   LOG.debugFailedJobNotFound(jobId);
  }
  return null;
 }
});
origin: org.camunda.bpm/camunda-engine

protected void executeCommand(Command<?> command) {
 try {
  if(commandExecutor != null) {
   commandExecutor.execute(command);
  } else {
   command.execute(commandContext);
  }
 } catch (NullValueException e) {
  throw new NotValidException(e.getMessage(), e);
 } catch (CaseExecutionNotFoundException e) {
  throw new NotFoundException(e.getMessage(), e);
 } catch (CaseDefinitionNotFoundException e) {
  throw new NotFoundException(e.getMessage(), e);
 } catch (CaseIllegalStateTransitionException e) {
  throw new NotAllowedException(e.getMessage(), e);
 }
}
org.camunda.bpm.engine.impl.interceptorCommand

Most used methods

  • execute

Popular in Java

  • Making http requests using okhttp
  • putExtra (Intent)
  • compareTo (BigDecimal)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • TimerTask (java.util)
    A task that can be scheduled for one-time or repeated execution by a Timer.
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
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