Uses of Class
de.xima.fc.mdl.Closable
-
Packages that use Closable Package Description de.xima.fc.mdl Allgemeine Modellklassen, nicht Datenbankpersitiertde.xima.fc.plugin de.xima.fc.proma.util -
-
Uses of Closable in de.xima.fc.mdl
Methods in de.xima.fc.mdl that return Closable Modifier and Type Method Description static <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.static Closable<File>
Closable. withDeleteFileOrFolder(File fileOrFolder)
Creates a new closable that wraps the given file or folder and delete that file or folder when closed.static Closable<Path>
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 Closable Modifier and Type Method Description static 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.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.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. -
Uses of Closable in de.xima.fc.proma.util
Methods in de.xima.fc.proma.util that return Closable Modifier and Type Method Description static 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 Closable Modifier and Type Method Description static <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.
-