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

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

Best Java code snippets using com.gs.obevo.api.appdata.DeployExecution.getAttributes (Showing top 16 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: 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-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: com.goldmansachs.obevo/obevo-db-db2

  private void verifyExecution3(DeployExecution execution3) {
    assertEquals("try3", execution3.getReason());
    assertEquals(
        Sets.immutable.with(
            new DeployExecutionAttributeImpl("F", "fval")
        ),
        execution3.getAttributes());
  }
}
origin: goldmansachs/obevo

  private void verifyExecution3(DeployExecution execution3) {
    assertEquals("try3", execution3.getReason());
    assertEquals(
        Sets.immutable.with(
            new DeployExecutionAttributeImpl("F", "fval")
        ),
        execution3.getAttributes());
  }
}
origin: com.goldmansachs.obevo/obevo-db-db2

private void verifyExecution2(DeployExecution execution2) {
  assertEquals("try2", execution2.getReason());
  assertEquals(
      Sets.immutable.with(
          new DeployExecutionAttributeImpl("C", "cval2"),
          new DeployExecutionAttributeImpl("E", "eval")
      ),
      execution2.getAttributes());
}
origin: com.goldmansachs.obevo/obevo-db-db2

private void verifyExecution1(DeployExecution execution1) {
  assertEquals("try1", execution1.getReason());
  assertEquals(
      Sets.immutable.with(
          new DeployExecutionAttributeImpl("A", "aval"),
          new DeployExecutionAttributeImpl("B", "bval")
      ),
      execution1.getAttributes());
}
origin: com.goldmansachs.obevo/obevo-db-sybase-ase

private void verifyExecution1(DeployExecution execution1) {
  assertEquals("try1", execution1.getReason());
  assertEquals(
      Sets.immutable.<DeployExecutionAttribute>with(new DeployExecutionAttributeImpl("attr1", "v1_val1"), new DeployExecutionAttributeImpl("attr2", "v1_val2")),
      execution1.getAttributes());
}
origin: goldmansachs/obevo

private void verifyExecution1(DeployExecution execution1) {
  assertEquals("try1", execution1.getReason());
  assertEquals(
      Sets.immutable.with(
          new DeployExecutionAttributeImpl("A", "aval"),
          new DeployExecutionAttributeImpl("B", "bval")
      ),
      execution1.getAttributes());
}
origin: goldmansachs/obevo

private void verifyExecution1(DeployExecution execution1) {
  assertEquals("try1", execution1.getReason());
  assertEquals(
      Sets.immutable.<DeployExecutionAttribute>with(new DeployExecutionAttributeImpl("attr1", "v1_val1"), new DeployExecutionAttributeImpl("attr2", "v1_val2")),
      execution1.getAttributes());
}
origin: goldmansachs/obevo

private void verifyExecution2(DeployExecution execution2) {
  assertEquals("try2", execution2.getReason());
  assertEquals(
      Sets.immutable.with(
          new DeployExecutionAttributeImpl("C", "cval2"),
          new DeployExecutionAttributeImpl("E", "eval")
      ),
      execution2.getAttributes());
}
origin: com.goldmansachs.obevo/obevo-db-sybase-ase

private void verifyExecution2(DeployExecution execution2) {
  assertEquals("try2", execution2.getReason());
  assertEquals(
      Sets.immutable.<DeployExecutionAttribute>with(new DeployExecutionAttributeImpl("attr1", "v2_val1"), new DeployExecutionAttributeImpl("attr2", "v2_val2"), new DeployExecutionAttributeImpl("attr3", "v2_val3")),
      execution2.getAttributes());
}
origin: com.goldmansachs.obevo/obevo-db-db2

private void verifyExecution1a(DeployExecution execution1) {
  assertEquals("try1a-noop", execution1.getReason());
  assertEquals(
      Sets.immutable.with(
          new DeployExecutionAttributeImpl("A", "aval"),
          new DeployExecutionAttributeImpl("B", "bval"),
          new DeployExecutionAttributeImpl("C", "cval")
      ),
      execution1.getAttributes());
}
origin: goldmansachs/obevo

private void verifyExecution2(DeployExecution execution2) {
  assertEquals("try2", execution2.getReason());
  assertEquals(
      Sets.immutable.<DeployExecutionAttribute>with(new DeployExecutionAttributeImpl("attr1", "v2_val1"), new DeployExecutionAttributeImpl("attr2", "v2_val2"), new DeployExecutionAttributeImpl("attr3", "v2_val3")),
      execution2.getAttributes());
}
origin: goldmansachs/obevo

private void verifyExecution1a(DeployExecution execution1) {
  assertEquals("try1a-noop", execution1.getReason());
  assertEquals(
      Sets.immutable.with(
          new DeployExecutionAttributeImpl("A", "aval"),
          new DeployExecutionAttributeImpl("B", "bval"),
          new DeployExecutionAttributeImpl("C", "cval")
      ),
      execution1.getAttributes());
}
origin: com.goldmansachs.obevo/obevo-db

);
for (DeployExecutionAttribute deployExecutionAttribute : entry.getAttributes()) {
  jdbc.update(conn, "INSERT INTO " + platform.getSchemaPrefix(physicalSchema) + deployExecutionAttributeTableName + " " +
          attrInsertColumnString + " " +
origin: goldmansachs/obevo

);
for (DeployExecutionAttribute deployExecutionAttribute : entry.getAttributes()) {
  jdbc.update(conn, "INSERT INTO " + platform.getSchemaPrefix(physicalSchema) + deployExecutionAttributeTableName + " " +
          attrInsertColumnString + " " +
com.gs.obevo.api.appdataDeployExecutiongetAttributes

Popular methods of DeployExecution

  • getId
  • getProductVersion
  • getReason
  • isRollback
  • getDeployTime
  • 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