Class FunctionArchive
- java.lang.Object
-
- org.apache.pulsar.functions.utils.functions.FunctionArchive
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class FunctionArchive extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description FunctionArchive(java.nio.file.Path archivePath, org.apache.pulsar.common.functions.FunctionDefinition functionDefinition, java.lang.String narExtractionDirectory, boolean enableClassloading)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.nio.file.PathgetArchivePath()org.apache.pulsar.common.functions.FunctionDefinitiongetFunctionDefinition()ValidatableFunctionPackagegetFunctionPackage()
-
-
-
Method Detail
-
getArchivePath
public java.nio.file.Path getArchivePath()
-
getFunctionPackage
public ValidatableFunctionPackage getFunctionPackage()
-
getFunctionDefinition
public org.apache.pulsar.common.functions.FunctionDefinition getFunctionDefinition()
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
-