Tabnine Logo
Job.setCompletedWorkflowSteps
Code IndexAdd Tabnine to your IDE (free)

How to use
setCompletedWorkflowSteps
method
in
org.finra.herd.model.api.xml.Job

Best Java code snippets using org.finra.herd.model.api.xml.Job.setCompletedWorkflowSteps (Showing top 5 results out of 315)

origin: org.finra.herd/herd-service

/**
 * Populates the job Object with completed workflow steps.
 *
 * @param job, the Job object
 * @param historicActivitiTasks, the completed activiti steps
 */
private void populateCompletedActivitiSteps(Job job, List<HistoricActivityInstance> historicActivitiTasks)
{
  // Set completed steps
  List<WorkflowStep> completedWorkflowSteps = new ArrayList<>();
  for (HistoricActivityInstance historicActivityInstance : historicActivitiTasks)
  {
    completedWorkflowSteps.add(new WorkflowStep(historicActivityInstance.getActivityId(), historicActivityInstance.getActivityName(),
      HerdDateUtils.getXMLGregorianCalendarValue(historicActivityInstance.getStartTime()),
      HerdDateUtils.getXMLGregorianCalendarValue(historicActivityInstance.getEndTime())));
  }
  job.setCompletedWorkflowSteps(completedWorkflowSteps);
}
origin: FINRAOS/herd

/**
 * Populates the job Object with completed workflow steps.
 *
 * @param job, the Job object
 * @param historicActivitiTasks, the completed activiti steps
 */
private void populateCompletedActivitiSteps(Job job, List<HistoricActivityInstance> historicActivitiTasks)
{
  // Set completed steps
  List<WorkflowStep> completedWorkflowSteps = new ArrayList<>();
  for (HistoricActivityInstance historicActivityInstance : historicActivitiTasks)
  {
    completedWorkflowSteps.add(new WorkflowStep(historicActivityInstance.getActivityId(), historicActivityInstance.getActivityName(),
      HerdDateUtils.getXMLGregorianCalendarValue(historicActivityInstance.getStartTime()),
      HerdDateUtils.getXMLGregorianCalendarValue(historicActivityInstance.getEndTime())));
  }
  job.setCompletedWorkflowSteps(completedWorkflowSteps);
}
origin: org.finra.herd/herd-model-api

copy.completedWorkflowSteps = null;
if (copyCompletedWorkflowSteps!= null) {
  copy.setCompletedWorkflowSteps(copyCompletedWorkflowSteps);
origin: FINRAOS/herd

copy.completedWorkflowSteps = null;
if (copyCompletedWorkflowSteps!= null) {
  copy.setCompletedWorkflowSteps(copyCompletedWorkflowSteps);
origin: FINRAOS/herd

copy.completedWorkflowSteps = null;
if (copyCompletedWorkflowSteps!= null) {
  copy.setCompletedWorkflowSteps(copyCompletedWorkflowSteps);
org.finra.herd.model.api.xmlJobsetCompletedWorkflowSteps

Popular methods of Job

  • <init>
    Fully-initialising value constructor
  • getParameters
  • setId
    Sets the value of the id property.
  • getActivitiJobXml
    Gets the value of the activitiJobXml property.
  • getCompletedWorkflowSteps
  • getCurrentWorkflowStep
    Gets the value of the currentWorkflowStep property.
  • getDeleteReason
    Gets the value of the deleteReason property.
  • getEndTime
    Gets the value of the endTime property.
  • getId
    Gets the value of the id property.
  • getJobName
    Gets the value of the jobName property.
  • getNamespace
    Gets the value of the namespace property.
  • getStartTime
    Gets the value of the startTime property.
  • getNamespace,
  • getStartTime,
  • getStatus,
  • setActivitiJobXml,
  • setCurrentWorkflowStep,
  • setDeleteReason,
  • setEndTime,
  • setJobName,
  • setNamespace

Popular in Java

  • Making http requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getContentResolver (Context)
  • requestLocationUpdates (LocationManager)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Github Copilot alternatives
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