|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MavenArtifactConverter
This is the single entry point into the Maven artifact to Ruby Gem converter.
| Method Summary | |
|---|---|
boolean |
canConvert(MavenArtifact artifact)
Returns is the artifact convertable safely into Gem. |
GemArtifact |
createGemFromArtifact(MavenArtifact artifact,
File target)
Creates a valid Ruby Gem, and returns File pointing to the result. |
File |
createGemspecFromArtifact(MavenArtifact artifact,
File target)
|
GemArtifact |
createGemStubFromArtifact(MavenArtifact artifact,
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. |
String |
getGemFileName(MavenArtifact artifact)
Returns the "regular" gem filename, as it is expected this artifact to be called as Gem. |
| Method Detail |
|---|
boolean canConvert(MavenArtifact artifact)
pom -
String getGemFileName(MavenArtifact artifact)
pom -
GemSpecification createSpecification(MavenArtifact artifact)
artifact -
File createGemspecFromArtifact(MavenArtifact artifact,
File target)
throws IOException
IOException
GemArtifact createGemStubFromArtifact(MavenArtifact artifact,
File target)
throws IOException
artifact - the artifact to gemize (without data only gemspec)target - where to save Gem file. If null, it will be created next to
artifact
IOException
GemArtifact createGemFromArtifact(MavenArtifact artifact,
File target)
throws IOException
artifact - the artifact to gemizetarget - where to save Gem file. If null, it will be created next to
artifact
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||