-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Update at-since in Javadoc, make script work on Mac OS X #4292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -732,7 +732,7 @@ public static String encode(String s) { | |
| * Shortcut function for calling {@link URLEncoder#encode(String,String)} (with UTF-8 encoding).<br> | ||
| * Useful for encoding URL query parameters in jelly code (as in {@code "...?param=${h.urlEncode(something)}"}). | ||
| * | ||
| * @since TODO | ||
| * @since 2.200 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| public static String urlEncode(String s) { | ||
| try { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -277,7 +277,7 @@ public void setOptionalDependants(@Nonnull Set<String> optionalDependents) { | |
|
|
||
| /** | ||
| * Like {@link #getDependents} but excluding optional dependencies. | ||
| * @since TODO | ||
| * @since 2.181 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| public @Nonnull Set<String> getMandatoryDependents() { | ||
| Set<String> s = new HashSet<>(dependents); | ||
|
|
@@ -312,7 +312,7 @@ public boolean hasDependents() { | |
|
|
||
| /** | ||
| * Like {@link #hasDependents} but excluding optional dependencies. | ||
| * @since TODO | ||
| * @since 2.181 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| public boolean hasMandatoryDependents() { | ||
| if (isBundled) { | ||
|
|
@@ -357,7 +357,7 @@ public boolean hasDependencies() { | |
|
|
||
| /** | ||
| * Like {@link #hasDependencies} but omitting optional dependencies. | ||
| * @since TODO | ||
| * @since 2.181 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| public boolean hasMandatoryDependencies() { | ||
| return dependencies.stream().anyMatch(d -> !d.optional); | ||
|
|
@@ -486,7 +486,7 @@ public List<Dependency> getDependencies() { | |
|
|
||
| /** | ||
| * Like {@link #getDependencies} but omits optional dependencies. | ||
| * @since TODO | ||
| * @since 2.181 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| public List<Dependency> getMandatoryDependencies() { | ||
| return dependencies.stream().filter(d -> !d.optional).collect(Collectors.toList()); | ||
|
|
@@ -600,7 +600,7 @@ private String getVersionOf(Manifest manifest) { | |
| * | ||
| * @see <a href="https://github.com/jenkinsci/maven-hpi-plugin/pull/75">maven-hpi-plugin#PR-75</a>. | ||
| * | ||
| * @since TODO | ||
| * @since 2.158 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| @Exported | ||
| public @CheckForNull String getMinimumJavaVersion() { | ||
|
|
@@ -1002,7 +1002,7 @@ public boolean isDeleted() { | |
|
|
||
| /** | ||
| * Same as {@link DetachedPluginsUtil#isDetachedPlugin}. | ||
| * @since TODO | ||
| * @since 2.185 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| @Exported | ||
| public boolean isDetached() { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -135,7 +135,7 @@ public int getAdvertisedPort() { | |
|
|
||
| /** | ||
| * Gets the host name that we advertise protocol clients to connect to. | ||
| * @since TODO | ||
| * @since 2.198 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| public String getAdvertisedHost() { | ||
| if (CLI_HOST_NAME != null) { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1671,7 +1671,7 @@ public abstract class DownloadJob extends UpdateCenterJob implements WithCompute | |
|
|
||
| /** | ||
| * Display name used for the GUI. | ||
| * @since TODO | ||
| * @since 2.189 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| public String getDisplayName() { | ||
| return getName(); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -956,7 +956,7 @@ public final class Plugin extends Entry { | |
| /** | ||
| * Version of Java this plugin requires to run. | ||
| * | ||
| * @since TODO | ||
| * @since 2.158 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| @Exported | ||
| public final String minimumJavaVersion; | ||
|
|
@@ -1035,7 +1035,7 @@ public PluginWrapper getInstalled() { | |
| * Returns true if the plugin and its dependencies are fully compatible with the current installation | ||
| * This is set to restricted for now, since it is only being used by Jenkins UI at the moment. | ||
| * | ||
| * @since TODO | ||
| * @since 2.175 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| @Restricted(NoExternalUse.class) | ||
| public boolean isCompatible() { | ||
|
|
@@ -1132,7 +1132,7 @@ public boolean isForNewerHudson() { | |
|
|
||
| /** | ||
| * Returns true iff the plugin declares a minimum Java version and it's newer than what the Jenkins master is running on. | ||
| * @since TODO | ||
| * @since 2.158 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| public boolean isForNewerJava() { | ||
| try { | ||
|
|
@@ -1161,7 +1161,7 @@ public VersionNumber getNeededDependenciesRequiredCore() { | |
|
|
||
| /** | ||
| * Returns the minimum Java version needed to use the plugin and all its dependencies. | ||
| * @since TODO | ||
| * @since 2.158 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| * @return the minimum Java version needed to use the plugin and all its dependencies, or null if unspecified. | ||
| */ | ||
| @CheckForNull | ||
|
|
@@ -1208,7 +1208,7 @@ public boolean isNeededDependenciesForNewerJenkins(PluginManager.MetadataCache c | |
| /** | ||
| * Returns true iff any of the plugin dependencies require a newer Java than Jenkins is running on. | ||
| * | ||
| * @since TODO | ||
| * @since 2.158 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| public boolean isNeededDependenciesForNewerJava() { | ||
| for (Plugin p: getNeededDependencies()) { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -954,7 +954,7 @@ void addDisplayNamesToSearchIndex(SearchIndexBuilder sib, Collection<TopLevelIte | |
| * Add a simple CollectionSearchIndex object to sib | ||
| * | ||
| * @param sib the SearchIndexBuilder | ||
| * @since TODO | ||
| * @since 2.200 | ||
| */ | ||
| protected void makeSearchIndex(SearchIndexBuilder sib) { | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| sib.add(new CollectionSearchIndex<TopLevelItem>() {// for jobs in the view | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -67,7 +67,7 @@ public interface ViewGroup extends Saveable, ModelObject, AccessControlled { | |
| * @return | ||
| * can be empty but never null. | ||
| * | ||
| * @since TODO | ||
| * @since 2.174 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| @Nonnull | ||
| default Collection<View> getAllViews() { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,7 +39,7 @@ | |
| * Adapted from: | ||
| * https://blogs.msdn.microsoft.com/twistylittlepassagesallalike/2011/04/23/everyone-quotes-command-line-arguments-the-wrong-way/ | ||
| * | ||
| * @since TODO | ||
| * @since 2.183 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| public class WindowsUtil { | ||
| private static final Pattern NEEDS_QUOTING = Pattern.compile("[\\s\"]"); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,7 +44,7 @@ public class JenkinsLocationConfiguration extends GlobalConfiguration implements | |
| * If disabled, the application will no longer check for URL validity in the configuration page. | ||
| * This will lead to an instance vulnerable to SECURITY-1471. | ||
| * | ||
| * @since TODO | ||
| * @since 2.176.4 / 2.197 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. e2c596c#diff-1439884ddd002c6ca6463d9657412b15R49 (part of a security fix) |
||
| */ | ||
| @Restricted(NoExternalUse.class) | ||
| @SuppressFBWarnings(value = "MS_SHOULD_BE_FINAL", justification = "Accessible via System Groovy Scripts") | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,7 +33,7 @@ | |
| * <p> | ||
| * This code was originally moved from {@link ClassicPluginStrategy}. | ||
| * | ||
| * @since TODO | ||
| * @since 2.163 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| @Restricted(NoExternalUse.class) | ||
| public class DetachedPluginsUtil { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -61,7 +61,7 @@ | |
| * @see ResourceDomainFilter | ||
| * @see ResourceDomainRootAction | ||
| * | ||
| * @since TODO | ||
| * @since 2.200 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| @Extension(ordinal = JenkinsLocationConfiguration.ORDINAL-1) // sort just below the regular location config | ||
| @Restricted(NoExternalUse.class) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,7 +42,7 @@ | |
| * Prohibit requests to Jenkins coming through a resource domain URL configured with | ||
| * {@link ResourceDomainConfiguration}, except anything going to {@link ResourceDomainRootAction}. | ||
| * | ||
| * @since TODO | ||
| * @since 2.200 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| @Restricted(NoExternalUse.class) | ||
| public class ResourceDomainFilter implements Filter { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,7 +43,7 @@ | |
| * | ||
| * @see ResourceDomainConfiguration | ||
| * | ||
| * @since TODO | ||
| * @since 2.200 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| @Extension | ||
| @Restricted(NoExternalUse.class) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,7 +62,7 @@ | |
| * @see ResourceDomainConfiguration | ||
| * @see ResourceDomainFilter | ||
| * | ||
| * @since TODO | ||
| * @since 2.200 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| */ | ||
| @Extension | ||
| @Restricted(NoExternalUse.class) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -69,7 +69,7 @@ protected void failedToAuthenticate(@Nonnull String username){} | |
| protected void loggedIn(@Nonnull String username){} | ||
|
|
||
| /** | ||
| * @since TODO | ||
| * @since 2.161 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| * | ||
| * Fired after a new user account has been created and saved to disk. | ||
| * | ||
|
|
@@ -106,7 +106,7 @@ public static void fireAuthenticated(@Nonnull UserDetails details) { | |
| } | ||
| } | ||
|
|
||
| /** @since TODO */ | ||
| /** @since 2.161 */ | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| public static void fireUserCreated(@Nonnull String username) { | ||
| LOGGER.log(Level.FINE, "new user created: {0}", username); | ||
| for (SecurityListener l : all()) { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79,7 +79,7 @@ | |
| * {@code jenkins.security.stapler.StaplerDispatchValidator.disabled=true} or setting {@link #DISABLED} to | ||
| * {@code true} in the script console.</p> | ||
| * | ||
| * @since TODO | ||
| * @since 2.176.2 / 2.186 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 279d810#diff-843825e913b326bf4f069a8964cb5ce7 (part of a security fix) |
||
| */ | ||
| @Restricted(NoExternalUse.class) | ||
| public class StaplerDispatchValidator implements DispatchValidator { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/jenkinsci/jenkins/pull/4205/files#diff-d0a9bd4f4582762fd1d1f31a88d4753cR2364