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 Artifact |
toArtifact(org.mule.maven.client.api.model.BundleDependency bundleDependency)
Convert a
BundleDependency instance to Artifact. |
static ArtifactCoordinates |
toArtifactCoordinates(org.mule.maven.client.api.model.BundleDescriptor bundleDescriptor)
Convert a
BundleDescriptor instance to ArtifactCoordinates. |
static List<Artifact> |
toArtifacts(Collection<org.mule.maven.client.api.model.BundleDependency> dependencies)
Converts a
List to a List. |
static org.mule.maven.client.api.model.BundleDescriptor |
toBundleDescriptor(ArtifactCoordinates artifactCoordinates)
Converts a
ArtifactCoordinates instance to a BundleDescriptor instance. |
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 org.mule.maven.client.api.model.BundleDescriptor toBundleDescriptor(ArtifactCoordinates artifactCoordinates)
ArtifactCoordinates instance to a BundleDescriptor instance.artifactCoordinates - the artifact coordinates to be converted.BundleDescriptor instance.Copyright © 2018 MuleSoft Inc. All rights reserved.