congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
PackageConfigurations.getPackageConfiguration
Code IndexAdd Tabnine to your IDE (free)

How to use
getPackageConfiguration
method
in
com.thoughtworks.go.plugin.access.packagematerial.PackageConfigurations

Best Java code snippets using com.thoughtworks.go.plugin.access.packagematerial.PackageConfigurations.getPackageConfiguration (Showing top 2 results out of 315)

origin: gocd/gocd

  public com.thoughtworks.go.plugin.api.material.packagerepository.PackageConfiguration getPackageMetadata(String pluginId) {

    PackageConfigurations metadata = packageMetadataStore.getMetadata(pluginId);
    if (metadata != null) {
      return metadata.getPackageConfiguration();
    }
    return null;
  }
}
origin: gocd/gocd

@Test
public void shouldFetchPackageMetadataForPluginsWhichImplementPackageRepositoryMaterialExtensionPoint() {
  RepositoryConfiguration expectedRepoConfigurations = new RepositoryConfiguration();
  com.thoughtworks.go.plugin.api.material.packagerepository.PackageConfiguration expectedPackageConfigurations = new PackageConfiguration();
  when(packageRepositoryExtension.getRepositoryConfiguration(pluginDescriptor.id())).thenReturn(expectedRepoConfigurations);
  when(packageRepositoryExtension.getPackageConfiguration(pluginDescriptor.id())).thenReturn(expectedPackageConfigurations);
  metadataLoader.fetchRepositoryAndPackageMetaData(pluginDescriptor);
  assertThat(RepositoryMetadataStore.getInstance().getMetadata(pluginDescriptor.id()).getRepositoryConfiguration(), is(expectedRepoConfigurations));
  assertThat(PackageMetadataStore.getInstance().getMetadata(pluginDescriptor.id()).getPackageConfiguration(), is(expectedPackageConfigurations));
}
com.thoughtworks.go.plugin.access.packagematerialPackageConfigurationsgetPackageConfiguration

Popular methods of PackageConfigurations

  • <init>
  • add
  • addConfiguration
  • get
  • getRepositoryConfiguration
  • list

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • addToBackStack (FragmentTransaction)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Path (java.nio.file)
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now