com.nirima.jenkins
Class SimpleArtifactCopier
java.lang.Object
com.nirima.jenkins.SimpleArtifactCopier
- All Implemented Interfaces:
- IArtifactCopier
public class SimpleArtifactCopier
- extends Object
- implements IArtifactCopier
Method Summary |
protected void |
fetchFile(org.apache.maven.artifact.Artifact art,
String path)
|
protected List<String> |
fetchFiles(org.apache.maven.artifact.Artifact art)
|
void |
updateAll(org.apache.maven.artifact.Artifact art)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleArtifactCopier
public SimpleArtifactCopier(URL host,
File localRepo)
throws URISyntaxException
- Throws:
URISyntaxException
updateAll
public void updateAll(org.apache.maven.artifact.Artifact art)
throws IOException,
org.apache.http.HttpException,
URISyntaxException,
ParserConfigurationException,
SAXException,
TransformerException
- Specified by:
updateAll
in interface IArtifactCopier
- Throws:
IOException
org.apache.http.HttpException
URISyntaxException
ParserConfigurationException
SAXException
TransformerException
fetchFile
protected void fetchFile(org.apache.maven.artifact.Artifact art,
String path)
throws IOException,
URISyntaxException,
UnsupportedEncodingException,
UnknownHostException,
org.apache.http.HttpException,
TransformerException,
SAXException,
ParserConfigurationException
- Throws:
IOException
URISyntaxException
UnsupportedEncodingException
UnknownHostException
org.apache.http.HttpException
TransformerException
SAXException
ParserConfigurationException
fetchFiles
protected List<String> fetchFiles(org.apache.maven.artifact.Artifact art)
throws IOException,
URISyntaxException,
UnsupportedEncodingException,
UnknownHostException,
org.apache.http.HttpException,
TransformerException,
SAXException,
ParserConfigurationException
- Throws:
IOException
URISyntaxException
UnsupportedEncodingException
UnknownHostException
org.apache.http.HttpException
TransformerException
SAXException
ParserConfigurationException
Copyright © 2004-2011. All Rights Reserved.