Index

A B C D E F G H I J L M N O P S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractNativeLibHandlingClassLoader - Class in org.apache.nifi.nar
An extension of URLClassLoader that can load native libraries from a predefined list of directories as well as from those that are defined by the java.library.path system property.
AbstractNativeLibHandlingClassLoader(URL[], ClassLoader, List<File>, String) - Constructor for class org.apache.nifi.nar.AbstractNativeLibHandlingClassLoader
 
AbstractNativeLibHandlingClassLoader(URL[], List<File>, String) - Constructor for class org.apache.nifi.nar.AbstractNativeLibHandlingClassLoader
 
around(ProceedingJoinPoint) - Method in class org.apache.nifi.nar.LoadNativeLibAspect
 

B

BUFFER_LENGTH - Static variable in class org.apache.nifi.nar.FileDigestUtils
 
BUILD_BRANCH - Enum constant in enum class org.apache.nifi.nar.NarManifestEntry
 
BUILD_JDK - Enum constant in enum class org.apache.nifi.nar.NarManifestEntry
 
BUILD_REVISION - Enum constant in enum class org.apache.nifi.nar.NarManifestEntry
 
BUILD_TAG - Enum constant in enum class org.apache.nifi.nar.NarManifestEntry
 
BUILD_TIMESTAMP - Enum constant in enum class org.apache.nifi.nar.NarManifestEntry
 
buildNativeLibDirList(List<File>) - Method in class org.apache.nifi.nar.AbstractNativeLibHandlingClassLoader
 
BUILT_BY - Enum constant in enum class org.apache.nifi.nar.NarManifestEntry
 
BUNDLED_DEPENDENCIES_DIRECTORY - Static variable in class org.apache.nifi.nar.NarUnpacker
 
BUNDLED_DEPENDENCIES_PREFIX - Static variable in class org.apache.nifi.nar.NarUnpacker
 
bundles - Variable in class org.apache.nifi.nar.NarClassLoaders.InitContext
 

C

copy(InputStream, OutputStream) - Static method in class org.apache.nifi.nar.NarUnpacker
 
copyJarContents(InputStream, JarOutputStream, Set<String>, File) - Static method in class org.apache.nifi.nar.NarUnpacker
Copies the contents of the Jar File whose input stream is provided to the JarOutputStream provided.
create(String, ClassLoader) - Static method in class org.apache.nifi.nar.SystemBundle
 
create(NiFiProperties) - Static method in class org.apache.nifi.nar.SystemBundle
 
create(NiFiProperties, ClassLoader) - Static method in class org.apache.nifi.nar.PythonBundle
 
create(NiFiProperties, ClassLoader) - Static method in class org.apache.nifi.nar.SystemBundle
Returns a bundle representing the system class loader.
createBundleClassLoader(BundleDetails, Map<String, Set<BundleCoordinate>>, boolean) - Method in class org.apache.nifi.nar.NarClassLoaders
 
createBundleCoordinate(Manifest) - Static method in class org.apache.nifi.nar.NarUnpacker
 
createNarClassLoader(File, ClassLoader, boolean) - Static method in class org.apache.nifi.nar.NarClassLoaders
Creates a new NarClassLoader.
createTempCopy(String, String) - Method in class org.apache.nifi.nar.AbstractNativeLibHandlingClassLoader
 
createUnpackedNarBundleCoordinateMap(File) - Static method in class org.apache.nifi.nar.NarUnpacker
Creates a map containing the nar directory mapped to it's bundle-coordinate.

D

deleteFile(File, boolean) - Static method in class org.apache.nifi.util.FileUtils
 
