|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ArtifactRepository
Represents a remote repository instance. The DeploymentSynchronizer interacts with the remote repository through this interface.
| Method Summary | |
|---|---|
boolean |
checkout(int tenantId,
String filePath)
Checkout all or updated artifacts from the remote repository to the local file system |
boolean |
checkout(int tenantId,
String filePath,
int depth)
Checkout artifacts from the remote repository with given depth to the local file system |
void |
cleanupAutoCheckout()
Clean up any actions taken during initializing auto checkout |
void |
cleanupTenantContext(int tenantId)
Cleanup the cached tenant context for the tenant specified by tenantId |
boolean |
commit(int tenantId,
String filePath)
Commit the artifacts in the local repository to the remote repository |
List<RepositoryConfigParameter> |
getParameters()
Get the list of configuration parameters specific for each Repository. |
String |
getRepositoryType()
Get the Repository Type of the Synchronizer |
void |
init(int tenantId)
Initializes the remote artifact repository and prepare to synchronize the local repository against it. |
void |
initAutoCheckout(boolean useEventing)
Setup the remote repository for auto checkouts |
boolean |
update(int tenantId,
String rootPath,
String filePathToUpdate,
int depth)
Invoke the update operation on the specified file in the repository, with given depth |
| Method Detail |
|---|
void init(int tenantId)
throws DeploymentSynchronizerException
tenantId - ID of the tenant to which the synchronizer/repository belongs
DeploymentSynchronizerException - If an error occurs while initializing the repository
boolean commit(int tenantId,
String filePath)
throws DeploymentSynchronizerException
tenantId - tenant IdfilePath - File path of the local repository
DeploymentSynchronizerException - on error
boolean checkout(int tenantId,
String filePath)
throws DeploymentSynchronizerException
tenantId - tenant IdfilePath - File path of the local repository
DeploymentSynchronizerException - on error
void initAutoCheckout(boolean useEventing)
throws DeploymentSynchronizerException
useEventing - If eventing based auto checkout has been requested
DeploymentSynchronizerException - on errorvoid cleanupAutoCheckout()
String getRepositoryType()
List<RepositoryConfigParameter> getParameters()
boolean checkout(int tenantId,
String filePath,
int depth)
throws DeploymentSynchronizerException
tenantId - tenant IdfilePath - File path of the local repositorydepth - - given depth to get the update
DeploymentSynchronizerException - on error
boolean update(int tenantId,
String rootPath,
String filePathToUpdate,
int depth)
throws DeploymentSynchronizerException
tenantId - tenant IdrootPath - - root path of the repository of which the dep-sychronizer is registeredfilePathToUpdate - - location of the file in the repositorydepth - Depth given to update, (eg 0 - empty, 3 - infinite)
DeploymentSynchronizerException - on errorvoid cleanupTenantContext(int tenantId)
tenantId - tenant Id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||