Tabnine Logo
PackageMetadataStore.getPackageMetadata
Code IndexAdd Tabnine to your IDE (free)

How to use
getPackageMetadata
method
in
com.thoughtworks.go.plugin.access.packagematerial.PackageMetadataStore

Best Java code snippets using com.thoughtworks.go.plugin.access.packagematerial.PackageMetadataStore.getPackageMetadata (Showing top 1 results out of 315)

origin: gocd/gocd

public void addConfigurations(List<ConfigurationProperty> configurations) {
  ConfigurationPropertyBuilder builder = new ConfigurationPropertyBuilder();
  for (ConfigurationProperty property : configurations) {
    if (doesPluginExist()) {
      com.thoughtworks.go.plugin.api.material.packagerepository.PackageConfiguration packageMetadata = PackageMetadataStore.getInstance().getPackageMetadata(pluginId());
      if (isValidConfiguration(property.getConfigKeyName(), packageMetadata)) {
        configuration.add(builder.create(property.getConfigKeyName(), property.getConfigValue(), property.getEncryptedValue(), packagePropertyFor(property.getConfigKeyName(), packageMetadata).getOption(Property.SECURE)));
      } else {
        configuration.add(property);
      }
    } else {
      configuration.add(property);
    }
  }
}
com.thoughtworks.go.plugin.access.packagematerialPackageMetadataStoregetPackageMetadata

Popular methods of PackageMetadataStore

  • getInstance
  • addMetadataFor
  • getMetadata
  • removeMetadata
  • hasOption
  • clear
  • hasPlugin

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • runOnUiThread (Activity)
  • addToBackStack (FragmentTransaction)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top Vim plugins
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