| java.lang.Object |
| ↳ |
org.ops4j.pax.exam.forked.provision.PlatformImpl |
Class Overview
Handles the workflow of creating the platform. Concrete platforms should implement only the
PlatformBuilder interface. TODO Add unit tests
Summary
| Public Methods |
|
File
|
download(File workDir, URL url, String displayName, Boolean overwrite, boolean checkAttributes, boolean failOnValidation, boolean downloadFeeback)
Downloads files from urls.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
File
download
(File workDir, URL url, String displayName, Boolean overwrite, boolean checkAttributes, boolean failOnValidation, boolean downloadFeeback)
Downloads files from urls.
Parameters
| workDir
| the directory where to download bundles |
| url
| of the file to be downloaded |
| displayName
| to be shown during download |
| overwrite
| if the bundles should be overwritten |
| checkAttributes
| whether or not to check attributes in the manifest |
| failOnValidation
| if validation fails should or not fail with an exception (or just return null) |
| downloadFeeback
| whether or not downloading process should display fine grained progres info |
Returns
- the File corresponding to the downloaded file, or null if the bundle is invalid (not
an osgi bundle)
Throws
| TestContainerException
| if the url could not be downloaded
|