de.saumya.mojo.ruby
Class DefaultGemifyManager
java.lang.Object
de.saumya.mojo.ruby.DefaultGemifyManager
- All Implemented Interfaces:
- GemifyManager
@Component(role=GemifyManager.class)
public class DefaultGemifyManager
- extends Object
- implements GemifyManager
|
Method Summary |
void |
addDefaultGemRepositoryForVersion(String artifactVersion,
List<org.apache.maven.artifact.repository.ArtifactRepository> repos)
|
List<String> |
availableVersions(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
|
List<String> |
availableVersions(String gemName,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
|
org.apache.maven.artifact.Artifact |
createArtifact(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
|
org.apache.maven.artifact.Artifact |
createArtifact(String gemName,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
|
org.apache.maven.artifact.Artifact |
createArtifact(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
|
org.apache.maven.artifact.Artifact |
createGemArtifact(String artifactId,
String version)
|
org.apache.maven.artifact.repository.ArtifactRepository |
defaultGemArtifactRepositoryForVersion(String artifactVersion)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultGemifyManager
public DefaultGemifyManager()
defaultGemArtifactRepositoryForVersion
public org.apache.maven.artifact.repository.ArtifactRepository defaultGemArtifactRepositoryForVersion(String artifactVersion)
- Specified by:
defaultGemArtifactRepositoryForVersion in interface GemifyManager
addDefaultGemRepositoryForVersion
public void addDefaultGemRepositoryForVersion(String artifactVersion,
List<org.apache.maven.artifact.repository.ArtifactRepository> repos)
- Specified by:
addDefaultGemRepositoryForVersion in interface GemifyManager
createGemArtifact
public org.apache.maven.artifact.Artifact createGemArtifact(String artifactId,
String version)
throws GemException
- Specified by:
createGemArtifact in interface GemifyManager
- Throws:
GemException
createArtifact
public org.apache.maven.artifact.Artifact createArtifact(String gemName,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
throws GemException
- Specified by:
createArtifact in interface GemifyManager
- Throws:
GemException
createArtifact
public org.apache.maven.artifact.Artifact createArtifact(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
throws GemException
- Specified by:
createArtifact in interface GemifyManager
- Throws:
GemException
createArtifact
public org.apache.maven.artifact.Artifact createArtifact(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
throws GemException
- Specified by:
createArtifact in interface GemifyManager
- Throws:
GemException
availableVersions
public List<String> availableVersions(String gemName,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
throws GemException
- Specified by:
availableVersions in interface GemifyManager
- Throws:
GemException
availableVersions
public List<String> availableVersions(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
throws GemException
- Specified by:
availableVersions in interface GemifyManager
- Throws:
GemException
Copyright © 2010. All Rights Reserved.