public class JavaContainers extends Object
| Constructor and Description |
|---|
JavaContainers() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addMavenDependencies(Map<String,io.fabric8.agent.mvn.Parser> artifacts,
DependencyDTO dependency) |
protected static void |
appendMavenDependencies(Map<String,io.fabric8.agent.mvn.Parser> artifacts,
io.fabric8.api.Profile profile) |
static Map<String,io.fabric8.agent.mvn.Parser> |
getJavaContainerArtifacts(io.fabric8.api.FabricService fabric,
List<io.fabric8.api.Profile> profileList,
ExecutorService downloadExecutor) |
static Map<String,File> |
getJavaContainerArtifactsFiles(io.fabric8.api.FabricService fabric,
List<io.fabric8.api.Profile> profileList,
ExecutorService downloadExecutor) |
static void |
registerJolokiaUrl(io.fabric8.api.Container container,
String jolokiaUrl)
Registers the given jolokia URL for the given container if its not null
|
static String |
removeUriPrefixBeforeMaven(String rawUrl)
Any URI which has a prefix before the "mvn:" part of the URI, such as "fab:mvn:..." or "war:mvn:..." gets the prefix removed so
that the URI is just "mvn:..."
|
public static Map<String,io.fabric8.agent.mvn.Parser> getJavaContainerArtifacts(io.fabric8.api.FabricService fabric, List<io.fabric8.api.Profile> profileList, ExecutorService downloadExecutor) throws Exception
Exceptionpublic static Map<String,File> getJavaContainerArtifactsFiles(io.fabric8.api.FabricService fabric, List<io.fabric8.api.Profile> profileList, ExecutorService downloadExecutor) throws Exception
Exceptionpublic static String removeUriPrefixBeforeMaven(String rawUrl)
protected static void appendMavenDependencies(Map<String,io.fabric8.agent.mvn.Parser> artifacts, io.fabric8.api.Profile profile)
protected static void addMavenDependencies(Map<String,io.fabric8.agent.mvn.Parser> artifacts, DependencyDTO dependency) throws MalformedURLException
MalformedURLExceptionpublic static void registerJolokiaUrl(io.fabric8.api.Container container,
String jolokiaUrl)
container - the container to register the jolokia URL forjolokiaUrl - the Jolokia URLCopyright © 2011–2014 Red Hat. All rights reserved.