Uses of Interface
jetbrains.buildServer.util.FuncThrow
-
Packages that use FuncThrow Package Description jetbrains.buildServer jetbrains.buildServer.serverSide jetbrains.buildServer.serverSide.impl jetbrains.buildServer.serverSide.impl.artifacts jetbrains.buildServer.util -
-
Uses of FuncThrow in jetbrains.buildServer
Methods in jetbrains.buildServer with parameters of type FuncThrow Modifier and Type Method Description void
TestLogger. setLogMessagesPrefixer(FuncThrow<String,RuntimeException> logMessagePrefix)
-
Uses of FuncThrow in jetbrains.buildServer.serverSide
Methods in jetbrains.buildServer.serverSide with parameters of type FuncThrow Modifier and Type Method Description static <R,E extends Exception>
RIOGuard. allowCommandLine(FuncThrow<R,E> function)
Code that wants to run command line process should be wrapped to this method.static <R,E extends Exception>
RIOGuard. allowDiskWrite(FuncThrow<R,E> function)
Code that wants to execute file write operation should be wrapped to this method.static <R,E extends Exception>
RIOGuard. allowNetworkAndCommandLine(FuncThrow<R,E> function)
Code that wants to run both network call and command line process should be wrapped to this method.static <R,E extends Exception>
RIOGuard. allowNetworkCall(FuncThrow<R,E> function)
Code that wants to call network operation should be wrapped to this method.static <R,E extends Throwable>
RReadOnlyRestrictor. doReadOnlyCommandLine(FuncThrow<R,E> actionThrow)
Deprecated.static <R,E extends Throwable>
RReadOnlyRestrictor. doReadOnlyNetworkOperation(FuncThrow<R,E> actionThrow)
Deprecated. -
Uses of FuncThrow in jetbrains.buildServer.serverSide.impl
Methods in jetbrains.buildServer.serverSide.impl with parameters of type FuncThrow Modifier and Type Method Description static <R,E extends Throwable>
RSecondaryNodeSecurityManager. executeSafe(FuncThrow<R,E> funcThrow, Set<RestrictedOperation> operations)
Code that wants to run safe but restricted operation on read-only node should be wrapped in this method.static <R,E extends Throwable>
RSecondaryNodeSecurityManager. executeSafeCommandLine(FuncThrow<R,E> funcThrow)
Code that wants to run read-only safe external command-line should be wrapped to this method.static <R,E extends Throwable>
RSecondaryNodeSecurityManager. runSafeDiskWriteOperation(FuncThrow<R,E> funcThrow)
Code that wants to run file operation should be wrapped to this method.static <R,E extends Throwable>
RSecondaryNodeSecurityManager. runSafeNetworkOperation(FuncThrow<R,E> funcThrow)
Code that wants to run read-only safe network operation should be wrapped to this method. -
Uses of FuncThrow in jetbrains.buildServer.serverSide.impl.artifacts
Methods in jetbrains.buildServer.serverSide.impl.artifacts with parameters of type FuncThrow Modifier and Type Method Description InputStream
ExternalBuildArtifactsCache. getCachedStream(ExternalBuildArtifactFile artifact, FuncThrow<InputStream,IOException> streamAction)
Executes artifact content caching and returns input stream.InputStream
ExternalBuildArtifactsCacheImpl. getCachedStream(ExternalBuildArtifactFile artifact, FuncThrow<InputStream,IOException> streamAction)
-
Uses of FuncThrow in jetbrains.buildServer.util
Methods in jetbrains.buildServer.util with parameters of type FuncThrow Modifier and Type Method Description static <T,E extends Throwable>
TUtil. doUnderContextClassLoader(ClassLoader cl, FuncThrow<T,E> action)
Performs an action under context class loader.static <T,E extends Throwable>
TNamedThreadFactory. executeWithNewThreadNameFuncThrow(String newDetails, FuncThrow<T,E> function)
Same asNamedThreadFactory.executeWithNewThreadName(String, Runnable)
but for arbitrary thrown exceptionprotected <R> R
MultipleLock. locked(MultipleLock.Locker<TLock> locker, TObject object, FuncThrow<R,RuntimeException> action)
<R> R
ReadWriteMultipleLock. readLocked(TObject object, FuncThrow<R,RuntimeException> action)
<R> R
ReadWriteMultipleLock. writeLocked(TObject object, FuncThrow<R,RuntimeException> action)
-