Tabnine Logo
PipelineExecutionTraceKey
Code IndexAdd Tabnine to your IDE (free)

How to use
PipelineExecutionTraceKey
in
org.guvnor.ala.ui.model

Best Java code snippets using org.guvnor.ala.ui.model.PipelineExecutionTraceKey (Showing top 20 results out of 315)

origin: org.kie.workbench/kie-wb-common-ala-ui-backend

@Override
public void stopPipelineExecution(final PipelineExecutionTraceKey pipelineExecutionTraceKey) {
  checkNotNull("pipelineExecutionTraceKey",
         pipelineExecutionTraceKey);
  pipelineService.stopPipelineExecution(pipelineExecutionTraceKey.getId());
  pipelineExecutionChangeEvent.fire(new PipelineExecutionChangeEvent(PipelineExecutionChange.STOPPED,
                                    pipelineExecutionTraceKey));
}
origin: org.kie.workbench/kie-wb-common-ala-ui-backend

@Override
public void afterPipelineExecution(AfterPipelineExecutionEvent apee) {
  pipelineStatusChangeEvent.fire(new PipelineStatusChangeEvent(new PipelineExecutionTraceKey(apee.getExecutionId()),
                                 PipelineStatus.FINISHED));
}
origin: org.kie.workbench/kie-wb-common-ala-ui-api

@Override
public boolean equals(Object o) {
  if (this == o) {
    return true;
  }
  if (o == null || getClass() != o.getClass()) {
    return false;
  }
  PipelineStatusChangeEvent that = (PipelineStatusChangeEvent) o;
  if (pipelineExecutionTraceKey != null ? !pipelineExecutionTraceKey.equals(that.pipelineExecutionTraceKey) : that.pipelineExecutionTraceKey != null) {
    return false;
  }
  return status == that.status;
}
origin: org.kie.workbench/kie-wb-common-ala-ui-api

  @Override
  public int hashCode() {
    int result = pipelineExecutionTraceKey != null ? pipelineExecutionTraceKey.hashCode() : 0;
    result = ~~result;
    result = 31 * result + (stage != null ? stage.hashCode() : 0);
    result = ~~result;
    result = 31 * result + (status != null ? status.hashCode() : 0);
    result = ~~result;
    return result;
  }
}
origin: org.guvnor/guvnor-ala-ui-api

  @Override
  public int hashCode() {
    int result = pipelineExecutionTraceKey != null ? pipelineExecutionTraceKey.hashCode() : 0;
    result = ~~result;
    result = 31 * result + (stage != null ? stage.hashCode() : 0);
    result = ~~result;
    result = 31 * result + (status != null ? status.hashCode() : 0);
    result = ~~result;
    return result;
  }
}
origin: org.kie.workbench/kie-wb-common-ala-ui-backend

@Override
public void deletePipelineExecution(final PipelineExecutionTraceKey pipelineExecutionTraceKey) {
  checkNotNull("pipelineExecutionTraceKey",
         pipelineExecutionTraceKey);
  pipelineService.deletePipelineExecution(pipelineExecutionTraceKey.getId());
  pipelineExecutionChangeEvent.fire(new PipelineExecutionChangeEvent(PipelineExecutionChange.DELETED,
                                    pipelineExecutionTraceKey));
}
origin: org.kie.workbench/kie-wb-common-ala-ui-backend

  @Override
  public void onPipelineError(OnErrorPipelineExecutionEvent oepee) {
    pipelineStatusChangeEvent.fire(new PipelineStatusChangeEvent(new PipelineExecutionTraceKey(oepee.getExecutionId()),
                                   PipelineStatus.ERROR));
  }
}
origin: org.kie.workbench/kie-wb-common-ala-ui-api

@Override
public boolean equals(Object o) {
  if (this == o) {
    return true;
  }
  if (o == null || getClass() != o.getClass()) {
    return false;
  }
  PipelineExecutionChangeEvent that = (PipelineExecutionChangeEvent) o;
  if (change != that.change) {
    return false;
  }
  return pipelineExecutionTraceKey != null ? pipelineExecutionTraceKey.equals(that.pipelineExecutionTraceKey) : that.pipelineExecutionTraceKey == null;
}
origin: org.kie.workbench/kie-wb-common-ala-ui-api

  @Override
  public int hashCode() {
    int result = change != null ? change.hashCode() : 0;
    result = ~~result;
    result = 31 * result + (pipelineExecutionTraceKey != null ? pipelineExecutionTraceKey.hashCode() : 0);
    result = ~~result;
    return result;
  }
}
origin: org.kie.workbench/kie-wb-common-ala-ui-client

private RemoteCallback<Void> getStopPipelineSuccessCallback() {
  return aVoid -> notification.fire(new NotificationEvent(translationService.format(RuntimePresenter_PipelineExecutionStopSuccessMessage,
                                           item.getPipelineTrace().getKey().getId()),
                              NotificationEvent.NotificationType.SUCCESS));
}
origin: org.kie.workbench/kie-wb-common-ala-ui-backend

