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

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

Best Java code snippets using com.gs.obevo.api.appdata.DeployExecution.getProductVersion (Showing top 7 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 String getDeployVersion(DeployExecution deployExecution) {
    return ObjectUtils.defaultIfNull(deployExecution.getProductVersion(), "no-version-available");
  }
}
origin: goldmansachs/obevo

  private String getDeployVersion(DeployExecution deployExecution) {
    return ObjectUtils.defaultIfNull(deployExecution.getProductVersion(), "no-version-available");
  }
}
origin: goldmansachs/obevo

  private DeployExecution newExecution(long id, String versionName, boolean rollback) {
    DeployExecution exec = mock(DeployExecution.class);
    when(exec.getId()).thenReturn(id);
    when(exec.isRollback()).thenReturn(rollback);
    when(exec.getProductVersion()).thenReturn(versionName);

    return exec;
  }
}
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: com.goldmansachs.obevo/obevo-db

    entry.getReason(),
    entry.getSchema(),
    entry.getProductVersion()
);
origin: goldmansachs/obevo

    entry.getReason(),
    entry.getSchema(),
    entry.getProductVersion()
);
com.gs.obevo.api.appdataDeployExecutiongetProductVersion

Popular methods of DeployExecution

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

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • startActivity (Activity)
  • Menu (java.awt)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • BoxLayout (javax.swing)
  • JLabel (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