deleteFile(File, Logger) - Static method in class org.apache.nifi.util.FileUtils
Deletes the given file.
deleteFile(File, Logger, int) - Static method in class org.apache.nifi.util.FileUtils
Deletes the given file.
deleteFiles(Collection<File>, boolean) - Static method in class org.apache.nifi.util.FileUtils
Deletes given files.
deleteFilesInDirectory(File, FilenameFilter, Logger) - Static method in class org.apache.nifi.util.FileUtils
Deletes all files (not directories..) in the given directory (non recursive) that match the given filename filter.
deleteFilesInDirectory(File, FilenameFilter, Logger, boolean) - Static method in class org.apache.nifi.util.FileUtils
Deletes all files (not directories) in the given directory (recursive) that match the given filename filter.
deleteFilesInDirectory(File, FilenameFilter, Logger, boolean, boolean) - Static method in class org.apache.nifi.util.FileUtils
Deletes all files (not directories) in the given directory (recursive) that match the given filename filter.
determineDocumentedNiFiComponents(JarFile, JarEntry) - Static method in class org.apache.nifi.nar.NarUnpacker
 
determineDocumentedNiFiComponents(BundleCoordinate, File) - Static method in class org.apache.nifi.nar.NarUnpacker
 
DIGEST_ALGORITHM - Static variable in class org.apache.nifi.nar.FileDigestUtils
 

E

ensureDirectoryExistAndCanRead(File) - Static method in class org.apache.nifi.util.FileUtils
 
ensureDirectoryExistAndCanReadAndWrite(File) - Static method in class org.apache.nifi.util.FileUtils
 
extensionWorkingDir - Variable in class org.apache.nifi.nar.NarClassLoaders.InitContext
 

F

FileDigestUtils - Class in org.apache.nifi.nar
File Digest Utilities for standardized algorithm use within NAR Unpacker
FileDigestUtils() - Constructor for class org.apache.nifi.nar.FileDigestUtils
 
FileUtils - Class in org.apache.nifi.util
A utility class containing a few useful static methods to do typical IO operations.
FileUtils() - Constructor for class org.apache.nifi.util.FileUtils
 
findLibrary(String) - Method in class org.apache.nifi.nar.AbstractNativeLibHandlingClassLoader
 
findLibrary(String, File) - Method in class org.apache.nifi.nar.AbstractNativeLibHandlingClassLoader
 
FRAMEWORK_NAR_ID - Static variable in class org.apache.nifi.nar.NarClassLoaders
 
frameworkBundle - Variable in class org.apache.nifi.nar.NarClassLoaders.InitContext
 
frameworkWorkingDir - Variable in class org.apache.nifi.nar.NarClassLoaders.InitContext
 
fromNarDirectory(File) - Static method in class org.apache.nifi.nar.NarBundleUtil
Creates a BundleDetails from the given NAR working directory.

G

getBundle(File) - Method in class org.apache.nifi.nar.NarClassLoaders
 
getBundle(BundleCoordinate) - Method in class org.apache.nifi.nar.NarClassLoaders
Gets the bundle with the given coordinate.
getBundles() - Method in class org.apache.nifi.nar.NarClassLoaders
 
getDigest(File) - Static method in class org.apache.nifi.nar.FileDigestUtils
Get Digest using standard algorithm
getFrameworkBundle() - Method in class org.apache.nifi.nar.NarClassLoaders
 
getInstance() - Static method in class org.apache.nifi.nar.NarClassLoadersHolder
 
getJarEntryFile(File, String) - Static method in class org.apache.nifi.nar.NarUnpacker
 
getJavaLibraryPath() - Method in class org.apache.nifi.nar.AbstractNativeLibHandlingClassLoader
 
getJettyBundle() - Method in class org.apache.nifi.nar.NarClassLoaders
 
getLoadedBundles() - Method in class org.apache.nifi.nar.NarLoadResult
 
getManifestName() - Method in enum class org.apache.nifi.nar.NarManifestEntry
 
getMappedJarEntryFile(File, JarEntry) - Static method in class org.apache.nifi.nar.NarUnpacker
 
getMessageDigest() - Static method in class org.apache.nifi.nar.FileDigestUtils
 
getNarDetails(File) - Static method in class org.apache.nifi.nar.NarClassLoaders
Loads the details for the specified NAR.
getNARNativeLibDir() - Method in class org.apache.nifi.nar.NarClassLoader
 
