Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-31162] @jglick's comments were addressed (partially)
- Loading branch information
recena
committed
Mar 21, 2016
1 parent
3c17558
commit 74b58dc
Showing
6 changed files
with
109 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 0 additions & 70 deletions
70
core/src/main/java/jenkins/model/item_category/ItemCategoryConfigurator.java
This file was deleted.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
core/src/main/java/jenkins/model/item_category/StandaloneProjectsCategory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package jenkins.model.item_category; | ||
|
||
import hudson.Extension; | ||
import jenkins.model.Messages; | ||
|
||
/** | ||
* A generic {@link ItemCategory} | ||
*/ | ||
@Extension(ordinal = Integer.MIN_VALUE + 1) | ||
public class StandaloneProjectsCategory extends ItemCategory { | ||
|
||
@Override | ||
public String getId() { | ||
return "standaloneprojects"; | ||
} | ||
|
||
@Override | ||
public String getDescription() { | ||
return Messages.ItemCategory_StandaloneProjects_Description(); | ||
} | ||
|
||
@Override | ||
public String getDisplayName() { | ||
return Messages.ItemCategory_StandaloneProjects_DisplayName(); | ||
} | ||
|
||
@Override | ||
public int getMinToShow() { | ||
return ItemCategory.MIN_TOSHOW; | ||
} | ||
} |