com.nirima.jenkins
Class SimpleArtifactCopier

java.lang.Object
  extended by com.nirima.jenkins.SimpleArtifactCopier
All Implemented Interfaces:
IArtifactCopier

public class SimpleArtifactCopier
extends Object
implements IArtifactCopier


Constructor Summary
SimpleArtifactCopier(URL host, File localRepo)
           
 
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
 

Constructor Detail

SimpleArtifactCopier

public SimpleArtifactCopier(URL host,
                            File localRepo)
                     throws URISyntaxException
Throws:
URISyntaxException
Method Detail

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-2012. All Rights Reserved.