public class ArtifactUtils extends Object
| Constructor and Description |
|---|
ArtifactUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValidMulePlugin(Artifact artifact)
Checks if a
Artifact instance represents a mule-plugin. |
static boolean |
isValidMulePlugin(org.apache.maven.artifact.Artifact artifact)
Checks if a
Artifact instance represents a mule-plugin. |
static org.apache.maven.artifact.Artifact |
toArtifact(Artifact dependencyArtifact)
Converts a
Artifact instance to a Artifact instance. |
static Artifact |
toArtifact(org.mule.maven.client.api.model.BundleDependency bundleDependency)
Convert a
BundleDependency instance to Artifact. |
static ArtifactCoordinates |
toArtifactCoordinates(org.apache.maven.artifact.Artifact artifact)
Converts a
Artifact instance to a ArtifactCoordinates instance. |
static ArtifactCoordinates |
toArtifactCoordinates(org.mule.maven.client.api.model.BundleDescriptor bundleDescriptor)
Convert a
BundleDescriptor instance to ArtifactCoordinates. |
static ArtifactCoordinates |
toArtifactCoordinates(org.apache.maven.model.Dependency dependency) |
static List<Artifact> |
toArtifacts(Collection<org.mule.maven.client.api.model.BundleDependency> dependencies)
Converts a
List to a List. |
static org.apache.maven.model.Dependency |
toDependency(ArtifactCoordinates artifactCoordinates) |
public static ArtifactCoordinates toArtifactCoordinates(org.mule.maven.client.api.model.BundleDescriptor bundleDescriptor)
BundleDescriptor instance to ArtifactCoordinates.bundleDescriptor - the bundle descriptor to be converted.public static Artifact toArtifact(org.mule.maven.client.api.model.BundleDependency bundleDependency)
BundleDependency instance to Artifact.bundleDependency - the bundle dependency to be converted.public static List<Artifact> toArtifacts(Collection<org.mule.maven.client.api.model.BundleDependency> dependencies)
List to a List.dependencies - the bundle dependency list to be converted.public static boolean isValidMulePlugin(Artifact artifact)
Artifact instance represents a mule-plugin.artifact - the artifact to be checked.public static boolean isValidMulePlugin(org.apache.maven.artifact.Artifact artifact)
Artifact instance represents a mule-plugin.artifact - the artifact to be checked.public static org.apache.maven.artifact.Artifact toArtifact(Artifact dependencyArtifact)
Artifact instance to a Artifact instance.dependencyArtifact - the artifact to be converted.Artifact instance.public static ArtifactCoordinates toArtifactCoordinates(org.apache.maven.artifact.Artifact artifact)
Artifact instance to a ArtifactCoordinates instance.artifact - the artifact to be converted.ArtifactCoordinates instance.public static org.apache.maven.model.Dependency toDependency(ArtifactCoordinates artifactCoordinates)
public static ArtifactCoordinates toArtifactCoordinates(org.apache.maven.model.Dependency dependency)
Copyright © 2017. All rights reserved.