|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ScmTranslator
Translate the SCM information after tagging/reverting to trunk.
| Field Summary | |
|---|---|
static String |
ROLE
Plexus Role. |
| 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. |
| Field Detail |
|---|
static final String ROLE
| Method Detail |
|---|
String translateBranchUrl(String url,
String branchName,
String branchBase)
url - the source URLbranchName - the branch namebranchBase - the branch base for providers that support it
String translateTagUrl(String url,
String tag,
String tagBase)
url - the source URLtag - the tagtagBase - the tag base for providers that support it
String resolveTag(String tag)
tag - the new tag
null if the provider does not use tagsString toRelativePath(String path)
path -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||