/** * Needed if it wants Folders are categorized in Jenkins 2.x. * * TODO: Override when the baseline is upgraded to 2.x * * @return A string with the Item description. */ public String getDescription() { return Messages.Folder_Description(); }
@Override public String getDisplayName() { return Messages.Folder_DisplayName(); }
/** * The {@link Action#getDisplayName()} to present for this UI. * * @return the {@link Action#getDisplayName()} to present for this UI, never {@code null} * @see Action#getDisplayName() */ @Nonnull public String getDisplayName() { return Messages.RelocateAction_displayName(); }
if (!ownsRegistration && ItemDeletion.isRegistered(this)) { throw new Failure(Messages.AbstractFolder_BeingDeleted(getPronoun())); throw new Failure(Messages.AbstractFolder_FailureToStopBuilds( buildsInProgress.size(), getFullDisplayName() ));
/** * Used in "New Job" side menu. * @return the pronoun for new item creation. * @see #NEW_PRONOUN */ public String getNewPronoun() { return AlternativeUiTextProvider.get(NEW_PRONOUN, this, Messages.Folder_DefaultPronoun()); }
if (!ownsRegistration && ItemDeletion.isRegistered(this)) { throw new Failure(Messages.AbstractFolder_BeingDeleted(getPronoun())); throw new Failure(Messages.AbstractFolder_FailureToStopBuilds( buildsInProgress.size(), getFullDisplayName() ));
/** * Used in "New Job" side menu. * @return the pronoun for new item creation. * @see #NEW_PRONOUN */ public String getNewPronoun() { return AlternativeUiTextProvider.get(NEW_PRONOUN, this, Messages.Folder_DefaultPronoun()); }
/** * Needed if it wants Folders are categorized in Jenkins 2.x. * * @return A string with the Item description. */ @Override public String getDescription() { return Messages.Folder_Description(); }
/** * The {@link Action#getDisplayName()} to present for this UI. * * @return the {@link Action#getDisplayName()} to present for this UI, never {@code null} * @see Action#getDisplayName() */ @Nonnull public String getDisplayName() { return Messages.RelocateAction_displayName(); }
@Override public String getDisplayName() { return Messages.Folder_DisplayName(); }