Codota Logo
ChangeInput.setContentHash
Code IndexAdd Codota to your IDE (free)

How to use
setContentHash
method
in
com.gs.obevo.api.appdata.ChangeInput

Best Java code snippets using com.gs.obevo.api.appdata.ChangeInput.setContentHash (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: goldmansachs/obevo

private ChangeInput create(ChangeType changeType, String schema, String objectName, String changeName,
    int orderWithinObject, String hash, String content) {
  ChangeInput changeInput = new ChangeInput(false);
  changeInput.setChangeKey(new ChangeKey(schema, changeType, objectName, changeName));
  changeInput.setOrderWithinObject(orderWithinObject);
  changeInput.setContentHash(hash);
  changeInput.setContent(content);
  return changeInput;
}
private ChangeInput create2(ChangeType changeType, String schema, String objectName, String changeName,
origin: goldmansachs/obevo

private ChangeInput create2(ChangeType changeType, String schema, String objectName, String changeName,
    int orderWithinObject, String hash, String content, String rollbackIfAlreadyDeployedContent, boolean active) {
  ChangeInput changeInput = new ChangeInput(false);
  changeInput.setChangeKey(new ChangeKey(schema, changeType, objectName, changeName));
  changeInput.setOrderWithinObject(orderWithinObject);
  changeInput.setContentHash(hash);
  changeInput.setContent(content);
  changeInput.setRollbackIfAlreadyDeployedContent(rollbackIfAlreadyDeployedContent);
  changeInput.setActive(active);
  return changeInput;
}
private ChangeInput create3(ChangeType changeType, String schema, String objectName, String changeName,
origin: com.goldmansachs.obevo/obevo-db

  @Override
  public ChangeInput valueOf(Pair<String, Integer> object) {
    String content = object.getOne();
    int index = object.getTwo();
    ChangeType changeType = getChangeType(content, defaultChangeType);
    String changeName = "baseline-change-" + index;
    boolean active = true;
    String rollbackIfAlreadyDeployedCommand = null;
    String rollbackContent = null;
    ChangeInput change = new ChangeInput(false);
    change.setChangeKey(new ChangeKey(schema, changeType, objectName, changeName));
    change.setOrder(index);
    change.setContentHash(contentHashStrategy.hashContent(content));
    change.setContent(content);
    change.setRollbackIfAlreadyDeployedContent(rollbackIfAlreadyDeployedCommand);
    change.setActive(active);
    change.setRollbackContent(rollbackContent);
    change.setFileLocation(file);
    return change;
  }
});
origin: goldmansachs/obevo

  @Override
  public ChangeInput valueOf(Pair<String, Integer> object) {
    String content = object.getOne();
    int index = object.getTwo();
    ChangeType changeType = getChangeType(content, defaultChangeType);
    String changeName = "baseline-change-" + index;
    boolean active = true;
    String rollbackIfAlreadyDeployedCommand = null;
    String rollbackContent = null;
    ChangeInput change = new ChangeInput(false);
    change.setChangeKey(new ChangeKey(schema, changeType, objectName, changeName));
    change.setOrder(index);
    change.setContentHash(contentHashStrategy.hashContent(content));
    change.setContent(content);
    change.setRollbackIfAlreadyDeployedContent(rollbackIfAlreadyDeployedCommand);
    change.setActive(active);
    change.setRollbackContent(rollbackContent);
    change.setFileLocation(file);
    return change;
  }
});
origin: goldmansachs/obevo

private ChangeInput create3(ChangeType changeType, String schema, String objectName, String changeName,
    int orderWithinObject, String hash, String content, String rollbackIfAlreadyDeployedContent, boolean active, ImmutableList<ArtifactRestrictions> restrictions) {
  ChangeInput changeInput = new ChangeInput(false);
  changeInput.setChangeKey(new ChangeKey(schema, changeType, objectName, changeName));
  changeInput.setOrderWithinObject(orderWithinObject);
  changeInput.setContentHash(hash);
  changeInput.setContent(content);
  changeInput.setRollbackIfAlreadyDeployedContent(rollbackIfAlreadyDeployedContent);
  changeInput.setActive(active);
  changeInput.setRestrictions(restrictions);
  return changeInput;
}
com.gs.obevo.api.appdataChangeInputsetContentHash

Popular methods of ChangeInput

  • getChangeKey
  • getObjectName
  • <init>
  • getContent
  • getMetadataSection
  • getObjectKey
  • setActive
  • setChangeKey
  • setContent
  • setRollbackIfAlreadyDeployedContent
  • getApplyGrants
  • getBaselinedChanges
  • getApplyGrants,
  • getBaselinedChanges,
  • getChangeTypeName,
  • getCodeDependencies,
  • getContentHash,
  • getDropContent,
  • getFileLocation,
  • getRestrictions,
  • getRollbackIfAlreadyDeployedContent

Popular in Java

  • Start an intent from android
  • getApplicationContext (Context)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • addToBackStack (FragmentTransaction)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • Runner (org.openjdk.jmh.runner)
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