Class AetherUtils
java.lang.Object
org.apache.storm.submit.dependency.AetherUtils
Utility class of Aether.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
artifactToString
(org.eclipse.aether.artifact.Artifact artifact) ConvertArtifact
object to String for printing.static org.eclipse.aether.graph.Exclusion
createExclusion
(String exclusionString) Parses exclusion parameter and buildExclusion
object.static org.eclipse.aether.graph.Dependency
parseDependency
(String dependency) Parses dependency parameter and buildDependency
object.static org.eclipse.aether.repository.RemoteRepository
parseRemoteRepository
(String repository) Parses remote repository parameter and buildRemoteRepository
object.
-
Method Details
-
parseDependency
Parses dependency parameter and buildDependency
object.- Parameters:
dependency
- string representation of dependency parameter- Returns:
- Dependency object
-
createExclusion
Parses exclusion parameter and buildExclusion
object.- Parameters:
exclusionString
- string representation of exclusion parameter- Returns:
- Exclusion object
-
artifactToString
ConvertArtifact
object to String for printing.- Parameters:
artifact
- Artifact object- Returns:
- String representation of Artifact
-
parseRemoteRepository
public static org.eclipse.aether.repository.RemoteRepository parseRemoteRepository(String repository) Parses remote repository parameter and buildRemoteRepository
object.- Parameters:
repository
- string representation of remote repository parameter- Returns:
- RemoteRepository object
-