getNARNativeLibDir(File) - Static method in class org.apache.nifi.nar.NarClassLoader
 
getServer() - Method in class org.apache.nifi.nar.NarClassLoaders
 
getSkippedBundles() - Method in class org.apache.nifi.nar.NarLoadResult
 
getUsrLibDirs() - Method in class org.apache.nifi.nar.AbstractNativeLibHandlingClassLoader
 
getWorkingDirectory() - Method in class org.apache.nifi.nar.NarClassLoader
 

H

HASH_FILENAME - Static variable in class org.apache.nifi.nar.NarUnpacker
 

I

init(File, File) - Method in class org.apache.nifi.nar.NarClassLoaders
 
init(File, File, String) - Method in class org.apache.nifi.nar.NarClassLoaders
Initializes and loads the NarClassLoaders.
init(ClassLoader, File, File, boolean) - Method in class org.apache.nifi.nar.NarClassLoaders
 
init(ClassLoader, File, File, String, boolean) - Method in class org.apache.nifi.nar.NarClassLoaders
Initializes and loads the NarClassLoaders.
initContext - Variable in class org.apache.nifi.nar.NarClassLoaders
 
InitContext(File, File, Bundle, Bundle, NiFiServer, Map<String, Bundle>) - Constructor for class org.apache.nifi.nar.NarClassLoaders.InitContext
 
initNativeLibDirList(File) - Static method in class org.apache.nifi.nar.NarClassLoader
 
INSTANCE - Static variable in class org.apache.nifi.nar.NarClassLoadersHolder
 
isOsLinuxUnix() - Method in interface org.apache.nifi.nar.OSUtil
 
isOsMac() - Method in interface org.apache.nifi.nar.OSUtil
 
isOsWindows() - Method in interface org.apache.nifi.nar.OSUtil
 
isPythonCoordinate(String, String) - Static method in class org.apache.nifi.nar.PythonBundle
 
isPythonCoordinate(BundleCoordinate) - Static method in class org.apache.nifi.nar.PythonBundle
 

J

JAR_DOCUMENTATION_ROOT_PATH - Static variable in class org.apache.nifi.nar.NarUnpacker
 
JAR_FILTER - Static variable in class org.apache.nifi.nar.NarClassLoader
 
JETTY_NAR_ID - Static variable in class org.apache.nifi.nar.NarClassLoaders
 
jettyBundle - Variable in class org.apache.nifi.nar.NarClassLoaders.InitContext
 

L

load(ClassLoader, File, File, String, boolean) - Method in class org.apache.nifi.nar.NarClassLoaders
Should be called at most once.
loadAdditionalNars(List<File>) - Method in class org.apache.nifi.nar.NarClassLoaders
Loads additional NARs after the application has been started.
loadBundleDetails(List<File>) - Method in class org.apache.nifi.nar.NarClassLoaders
 
loadedBundles - Variable in class org.apache.nifi.nar.NarLoadResult
 
LoadNativeLibAspect - Class in org.apache.nifi.nar
AspectJ aspect to handle native library loading by absolute path in multiple classloaders.
LoadNativeLibAspect() - Constructor for class org.apache.nifi.nar.LoadNativeLibAspect
 
logger - Variable in class org.apache.nifi.nar.AbstractNativeLibHandlingClassLoader
 
logger - Variable in class org.apache.nifi.nar.LoadNativeLibAspect
 
logger - Static variable in class org.apache.nifi.nar.NarClassLoaders
 
logger - Static variable in class org.apache.nifi.nar.NarUnpacker
 
LOGGER - Static variable in class org.apache.nifi.nar.NarClassLoader
 

M

makeFile(InputStream, File) - Static method in class org.apache.nifi.nar.NarUnpacker
Creates the specified file, whose contents will come from the InputStream.
manifestName - Variable in enum class org.apache.nifi.nar.NarManifestEntry
 