@Override
public void beforePipelineExecution(BeforePipelineExecutionEvent bpee) {
  pipelineStatusChangeEvent.fire(new PipelineStatusChangeEvent(new PipelineExecutionTraceKey(bpee.getExecutionId()),
                                 PipelineStatus.RUNNING));
}
origin: org.guvnor/guvnor-ala-ui-api

@Override
public boolean equals(Object o) {
  if (this == o) {
    return true;
  }
  if (o == null || getClass() != o.getClass()) {
    return false;
  }
  PipelineStatusChangeEvent that = (PipelineStatusChangeEvent) o;
  if (pipelineExecutionTraceKey != null ? !pipelineExecutionTraceKey.equals(that.pipelineExecutionTraceKey) : that.pipelineExecutionTraceKey != null) {
    return false;
  }
  return status == that.status;
}
origin: org.kie.workbench/kie-wb-common-ala-ui-api

  @Override
  public int hashCode() {
    int result = pipelineExecutionTraceKey != null ? pipelineExecutionTraceKey.hashCode() : 0;
    result = ~~result;
    result = 31 * result + (status != null ? status.hashCode() : 0);
    result = ~~result;
    return result;
  }
}
origin: org.kie.workbench/kie-wb-common-ala-ui-client

private RemoteCallback<Void> getDeletePipelineSuccessCallback() {
  return aVoid -> notification.fire(new NotificationEvent(translationService.format(RuntimePresenter_PipelineExecutionDeleteSuccessMessage,
                                           item.getPipelineTrace().getKey().getId()),
                              NotificationEvent.NotificationType.SUCCESS));
}
origin: org.kie.workbench/kie-wb-common-ala-ui-backend

@Override
public void beforeStageExecution(BeforeStageExecutionEvent bsee) {
  stageStatusChangeEvent.fire(new StageStatusChangeEvent(new PipelineExecutionTraceKey(bsee.getExecutionId()),
                              bsee.getStage().getName(),
                              PipelineStatus.RUNNING));
}
origin: org.guvnor/guvnor-ala-ui-api

@Override
public boolean equals(Object o) {
  if (this == o) {
    return true;
  }
  if (o == null || getClass() != o.getClass()) {
    return false;
  }
  PipelineExecutionChangeEvent that = (PipelineExecutionChangeEvent) o;
  if (change != that.change) {
    return false;
  }
  return pipelineExecutionTraceKey != null ? pipelineExecutionTraceKey.equals(that.pipelineExecutionTraceKey) : that.pipelineExecutionTraceKey == null;
}
origin: org.guvnor/guvnor-ala-ui-api

  @Override
  public int hashCode() {
    int result = pipelineExecutionTraceKey != null ? pipelineExecutionTraceKey.hashCode() : 0;
    result = ~~result;
    result = 31 * result + (status != null ? status.hashCode() : 0);
    result = ~~result;
    return result;
  }
}
origin: org.guvnor/guvnor-ala-ui-client

private RemoteCallback<Void> getStopPipelineSuccessCallback() {
  return aVoid -> notification.fire(new NotificationEvent(translationService.format(RuntimePresenter_PipelineExecutionStopSuccessMessage,
                                           item.getPipelineTrace().getKey().getId()),
                              NotificationEvent.NotificationType.SUCCESS));
}
origin: org.kie.workbench/kie-wb-common-ala-ui-backend

@Override
public void afterStageExecution(AfterStageExecutionEvent asee) {
  stageStatusChangeEvent.fire(new StageStatusChangeEvent(new PipelineExecutionTraceKey(asee.getExecutionId()),
                              asee.getStage().getName(),
                              PipelineStatus.FINISHED));
}
origin: org.kie.workbench/kie-wb-common-ala-ui-api

@Override
public boolean equals(Object o) {
  if (this == o) {
    return true;
  }
  if (o == null || getClass() != o.getClass()) {
    return false;
  }
  StageStatusChangeEvent that = (StageStatusChangeEvent) o;
  if (pipelineExecutionTraceKey != null ? !pipelineExecutionTraceKey.equals(that.pipelineExecutionTraceKey) : that.pipelineExecutionTraceKey != null) {
    return false;
  }
  if (stage != null ? !stage.equals(that.stage) : that.stage != null) {
    return false;
  }
  return status == that.status;
}
org.guvnor.ala.ui.modelPipelineExecutionTraceKey

Javadoc

Identifier of a pipeline execution.

Most used methods

  • getId
  • <init>
  • equals
  • hashCode

Popular in Java

  • Making http post requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getContentResolver (Context)
  • setContentView (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • BoxLayout (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top 12 Jupyter Notebook extensions
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