added version informations to repository handler

This commit is contained in:
Sebastian Sdorra
2012-05-01 17:19:33 +02:00
parent 2cb34e5eb0
commit f83933f485
14 changed files with 337 additions and 3 deletions

View File

@@ -65,6 +65,10 @@ public class GitRepositoryHandler
/** Field description */
public static final String DIRECTORY_REFS = "refs";
/** Field description */
public static final String RESOURCE_VERSION =
"/sonia/scm/version/scm-git-plugin";
/** Field description */
public static final String TYPE_DISPLAYNAME = "Git";
@@ -224,6 +228,18 @@ public class GitRepositoryHandler
return TYPE;
}
/**
* Method description
*
*
* @return
*/
@Override
public String getVersionInformation()
{
return getStringFromResource(RESOURCE_VERSION, DEFAULT_VERSION_INFORMATION);
}
//~--- methods --------------------------------------------------------------
/**