mapExtension(File, BundleCoordinate, File, ExtensionMapping) - Static method in class org.apache.nifi.nar.NarUnpacker
 
mapExtensions(Map<File, BundleCoordinate>, File, ExtensionMapping) - Static method in class org.apache.nifi.nar.NarUnpacker
 
MILLIS_BETWEEN_ATTEMPTS - Static variable in class org.apache.nifi.util.FileUtils
 

N

NAR_DEPENDENCY_GROUP - Enum constant in enum class org.apache.nifi.nar.NarManifestEntry
 
NAR_DEPENDENCY_ID - Enum constant in enum class org.apache.nifi.nar.NarManifestEntry
 
NAR_DEPENDENCY_VERSION - Enum constant in enum class org.apache.nifi.nar.NarManifestEntry
 
NAR_FILTER - Static variable in class org.apache.nifi.nar.NarUnpacker
 
NAR_GROUP - Enum constant in enum class org.apache.nifi.nar.NarManifestEntry
 
NAR_ID - Enum constant in enum class org.apache.nifi.nar.NarManifestEntry
 
NAR_VERSION - Enum constant in enum class org.apache.nifi.nar.NarManifestEntry
 
NarBundleUtil - Class in org.apache.nifi.nar
 
NarBundleUtil() - Constructor for class org.apache.nifi.nar.NarBundleUtil
 
NarClassLoader - Class in org.apache.nifi.nar
A ClassLoader for loading NARs (NiFi archives).
NarClassLoader(File) - Constructor for class org.apache.nifi.nar.NarClassLoader
Construct a nar class loader.
NarClassLoader(File, ClassLoader) - Constructor for class org.apache.nifi.nar.NarClassLoader
Construct a nar class loader with the specific parent.
NarClassLoaders - Class in org.apache.nifi.nar
Used to initialize the extension and framework classloaders.
NarClassLoaders() - Constructor for class org.apache.nifi.nar.NarClassLoaders
 
NarClassLoaders.InitContext - Class in org.apache.nifi.nar
 
NarClassLoadersHolder - Class in org.apache.nifi.nar
 
NarClassLoadersHolder() - Constructor for class org.apache.nifi.nar.NarClassLoadersHolder
 
NarLoadResult - Class in org.apache.nifi.nar
Holder so we can return which bundles were loaded and which were skipped.
NarLoadResult(Set<Bundle>, Set<BundleDetails>) - Constructor for class org.apache.nifi.nar.NarLoadResult
 
NarManifestEntry - Enum Class in org.apache.nifi.nar
Enumeration of entries that will be in a NAR MANIFEST file.
NarManifestEntry(String) - Constructor for enum class org.apache.nifi.nar.NarManifestEntry
 
NarUnpacker - Class in org.apache.nifi.nar
 
NarUnpacker() - Constructor for class org.apache.nifi.nar.NarUnpacker
 
NarUnpackMode - Enum Class in org.apache.nifi.nar
Specifies how the contents of a NAR file should be unpacked on disk.
NarUnpackMode() - Constructor for enum class org.apache.nifi.nar.NarUnpackMode
 
narWorkingDirectory - Variable in class org.apache.nifi.nar.NarClassLoader
The NAR for which this ClassLoader is responsible.
nativeLibDirList - Variable in class org.apache.nifi.nar.AbstractNativeLibHandlingClassLoader
Directories in which to look for native libraries
nativeLibNameToPath - Variable in class org.apache.nifi.nar.AbstractNativeLibHandlingClassLoader
Used to cache (the paths of) temporary copies of loaded libraries

O

org.apache.nifi.nar - package org.apache.nifi.nar
 
org.apache.nifi.util - package org.apache.nifi.util
 
OS - Static variable in interface org.apache.nifi.nar.OSUtil
 
OSUtil - Interface in org.apache.nifi.nar
 

P

PYTHON_BUNDLE_COORDINATE - Static variable in class org.apache.nifi.nar.PythonBundle
 
