Uses of Interface
jetbrains.buildServer.util.ActionThrow
-
Packages that use ActionThrow Package Description jetbrains.buildServer jetbrains.buildServer.serverSide jetbrains.buildServer.serverSide.impl jetbrains.buildServer.serverSide.maintenance jetbrains.buildServer.util -
-
Uses of ActionThrow in jetbrains.buildServer
Methods in jetbrains.buildServer with parameters of type ActionThrow Modifier and Type Method Description default void
WaitForAssertions. waitForAssert(ActionThrow<AssertionError> condition)
default void
WaitForAssertions. waitForAssert(ActionThrow<AssertionError> condition, long timeout)
-
Uses of ActionThrow in jetbrains.buildServer.serverSide
Methods in jetbrains.buildServer.serverSide with parameters of type ActionThrow Modifier and Type Method Description static <E extends Exception>
voidIOGuard. allowCommandLine(ActionThrow<E> action)
Code that wants to run command line process should be wrapped to this method.static <E extends Exception>
voidIOGuard. allowDiskWrite(ActionThrow<E> action)
Code that wants to execute file write operation should be wrapped to this method.static <E extends Exception>
voidIOGuard. allowNetworkAndCommandLine(ActionThrow<E> action)
Code that wants to run both network call and command line process should be wrapped to this method.static <E extends Exception>
voidIOGuard. allowNetworkCall(ActionThrow<E> action)
Code that wants to call network operation should be wrapped to this method.static <E extends Throwable>
voidReadOnlyRestrictor. doReadOnlyCommandLine(ActionThrow<E> actionThrow)
Deprecated.static <E extends Throwable>
voidReadOnlyRestrictor. doReadOnlyNetworkOperation(ActionThrow<E> actionThrow)
Deprecated. -
Uses of ActionThrow in jetbrains.buildServer.serverSide.impl
Methods in jetbrains.buildServer.serverSide.impl with parameters of type ActionThrow Modifier and Type Method Description static <E extends Throwable>
voidSecondaryNodeSecurityManager. executeSafe(ActionThrow<E> actionThrow, Set<RestrictedOperation> operations)
Code that wants to run safe but restricted operation on read-only node should be wrapped in this method.static <E extends Throwable>
voidSecondaryNodeSecurityManager. executeSafeCommandLine(ActionThrow<E> actionThrow)
Code that wants to run read-only safe external command-line should be wrapped to this method.static <E extends Throwable>
voidSecondaryNodeSecurityManager. runSafeDiskWriteOperation(ActionThrow<E> actionThrow)
Code that wants to run file operation should be wrapped to this method.static <E extends Throwable>
voidSecondaryNodeSecurityManager. runSafeNetworkOperation(ActionThrow<E> actionThrow)
Code that wants to run read-only safe network operation should be wrapped to this method. -
Uses of ActionThrow in jetbrains.buildServer.serverSide.maintenance
Classes in jetbrains.buildServer.serverSide.maintenance that implement ActionThrow Modifier and Type Class Description class
BackupPermissionCheck
Constructors in jetbrains.buildServer.serverSide.maintenance with parameters of type ActionThrow Constructor Description BackupProcessManagerImpl(ServerPaths serverPaths, DBFunctionsProvider dbProvider, ZipFactory zipFactory, BackupRegistration backupRegistration, BackupSettingsPersistor backupSettingsPersistor, ActionThrow<AccessDeniedException> accessChecker, MaintenanceLock maintenanceLock, boolean singleUserMode)
-
Uses of ActionThrow in jetbrains.buildServer.util
Methods in jetbrains.buildServer.util with parameters of type ActionThrow Modifier and Type Method Description static <E extends Throwable>
voidNamedThreadFactory. executeWithNewThreadNameActionThrow(String newDetails, ActionThrow<E> action)
Same asNamedThreadFactory.executeWithNewThreadName(String, Runnable)
but for arbitrary thrown exceptionprotected void
MultipleLock. locked(MultipleLock.Locker<TLock> locker, TObject object, ActionThrow<RuntimeException> action)
void
ReadWriteMultipleLock. readLocked(TObject object, ActionThrow<RuntimeException> action)
void
ReadWriteMultipleLock. writeLocked(TObject object, ActionThrow<RuntimeException> action)
-