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
* Human-readable ID of this monitor, which needs to be unique within the
98
-
* system.
97
+
* Human-readable ID of this monitor, which needs to be unique within the system.
99
98
*
100
99
* <p>
101
100
* This ID is used to remember persisted setting for this monitor,
@@ -316,14 +315,10 @@ public Permission getRequiredPermission() {
316
315
}
317
316
318
317
/**
319
-
* Checks if the current user has the minimum required permission to view this
320
-
* administrative monitor.
318
+
* Checks if the current user has the minimum required permission to view this administrative monitor.
321
319
* <p>
322
-
* Subclasses may override this method and {@link #hasRequiredPermission()}
323
-
* instead of {@link #getRequiredPermission()} to perform more complex
324
-
* permission checks,
325
-
* for example, checking either {@link Jenkins#MANAGE} or
326
-
* {@link Jenkins#SYSTEM_READ}.
320
+
* Subclasses may override this method and {@link #hasRequiredPermission()} instead of {@link #getRequiredPermission()} to perform more complex permission checks,
321
+
* for example, checking either {@link Jenkins#MANAGE} or {@link Jenkins#SYSTEM_READ}.
327
322
* </p>
328
323
*
329
324
* @see #getRequiredPermission()
@@ -334,7 +329,7 @@ public void checkRequiredPermission() {
* Checks if the current user has the minimum required permission to view this administrative monitor.
339
334
* <p>
340
335
* Subclasses may override this method and {@link #hasRequiredPermission()} instead of {@link #getRequiredPermission()} to perform more complex permission checks,
@@ -349,11 +344,10 @@ public boolean hasRequiredPermission() {
* Checks if the current user has the minimum required permission to view this administrative monitor.
354
-
* <p>
355
-
* Subclasses may override this method and {@link #checkRequiredPermission} instead of {@link #getRequiredPermission()} to perform more complex permission checks,
356
-
* for example, checking either {@link Jenkins#MANAGE} or {@link Jenkins#SYSTEM_READ}.
347
+
/**
348
+
* Checks if the current user has the minimum required permission to view any administrative monitor.
349
+
*
350
+
* @return true if the current user has the minimum required permission to view any administrative monitor.
0 commit comments