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

How to use
removeMetadata
method
in
com.thoughtworks.go.plugin.access.packagematerial.RepositoryMetadataStore

Best Java code snippets using com.thoughtworks.go.plugin.access.packagematerial.RepositoryMetadataStore.removeMetadata (Showing top 4 results out of 315)

origin: gocd/gocd

  @Override
  public void pluginUnLoaded(GoPluginDescriptor pluginDescriptor) {
    repositoryMetadataStore.removeMetadata(pluginDescriptor.id());
    packageMetadataStore.removeMetadata(pluginDescriptor.id());
  }
}
origin: gocd/gocd

  public static void clear() {
    List<String> plugins = RepositoryMetadataStore.getInstance().getPlugins();
    for (String pluginId : plugins) {
      RepositoryMetadataStore.getInstance().removeMetadata(pluginId);
      PackageMetadataStore.getInstance().removeMetadata(pluginId);
    }
  }
}
origin: gocd/gocd

@Before
public void setUp() throws Exception {
  pluginDescriptor = new GoPluginDescriptor("plugin-id", "1.0", null, null, null, true);
  pluginManager = mock(PluginManager.class);
  packageRepositoryExtension = mock(PackageRepositoryExtension.class);
  metadataLoader = new PackageMaterialMetadataLoader(pluginManager, packageRepositoryExtension);
  RepositoryMetadataStore.getInstance().removeMetadata(pluginDescriptor.id());
  PackageMetadataStore.getInstance().removeMetadata(pluginDescriptor.id());
}
origin: gocd/gocd

  public static void clear() {
    List<String> plugins = RepositoryMetadataStore.getInstance().getPlugins();
    for (String pluginId : plugins) {
      RepositoryMetadataStore.getInstance().removeMetadata(pluginId);
      PackageMetadataStore.getInstance().removeMetadata(pluginId);
    }
  }
}
com.thoughtworks.go.plugin.access.packagematerialRepositoryMetadataStoreremoveMetadata

Popular methods of RepositoryMetadataStore

  • getInstance
  • addMetadataFor
  • getMetadata
  • getPlugins
  • hasOption
  • hasPlugin
  • clear
  • getRepositoryMetadata

Popular in Java

  • Reading from database using SQL prepared statement
  • getContentResolver (Context)
  • setContentView (Activity)
  • setRequestProperty (URLConnection)
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top Sublime Text 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