Package | Description |
---|---|
org.codice.ddf.configuration.migration |
Modifier and Type | Method and Description |
---|---|
static <T,E extends Exception> |
AccessUtils.doConditionallyPrivileged(boolean condition,
ThrowingSupplier<T,E> action)
Performs the specified action with privileges enabled if the specified condition is
true
. |
static <T,E extends Exception> |
AccessUtils.doPrivileged(ThrowingSupplier<T,E> action)
Performs the specified action with privileges enabled.
|
This work is licensed under a Creative Commons Attribution 4.0 International License.