mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 14:32:22 +00:00
pushed up the pronoun to AbstractItem.
This commit is contained in:
1 parent
33573ca2bd
commit
7dd4171c04
7 files changed
+14
-7
No files matched your search
@@ -88,6 +88,14 @@ public abstract class AbstractItem extends Actionable implements Item, HttpDelet
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the term used in the UI to represent this kind of
|
||||
* {@link Item}. Must start with a capital letter.
|
||||
*/
|
||||
public String getPronoun() {
|
||||
return Messages.AbstractItem_Pronoun();
|
||||
}
|
||||
|
||||
@Exported
|
||||
public String getDisplayName() {
|
||||
return getName();
|
||||
|
||||
@@ -248,10 +248,7 @@ public abstract class Job<JobT extends Job<JobT, RunT>, RunT extends Run<JobT, R
|
||||
return b!=null && b.isBuilding();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the term used in the UI to represent this kind of
|
||||
* {@link AbstractProject}. Must start with a capital letter.
|
||||
*/
|
||||
@Override
|
||||
public String getPronoun() {
|
||||
return Messages.Job_Pronoun();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user