Uses of Class
de.xima.fc.mdl.Closable
Packages that use Closable
Package
Description
Allgemeine Modellklassen, nicht Datenbankpersitiert
-
Uses of Closable in de.xima.fc.mdl
Methods in de.xima.fc.mdl that return ClosableModifier and TypeMethodDescriptionstatic <T extends AutoCloseable>
Closable<T>Closable.ofAutoCloseable
(T closable) Wraps an auto closable in a closable instance.static <T> Closable<T>
Closable.withCloseAction
(T item, IThrowingConsumer<T> closeAction) Creates a new closable that wraps the given item and applies the custom close action when closed.static <T> Closable<T>
Closable.withCloseAction
(T item, IThrowingRunnable closeAction) Creates a new closable that wraps the given item and applies the custom close action when closed.Closable.withDeleteFileOrFolder
(File fileOrFolder) Creates a new closable that wraps the given file or folder and delete that file or folder when closed.Closable.withDeleteFileOrFolder
(Path fileOrFolder) Creates a new closable that wraps the given file or folder and delete that file or folder when closed. -
Uses of Closable in de.xima.fc.plugin
Methods in de.xima.fc.plugin that return ClosableModifier and TypeMethodDescriptionstatic Closable<PluginRuntime>
PluginHelper.createTempRuntime
(IThrowingSupplier<InputStream> data, String name, String scopeKey, String runtimeKey, boolean instantiate) Creates a temporary runtime that can be used e.g. for validation.static Closable<PluginRuntime>
PluginHelper.createTempRuntime
(InputStream input, String name, String scopeKey, String runtimeKey, boolean instantiate) Creates a temporary runtime that can be used e.g. for validation.static Closable<PluginRuntime>
PluginHelper.createTempRuntime
(Path jarFile, String name, String scopeKey, String runtimeKey, boolean instantiate) Creates a temporary runtime that can be used e.g. for validation. -
Uses of Closable in de.xima.fc.proma.util
Methods in de.xima.fc.proma.util that return ClosableModifier and TypeMethodDescriptionstatic Closable<Map<String,
PluginJarWithManifest>> PluginZipScanner.unpackPluginZipAndMapFiles
(TempFile zipFile, PluginID pluginId) Unpacks the given ZIP file to a temporary directory, checks all files and returns a map between the file key of each plugin JAR and the file itself.Methods in de.xima.fc.proma.util that return types with arguments of type ClosableModifier and TypeMethodDescriptionstatic <R> StageChain<Closable<Map<String,
PluginJarWithManifest>>, R> PromaStoreItems.getStoreItemJarFilesByFileKey
(IPublicPromaInvocationContext pc, String licenseKey, String storeKey, String itemKey, String itemVersion) Downloads all files for a given plugin key, and returns a map between each plugin file key and the corresponding file.