| Package | Description |
|---|---|
| de.shadowhunt.subversion | |
| de.shadowhunt.subversion.internal |
| Modifier and Type | Method and Description |
|---|---|
void |
Repository.add(Transaction transaction,
Resource resource,
boolean parents,
InputStream content)
Upload a new revision of the resource and set properties
|
void |
Repository.commit(Transaction transaction,
String message)
Save all modifications of the current running
Transaction |
void |
Repository.copy(Transaction transaction,
Resource srcResource,
Revision srcRevision,
Resource targetResource,
boolean parents)
Recursively copy a resource in the given revision
|
Repository |
RepositoryFactory.createRepository(URI repository,
org.apache.http.client.HttpClient client,
org.apache.http.protocol.HttpContext context)
Create a new
Repository for given URI and use the given HttpClient with the HttpClient to connect to the server |
protected abstract Repository |
RepositoryFactory.createRepository0(URI saneUri,
org.apache.http.client.HttpClient client,
org.apache.http.protocol.HttpContext context) |
Transaction |
Repository.createTransaction()
Create a new
Transaction to make modifications within |
void |
Repository.delete(Transaction transaction,
Resource resource)
Delete the resource from the repository
|
InputStream |
Repository.download(Resource resource,
Revision revision)
Download the resource
|
URI |
Repository.downloadURI(Resource resource,
Revision revision)
Determine the HTTP download URI for the resource
|
boolean |
Repository.exists(Resource resource,
Revision revision)
Check if the resource already exists in the latest revision of the repository
|
static RepositoryFactory |
RepositoryFactory.getInstance()
Create a new
RepositoryFactory instance each time the method is called |
Info |
Repository.info(Resource resource,
Revision revision)
Retrieve information for the resource
|
Set<Info> |
Repository.list(Resource resource,
Revision revision,
Depth depth)
Retrieve information for the resource in the given revision and its child resources (depending on depth parameter)
|
void |
Repository.lock(Resource resource,
boolean steal)
Mark the expected revision of the resource as locked
|
List<Log> |
Repository.log(Resource resource,
Revision startRevision,
Revision endRevision,
int limit)
Retrieve the log information for the revisions between startRevision and endRevision of the resource
|
void |
Repository.mkdir(Transaction transaction,
Resource resource,
boolean parents)
Create a folder with all necessary parents folders
|
void |
Repository.move(Transaction transaction,
Resource srcResource,
Resource targetResource,
boolean parents)
Recursively move a resource (latest revision)
|
Repository |
RepositoryFactory.probeRepository(URI repository,
org.apache.http.client.HttpClient client,
org.apache.http.protocol.HttpContext context)
Create a new
Repository for given URI and use the given HttpClient with the HttpClient to connect to the server. |
void |
Repository.propertiesDelete(Transaction transaction,
Resource resource,
ResourceProperty... properties)
Remove the given properties form the resource
|
void |
Repository.propertiesSet(Transaction transaction,
Resource resource,
ResourceProperty... properties)
Set the given properties for the resource (new properties will be added, existing properties will be overridden)
|
void |
Repository.rollback(Transaction transaction)
Abort the current running
Transaction and revert all modifications |
void |
Repository.unlock(Resource resource,
boolean force)
Remove the lock on the expected revision of the resource
|
| Modifier and Type | Method and Description |
|---|---|
protected Repository |
RepositoryFactoryImpl.createRepository0(URI saneUri,
org.apache.http.client.HttpClient client,
org.apache.http.protocol.HttpContext context) |
Copyright © 2013–2014 shadowhunt. All rights reserved.