You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @deprecated Callers should use {@link #checkRequiredPermission()} or
319
-
* {@link #hasRequiredPermission()}.
306
+
* @deprecated Callers should use {@link #checkRequiredPermission()} or {@link #hasRequiredPermission()}.
320
307
*/
321
308
@Deprecated
322
309
publicPermissiongetRequiredPermission() {
@@ -327,11 +314,8 @@ public Permission getRequiredPermission() {
327
314
* Checks if the current user has the minimum required permission to view this
328
315
* administrative monitor.
329
316
* <p>
330
-
* Subclasses may override this method and {@link #hasRequiredPermission()}
331
-
* instead of {@link #getRequiredPermission()} to perform more complex
332
-
* permission checks,
333
-
* for example, checking either {@link Jenkins#MANAGE} or
334
-
* {@link Jenkins#SYSTEM_READ}.
317
+
* Subclasses may override this method and {@link #hasRequiredPermission()} instead of {@link #getRequiredPermission()} to perform more complex permission checks,
318
+
* for example, checking either {@link Jenkins#MANAGE} or {@link Jenkins#SYSTEM_READ}.
335
319
* </p>
336
320
*
337
321
* @see #getRequiredPermission()
@@ -346,11 +330,8 @@ public void checkRequiredPermission() {
346
330
* Checks if the current user has the minimum required permission to view this
347
331
* administrative monitor.
348
332
* <p>
349
-
* Subclasses may override this method and {@link #checkRequiredPermission}
350
-
* instead of {@link #getRequiredPermission()} to perform more complex
351
-
* permission checks,
352
-
* for example, checking either {@link Jenkins#MANAGE} or
353
-
* {@link Jenkins#SYSTEM_READ}.
333
+
* Subclasses may override this method and {@link #checkRequiredPermission} instead of {@link #getRequiredPermission()} to perform more complex permission checks,
334
+
* for example, checking either {@link Jenkins#MANAGE} or {@link Jenkins#SYSTEM_READ}.
354
335
* </p>
355
336
*
356
337
* @see #getRequiredPermission()
@@ -362,11 +343,9 @@ public boolean hasRequiredPermission() {
362
343
}
363
344
364
345
/**
365
-
* Checks if the current user has the minimum required permission to view any
366
-
* administrative monitor.
346
+
* Checks if the current user has the minimum required permission to view any administrative monitor.
367
347
*
368
-
* @return true if the current user has the minimum required permission to view
369
-
* any administrative monitor.
348
+
* @return true if the current user has the minimum required permission to view any administrative monitor.
370
349
*
371
350
* @since 2.468
372
351
*/
@@ -375,8 +354,7 @@ public static boolean hasPermissionToDisplay() {
375
354
}
376
355
377
356
/**
378
-
* Ensure that URLs in this administrative monitor are only accessible to users
379
-
* with {@link #getRequiredPermission()}.
357
+
* Ensure that URLs in this administrative monitor are only accessible to users with {@link #getRequiredPermission()}.
0 commit comments