Class ArtifactRepositoryBlackboard


  • public class ArtifactRepositoryBlackboard
    extends org.eclipse.equinox.p2.repository.artifact.spi.ArtifactRepositoryFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.HashMap<java.net.URI,​org.eclipse.equinox.p2.repository.artifact.IArtifactRepository> registry  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.equinox.p2.repository.artifact.IArtifactRepository create​(java.net.URI location, java.lang.String name, java.lang.String type, java.util.Map<java.lang.String,​java.lang.String> properties)  
      private static org.eclipse.equinox.p2.repository.artifact.IArtifactRepository getRegisteredRepositoryOrNull​(java.net.URI location, org.eclipse.equinox.p2.core.IProvisioningAgent agent)  
      org.eclipse.equinox.p2.repository.artifact.IArtifactRepository load​(java.net.URI location, int flags, org.eclipse.core.runtime.IProgressMonitor monitor)  
      static void putRepository​(RepositoryBlackboardKey key, org.eclipse.equinox.p2.repository.artifact.IArtifactRepository repository)  
      • Methods inherited from class org.eclipse.equinox.p2.repository.artifact.spi.ArtifactRepositoryFactory

        getAgent, setAgent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • registry

        private static java.util.HashMap<java.net.URI,​org.eclipse.equinox.p2.repository.artifact.IArtifactRepository> registry
    • Constructor Detail

      • ArtifactRepositoryBlackboard

        public ArtifactRepositoryBlackboard()
    • Method Detail

      • putRepository

        public static void putRepository​(RepositoryBlackboardKey key,
                                         org.eclipse.equinox.p2.repository.artifact.IArtifactRepository repository)
      • create

        public org.eclipse.equinox.p2.repository.artifact.IArtifactRepository create​(java.net.URI location,
                                                                                     java.lang.String name,
                                                                                     java.lang.String type,
                                                                                     java.util.Map<java.lang.String,​java.lang.String> properties)
                                                                              throws org.eclipse.equinox.p2.core.ProvisionException
        Specified by:
        create in class org.eclipse.equinox.p2.repository.artifact.spi.ArtifactRepositoryFactory
        Throws:
        org.eclipse.equinox.p2.core.ProvisionException
      • load

        public org.eclipse.equinox.p2.repository.artifact.IArtifactRepository load​(java.net.URI location,
                                                                                   int flags,
                                                                                   org.eclipse.core.runtime.IProgressMonitor monitor)
                                                                            throws org.eclipse.equinox.p2.core.ProvisionException
        Specified by:
        load in class org.eclipse.equinox.p2.repository.artifact.spi.ArtifactRepositoryFactory
        Throws:
        org.eclipse.equinox.p2.core.ProvisionException
      • getRegisteredRepositoryOrNull

        private static org.eclipse.equinox.p2.repository.artifact.IArtifactRepository getRegisteredRepositoryOrNull​(java.net.URI location,
                                                                                                                    org.eclipse.equinox.p2.core.IProvisioningAgent agent)
                                                                                                             throws org.eclipse.equinox.p2.core.ProvisionException
        Throws:
        org.eclipse.equinox.p2.core.ProvisionException