public interface MavenArtifactConverter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GEMNAME_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(MavenArtifact artifact)
Returns is the artifact convertable safely into Gem.
|
GemArtifact |
createGemFromArtifact(MavenArtifact artifact,
java.io.File target)
Creates a valid Ruby Gem, and returns File pointing to the result.
|
java.io.File |
createGemspecFromArtifact(MavenArtifact artifact,
java.io.File target) |
GemArtifact |
createGemStubFromArtifact(MavenArtifact artifact,
java.io.File target)
Creates a valid Ruby Gem, and returns File pointing to the result.
|
GemSpecification |
createSpecification(MavenArtifact artifact)
Creates a Gem::Specification (the equivalent JavaBeans actually) filled
up properly based on informaton from POM.
|
java.lang.String |
getGemFileName(MavenArtifact artifact)
Returns the "regular" gem filename, as it is expected this artifact to be
called as Gem.
|
static final java.lang.String GEMNAME_PREFIX
boolean canConvert(MavenArtifact artifact)
artifact - java.lang.String getGemFileName(MavenArtifact artifact)
artifact - GemSpecification createSpecification(MavenArtifact artifact)
artifact - java.io.File createGemspecFromArtifact(MavenArtifact artifact, java.io.File target) throws java.io.IOException
java.io.IOExceptionGemArtifact createGemStubFromArtifact(MavenArtifact artifact, java.io.File target) throws java.io.IOException
artifact - the artifact to gemize (without data only gemspec)target - where to save Gem file. If null, it will be created next to
artifactjava.io.IOExceptionGemArtifact createGemFromArtifact(MavenArtifact artifact, java.io.File target) throws java.io.IOException
artifact - the artifact to gemizetarget - where to save Gem file. If null, it will be created next to
artifactjava.io.IOExceptionCopyright © 2023. All Rights Reserved.