| | |
| | |
|
| | | public static final String R_TICKETS_PATCHSETS = "refs/tickets/";
|
| | |
|
| | | public static final String R_MASTER = "refs/heads/master";
|
| | |
|
| | | public static final String MASTER = "master";
|
| | |
|
| | | public static final String R_DEVELOP = "refs/heads/develop";
|
| | |
|
| | | public static final String DEVELOP = "develop";
|
| | |
|
| | | public static String getVersion() {
|
| | | String v = Constants.class.getPackage().getImplementationVersion();
|
| | | if (v == null) {
|
| | |
| | | /**
|
| | | * Enumeration of the feed content object types.
|
| | | */
|
| | | public static enum FeedContentObjectType {
|
| | | public static enum FeedObjectType {
|
| | | COMMIT, TAG;
|
| | |
|
| | | public static FeedContentObjectType forName(String name) {
|
| | | for (FeedContentObjectType type : values()) {
|
| | | public static FeedObjectType forName(String name) {
|
| | | for (FeedObjectType type : values()) {
|
| | | if (type.name().equalsIgnoreCase(name)) {
|
| | | return type;
|
| | | }
|