com.lazerycode.selenium.repository
Class RepositoryParser

java.lang.Object
  extended by com.lazerycode.selenium.repository.RepositoryParser

public class RepositoryParser
extends Object


Constructor Summary
RepositoryParser(InputStream repositoryMapLocation, ArrayList<OS> operatingSystems, boolean thirtyTwoBit, boolean sixtyFourBit, boolean onlyGetLatestVersions)
           
 
Method Summary
 HashMap<String,FileDetails> getFilesToDownload()
          Parse the RepositoryMap.xml and return a HashMap of downloadable files.
 void specifySpecificExecutableVersions(Map<String,String> executableVersions)
          Supply a specific map of drivers and versions to download.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryParser

public RepositoryParser(InputStream repositoryMapLocation,
                        ArrayList<OS> operatingSystems,
                        boolean thirtyTwoBit,
                        boolean sixtyFourBit,
                        boolean onlyGetLatestVersions)
                 throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException
Method Detail

specifySpecificExecutableVersions

public void specifySpecificExecutableVersions(Map<String,String> executableVersions)
Supply a specific map of drivers and versions to download. This implicitly disables the ability to only get the latest versions.

Parameters:
executableVersions -

getFilesToDownload

public HashMap<String,FileDetails> getFilesToDownload()
                                               throws MalformedURLException
Parse the RepositoryMap.xml and return a HashMap of downloadable files.

Returns:
Throws:
MalformedURLException


Copyright © 2012. All Rights Reserved.