public class MavenPhantomJSBinaryResolver extends Object implements PhantomJSBinaryResolver
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ARTIFACT_BINARY |
static String |
PHANTOMJS |
static String |
PHANTOMJS_RESOURCE |
| Constructor and Description |
|---|
MavenPhantomJSBinaryResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getArtifactCanonicalForm(String version)
Returns GAV for given artifact version
|
protected File |
getJavaArchive(String version)
Obtains JavaArchive with phantomjs binary
|
PhantomJSBinary |
resolve(File destination)
Resolves a phantomjs binary file to the given destination.
|
PhantomJSBinary |
resolve(File destination,
String version)
Resolves a phantomjs binary file with the given version to the given destination.
|
protected PhantomJSBinary |
resolveFreshExtracted(File destination,
String version)
Resolves fresh phantomjs binary from Maven
|
public static final String PHANTOMJS
public static final String PHANTOMJS_RESOURCE
protected static final String ARTIFACT_BINARY
public PhantomJSBinary resolve(File destination) throws IOException
PhantomJSBinaryResolverresolve in interface PhantomJSBinaryResolverIOException - if there is a problem with resolvingpublic PhantomJSBinary resolve(File destination, String version) throws IOException
PhantomJSBinaryResolverresolve in interface PhantomJSBinaryResolverIOException - if there is a problem with resolvingprotected PhantomJSBinary resolveFreshExtracted(File destination, String version) throws IOException
IOExceptionprotected File getJavaArchive(String version)
Copyright © 2016 JBoss by Red Hat. All rights reserved.