Codota Logo
ObjectKey.<init>
Code IndexAdd Codota to your IDE (free)

How to use
com.gs.obevo.api.appdata.ObjectKey
constructor

Best Java code snippets using com.gs.obevo.api.appdata.ObjectKey.<init> (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: goldmansachs/obevo

public ChangeRerunnable(ChangeType changeType, String schema, String objectName, String hash, String content) {
  this(new ChangeKey(new ObjectKey(schema, objectName, changeType), "n/a"), hash, content);
}
origin: goldmansachs/obevo

public ChangeRerunnable(ChangeType changeType, String schema, String objectName, String changeName, String hash, String content) {
  this(new ChangeKey(new ObjectKey(schema, objectName, changeType), changeName), hash, content);
}
origin: com.goldmansachs.obevo/obevo-core

public ChangeRerunnable(ChangeType changeType, String schema, String objectName, String hash, String content) {
  this(new ChangeKey(new ObjectKey(schema, objectName, changeType), "n/a"), hash, content);
}
origin: com.goldmansachs.obevo/obevo-core

public ChangeRerunnable(ChangeType changeType, String schema, String objectName, String changeName, String hash, String content) {
  this(new ChangeKey(new ObjectKey(schema, objectName, changeType), changeName), hash, content);
}
origin: goldmansachs/obevo

  private SortableDependencyGroup newChange(String schema, String changeTypeName, String objectName, String changeName, int orderWithinObject, ImmutableSet<String> dependencies) {
    ChangeType changeType = mock(ChangeType.class);
    when(changeType.getName()).thenReturn(changeTypeName);
    when(changeType.isRerunnable()).thenReturn(true);

    SortableDependency sort = mock(SortableDependency.class);
    ObjectKey key = new ObjectKey(schema, objectName, changeType);
    when(sort.getChangeKey()).thenReturn(new ChangeKey(key, changeName));
    if (dependencies != null) {
      when(sort.getCodeDependencies()).thenReturn(dependencies.collectWith(new Function2<String, CodeDependencyType, CodeDependency>() {
        @Override
        public CodeDependency value(String target, CodeDependencyType codeDependencyType) {
          return new CodeDependency(target, codeDependencyType);
        }
      }, CodeDependencyType.EXPLICIT));
    }
    when(sort.getOrderWithinObject()).thenReturn(orderWithinObject);

    // to print out a nice message for the mock; we do need the string variable on a separate line
    String keyString = key.toString();
    when(sort.toString()).thenReturn(keyString);

    SortableDependencyGroup depGroup = mock(SortableDependencyGroup.class);
    when(depGroup.getComponents()).thenReturn(Sets.immutable.<SortableDependency>with(sort));
    return depGroup;
  }
}
com.gs.obevo.api.appdataObjectKey<init>

Popular methods of ObjectKey

  • getSchema
  • getChangeType
  • getChangeTypeName
  • getObjectName
  • toString

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • orElseThrow (Optional)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
  • Option (scala)
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