PythonBundle - Class in org.apache.nifi.nar
 
PythonBundle() - Constructor for class org.apache.nifi.nar.PythonBundle
 

S

serverInstance - Variable in class org.apache.nifi.nar.NarClassLoaders.InitContext
 
skippedBundles - Variable in class org.apache.nifi.nar.NarLoadResult
 
sleepQuietly(long) - Static method in class org.apache.nifi.util.FileUtils
 
START_READ_INDEX - Static variable in class org.apache.nifi.nar.FileDigestUtils
 
STREAM_END_INDEX - Static variable in class org.apache.nifi.nar.FileDigestUtils
 
SYSTEM_BUNDLE_COORDINATE - Static variable in class org.apache.nifi.nar.SystemBundle
 
SystemBundle - Class in org.apache.nifi.nar
Utility to create the system bundle.
SystemBundle() - Constructor for class org.apache.nifi.nar.SystemBundle
 

T

tmpLibFilePrefix - Variable in class org.apache.nifi.nar.AbstractNativeLibHandlingClassLoader
Used as prefix when creating the temporary copies of libraries
toDir(File) - Static method in class org.apache.nifi.nar.AbstractNativeLibHandlingClassLoader
 
toString() - Method in class org.apache.nifi.nar.NarClassLoader
 

U

UNPACK_INDIVIDUAL_JARS - Enum constant in enum class org.apache.nifi.nar.NarUnpackMode
Each JAR file in the NAR should be written out as a separate JAR file on disk.
UNPACK_TO_UBER_JAR - Enum constant in enum class org.apache.nifi.nar.NarUnpackMode
Each JAR file in the NAR should be combined into a single uber JAR file on disk.
unpackBundleDocs(File, ExtensionMapping, BundleCoordinate, File) - Static method in class org.apache.nifi.nar.NarUnpacker
 
unpackDocumentation(BundleCoordinate, File, File, ExtensionMapping) - Static method in class org.apache.nifi.nar.NarUnpacker
 
unpackIndividualJars(File, File, byte[]) - Static method in class org.apache.nifi.nar.NarUnpacker
Unpacks the NAR to the specified directory.
unpackIndividualJars(File, File, byte[], NarUnpackMode) - Static method in class org.apache.nifi.nar.NarUnpacker
 
unpackNar(File, File, boolean, NarUnpackMode) - Static method in class org.apache.nifi.nar.NarUnpacker
Unpacks the specified nar into the specified base working directory.
unpackNars(Bundle, File, File, File, List<Path>, boolean, String, boolean, boolean, NarUnpackMode, Predicate<BundleCoordinate>) - Static method in class org.apache.nifi.nar.NarUnpacker
 
unpackNars(Bundle, File, String, File, File, List<Path>, NarUnpackMode) - Static method in class org.apache.nifi.nar.NarUnpacker
 
unpackNars(NiFiProperties, String, Bundle, NarUnpackMode) - Static method in class org.apache.nifi.nar.NarUnpacker
 
unpackNars(NiFiProperties, Bundle, NarUnpackMode) - Static method in class org.apache.nifi.nar.NarUnpacker
 
unpackToUberJar(File, File, byte[]) - Static method in class org.apache.nifi.nar.NarUnpacker
Unpacks the NAR to a single JAR file in the specified directory.
updateClasspath(File) - Method in class org.apache.nifi.nar.NarClassLoader
Adds URLs for the resources unpacked from this NAR: the root: for classes, NAR-INF, etc. NAR-INF/bundled-dependencies: for config files, .sos, etc. NAR-INF/bundled-dependencies/*.jar: for dependent libraries

V

valueOf(String) - Static method in enum class org.apache.nifi.nar.NarManifestEntry
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.nifi.nar.NarUnpackMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.apache.nifi.nar.NarManifestEntry
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.nifi.nar.NarUnpackMode
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E F G H I J L M N O P S T U V 
All Classes and Interfaces|All Packages|Constant Field Values