Codota Logo
DeployExecution.getDeployTime
Code IndexAdd Codota to your IDE (free)

How to use
getDeployTime
method
in
com.gs.obevo.api.appdata.DeployExecution

Best Java code snippets using com.gs.obevo.api.appdata.DeployExecution.getDeployTime (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: com.goldmansachs.obevo/obevo-core

private void logDeployExecutions(ImmutableCollection<DeployExecution> deployExecutions, String message) {
  if (LOG.isInfoEnabled()) {
    LOG.info("Found {} {} for this schema", deployExecutions.size(), message);
    if (LOG.isDebugEnabled()) {
      for (DeployExecution deployExecution : deployExecutions.toSortedListBy(new Function<DeployExecution, Long>() {
        @Override
        public Long valueOf(DeployExecution deployExecution1) {
          return deployExecution1.getId();
        }
      })) {
        LOG.debug("Execution ID={}, Version Name={}, Deploy Time={}, Rollback={}",
            deployExecution.getId(), getDeployVersion(deployExecution), deployExecution.getDeployTime(), deployExecution.isRollback());
      }
    }
  }
}
origin: goldmansachs/obevo

private void logDeployExecutions(ImmutableCollection<DeployExecution> deployExecutions, String message) {
  if (LOG.isInfoEnabled()) {
    LOG.info("Found {} {} for this schema", deployExecutions.size(), message);
    if (LOG.isDebugEnabled()) {
      for (DeployExecution deployExecution : deployExecutions.toSortedListBy(new Function<DeployExecution, Long>() {
        @Override
        public Long valueOf(DeployExecution deployExecution1) {
          return deployExecution1.getId();
        }
      })) {
        LOG.debug("Execution ID={}, Version Name={}, Deploy Time={}, Rollback={}",
            deployExecution.getId(), getDeployVersion(deployExecution), deployExecution.getDeployTime(), deployExecution.isRollback());
      }
    }
  }
}
origin: com.goldmansachs.obevo/obevo-mongodb

private Document getDocumentFromDeployExecution(DeployExecution deployExecution, boolean forUpdate) {
  ImmutableSet<Document> attrs = deployExecution.getAttributes().collect(new Function<DeployExecutionAttribute, Document>() {
    @Override
    public Document valueOf(DeployExecutionAttribute object) {
      return new Document()
          .append(attrNameColName, object.getName())
          .append(attrValueColName, object.getValue());
    }
  });
  return new Document()
      .append(idColName, deployExecution.getId())
      .append(requesterIdColName, deployExecution.getRequesterId())
      .append(deployExecutionIdColName, deployExecution.getExecutorId())
      .append(dbSchemaColName, deployExecution.getSchema())
      .append(toolVersionColName, deployExecution.getToolVersion())
      .append(deployTimeColName, new Date(deployExecution.getDeployTime().getTime()))
      .append(initCommandColName, deployExecution.isInit())
      .append(rollbackCommandColName, deployExecution.isRollback())
      .append(productVersionColName, deployExecution.getProductVersion())
      .append(reasonColName, deployExecution.getReason())
      .append("attrs", new ArrayList<>(attrs.toList()));
}
origin: goldmansachs/obevo

private Document getDocumentFromDeployExecution(DeployExecution deployExecution, boolean forUpdate) {
  ImmutableSet<Document> attrs = deployExecution.getAttributes().collect(new Function<DeployExecutionAttribute, Document>() {
    @Override
    public Document valueOf(DeployExecutionAttribute object) {
      return new Document()
          .append(attrNameColName, object.getName())
          .append(attrValueColName, object.getValue());
    }
  });
  return new Document()
      .append(idColName, deployExecution.getId())
      .append(requesterIdColName, deployExecution.getRequesterId())
      .append(deployExecutionIdColName, deployExecution.getExecutorId())
      .append(dbSchemaColName, deployExecution.getSchema())
      .append(toolVersionColName, deployExecution.getToolVersion())
      .append(deployTimeColName, new Date(deployExecution.getDeployTime().getTime()))
      .append(initCommandColName, deployExecution.isInit())
      .append(rollbackCommandColName, deployExecution.isRollback())
      .append(productVersionColName, deployExecution.getProductVersion())
      .append(reasonColName, deployExecution.getReason())
      .append("attrs", new ArrayList<>(attrs.toList()));
}
origin: goldmansachs/obevo

entry.getId(),
entry.getDeployTime(),
entry.getExecutorId(),
entry.getToolVersion() != null ? entry.getToolVersion() : "0.0.0",
origin: com.goldmansachs.obevo/obevo-db

entry.getId(),
entry.getDeployTime(),
entry.getExecutorId(),
entry.getToolVersion() != null ? entry.getToolVersion() : "0.0.0",
com.gs.obevo.api.appdataDeployExecutiongetDeployTime

Popular methods of DeployExecution

  • getId
  • getAttributes
  • getProductVersion
  • getReason
  • isRollback
  • getExecutorId
  • getRequesterId
  • getSchema
  • getToolVersion
  • isInit
  • getStatus
  • setStatus
  • getStatus,
  • setStatus

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • getSystemService (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JFrame (javax.swing)
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