Class AbstractRepositoryService
- java.lang.Object
-
- org.jboss.set.aphrodite.repository.services.common.AbstractRepositoryService
-
public abstract class AbstractRepositoryService extends Object
- Author:
- Ryan Emerson
-
-
Field Summary
Fields Modifier and Type Field Description protected URLbaseUrlprotected RepositoryConfigconfigprotected RepositoryTyperepositoryType
-
Constructor Summary
Constructors Constructor Description AbstractRepositoryService(RepositoryType repositoryType)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcheckHost(URL url)static booleanexists(AbstractRepositoryService abstractRepositoryService)URLgetBaseUrl()protected abstract org.apache.commons.logging.LoggetLog()booleaninit(AphroditeConfig aphroditeConfig)booleaninit(RepositoryConfig config)booleanurlExists(URL url)
-
-
-
Field Detail
-
repositoryType
protected final RepositoryType repositoryType
-
config
protected RepositoryConfig config
-
baseUrl
protected URL baseUrl
-
-
Constructor Detail
-
AbstractRepositoryService
public AbstractRepositoryService(RepositoryType repositoryType)
-
-
Method Detail
-
getLog
protected abstract org.apache.commons.logging.Log getLog()
-
init
public boolean init(AphroditeConfig aphroditeConfig)
-
init
public boolean init(RepositoryConfig config)
-
urlExists
public boolean urlExists(URL url)
-
exists
public static boolean exists(AbstractRepositoryService abstractRepositoryService)
-
checkHost
protected void checkHost(URL url) throws NotFoundException
- Throws:
NotFoundException
-
getBaseUrl
public URL getBaseUrl()
-
-