|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.shared.release.scm.SubversionScmTranslator
public class SubversionScmTranslator
Subversion tag translator.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.shared.release.scm.ScmTranslator |
|---|
ROLE |
| Constructor Summary | |
|---|---|
SubversionScmTranslator()
|
|
| Method Summary | |
|---|---|
String |
resolveTag(String tag)
Determine what tag should be added to the POM given the original tag and the new one. |
String |
toRelativePath(String path)
Translates an ScmFile path to a path relative to the working directory. |
String |
translateBranchUrl(String url,
String branchName,
String branchBase)
Take an URL and find the correct replacement URL for a given branch. |
String |
translateTagUrl(String url,
String tag,
String tagBase)
Take an URL and find the correct replacement URL for a given tag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubversionScmTranslator()
| Method Detail |
|---|
public String translateBranchUrl(String url,
String branchName,
String branchBase)
translateBranchUrl in interface ScmTranslatorurl - the source URLbranchName - the branch namebranchBase - the branch base for providers that support it
public String translateTagUrl(String url,
String tag,
String tagBase)
translateTagUrl in interface ScmTranslatorurl - the source URLtag - the tagtagBase - the tag base for providers that support it
public String resolveTag(String tag)
resolveTag in interface ScmTranslatortag - the new tag
null if the provider does not use tagspublic String toRelativePath(String path)
toRelativePath in interface ScmTranslator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||