Modifier and Type | Field and Description |
---|---|
org.savantbuild.output.Output |
output |
java.lang.String |
password |
java.lang.String |
repository |
java.lang.String |
username |
Constructor and Description |
---|
SVNProcess(org.savantbuild.output.Output output,
java.lang.String repository,
java.lang.String username,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
void |
deleteIntegrationBuilds(Artifact artifact)
Not implemented yet.
|
java.nio.file.Path |
fetch(Artifact artifact,
java.lang.String item,
PublishWorkflow publishWorkflow)
Fetches the artifact from the SubVersion repository by performing an export to a temporary file and checking the
MD5 sum if it exists.
|
java.nio.file.Path |
publish(Artifact artifact,
java.lang.String item,
java.nio.file.Path artifactFile)
Publishes the given artifact item into the SubVersion repository.
|
public final org.savantbuild.output.Output output
public final java.lang.String password
public final java.lang.String repository
public final java.lang.String username
public SVNProcess(org.savantbuild.output.Output output, java.lang.String repository, java.lang.String username, java.lang.String password)
public void deleteIntegrationBuilds(Artifact artifact) throws ProcessFailureException
deleteIntegrationBuilds
in interface Process
artifact
- The artifact. This artifacts version is the next integration build version.ProcessFailureException
public java.nio.file.Path fetch(Artifact artifact, java.lang.String item, PublishWorkflow publishWorkflow) throws ProcessFailureException
fetch
in interface Process
artifact
- The artifact to fetch and store.item
- The item to fetch.publishWorkflow
- The publish workflow used to publish the artifact after it has been successfully fetched.ProcessFailureException
- If the SVN fetch failed.public java.nio.file.Path publish(Artifact artifact, java.lang.String item, java.nio.file.Path artifactFile) throws ProcessFailureException
publish
in interface Process
artifact
- The artifact that the item might be associated with.item
- The name of the item to publish.artifactFile
- The file that is the item.ProcessFailureException
- If the publish fails.