org.rhq.enterprise.server.plugins.jboss.software
Class JBossSoftwareContentSourceAdapter
java.lang.Object
org.rhq.enterprise.server.plugins.jboss.software.JBossSoftwareContentSourceAdapter
- All Implemented Interfaces:
- ContentProvider, PackageSource, RepoSource
public class JBossSoftwareContentSourceAdapter
- extends Object
- implements ContentProvider, PackageSource, RepoSource
Hook into the server to field requests on JBoss software related packages.
- Author:
- Jason Dobies
JBossSoftwareContentSourceAdapter
public JBossSoftwareContentSourceAdapter()
initialize
public void initialize(Configuration configuration)
throws Exception
- Specified by:
initialize in interface ContentProvider
- Throws:
Exception
shutdown
public void shutdown()
- Specified by:
shutdown in interface ContentProvider
testConnection
public void testConnection()
throws Exception
- Specified by:
testConnection in interface ContentProvider
- Throws:
Exception
synchronizePackages
public void synchronizePackages(String repoName,
PackageSyncReport report,
Collection<ContentProviderPackageDetails> existingPackages)
throws SyncException,
InterruptedException
- Specified by:
synchronizePackages in interface PackageSource
- Throws:
SyncException
InterruptedException
getInputStream
public InputStream getInputStream(String location)
throws Exception
- Specified by:
getInputStream in interface PackageSource
- Throws:
Exception
importRepos
public RepoImportReport importRepos()
throws Exception
- Specified by:
importRepos in interface RepoSource
- Throws:
Exception
toString
public String toString()
- Overrides:
toString in class Object
getSyncProgressWeight
public SyncProgressWeight getSyncProgressWeight()
- Specified by:
getSyncProgressWeight in interface ContentProvider
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.