|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdministrationService
Method Summary | |
---|---|
java.lang.Boolean |
configureDatabaseConsumer(java.lang.String consumerId,
boolean enable)
Configures (enable or disable) database consumer. |
java.lang.Boolean |
configureRepositoryConsumer(java.lang.String repoId,
java.lang.String consumerId,
boolean enable)
Configures (enable or disable) repository consumer. |
java.lang.Boolean |
deleteArtifact(java.lang.String repoId,
java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
Deletes given artifact from the specified repository. |
java.lang.Boolean |
executeDatabaseScanner()
Executes the database scanner. |
java.lang.Boolean |
executeRepositoryScanner(java.lang.String repoId)
Executes repository scanner on the given repository. |
java.util.List<java.lang.String> |
getAllDatabaseConsumers()
Gets all available database consumers. |
java.util.List<ManagedRepository> |
getAllManagedRepositories()
Gets all managed repositories. |
java.util.List<RemoteRepository> |
getAllRemoteRepositories()
Gets all remote repositories. |
java.util.List<java.lang.String> |
getAllRepositoryConsumers()
Gets all available repository consumers. |
Method Detail |
---|
java.lang.Boolean executeRepositoryScanner(java.lang.String repoId) throws java.lang.Exception
repoId
- id of the repository to be scanned
java.lang.Exception
java.lang.Boolean executeDatabaseScanner() throws java.lang.Exception
java.lang.Exception
java.util.List<java.lang.String> getAllDatabaseConsumers()
java.lang.Boolean configureDatabaseConsumer(java.lang.String consumerId, boolean enable) throws java.lang.Exception
consumerId
- id of the database consumerenable
- flag whether to enable or disable the specified consumer
java.lang.Exception
java.util.List<java.lang.String> getAllRepositoryConsumers()
java.lang.Boolean configureRepositoryConsumer(java.lang.String repoId, java.lang.String consumerId, boolean enable) throws java.lang.Exception
repoId
- consumerId
- enable
-
java.lang.Exception
java.util.List<ManagedRepository> getAllManagedRepositories()
java.util.List<RemoteRepository> getAllRemoteRepositories()
java.lang.Boolean deleteArtifact(java.lang.String repoId, java.lang.String groupId, java.lang.String artifactId, java.lang.String version) throws java.lang.Exception
repoId
- id of the repository where the artifact to be deleted residesgroupId
- groupId of the artifact to be deletedartifactId
- artifactId of the artifact to be deletedversion
- version of the artifact to be deleted
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |