public class HeadlessNiFiServer extends Object implements NiFiServer
| Modifier and Type | Class and Description |
|---|---|
private static class |
HeadlessNiFiServer.ThreadDumpDiagnosticsFactory |
| Modifier and Type | Field and Description |
|---|---|
protected Set<org.apache.nifi.bundle.Bundle> |
bundles |
protected DiagnosticsFactory |
diagnosticsFactory |
protected FlowController |
flowController |
protected org.apache.nifi.services.FlowService |
flowService |
private static org.slf4j.Logger |
logger |
protected NarAutoLoader |
narAutoLoader |
protected NiFiProperties |
props |
protected org.apache.nifi.bundle.Bundle |
systemBundle |
| Constructor and Description |
|---|
HeadlessNiFiServer()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected List<org.apache.nifi.bundle.Bundle> |
getBundles(String bundleClass) |
DecommissionTask |
getDecommissionTask() |
DiagnosticsFactory |
getDiagnosticsFactory() |
StatusHistoryDumpFactory |
getStatusHistoryDumpFactory() |
DiagnosticsFactory |
getThreadDumpFactory() |
void |
initialize(NiFiProperties properties,
org.apache.nifi.bundle.Bundle systemBundle,
Set<org.apache.nifi.bundle.Bundle> bundles,
ExtensionMapping extensionMapping) |
void |
start() |
private void |
startUpFailure(Throwable t) |
void |
stop() |
private static final org.slf4j.Logger logger
protected NiFiProperties props
protected org.apache.nifi.bundle.Bundle systemBundle
protected Set<org.apache.nifi.bundle.Bundle> bundles
protected FlowController flowController
protected org.apache.nifi.services.FlowService flowService
protected DiagnosticsFactory diagnosticsFactory
protected NarAutoLoader narAutoLoader
public void start()
start in interface NiFiServerprivate void startUpFailure(Throwable t)
public void initialize(NiFiProperties properties, org.apache.nifi.bundle.Bundle systemBundle, Set<org.apache.nifi.bundle.Bundle> bundles, ExtensionMapping extensionMapping)
initialize in interface NiFiServerpublic DiagnosticsFactory getDiagnosticsFactory()
getDiagnosticsFactory in interface NiFiServerpublic DiagnosticsFactory getThreadDumpFactory()
getThreadDumpFactory in interface NiFiServerpublic DecommissionTask getDecommissionTask()
getDecommissionTask in interface NiFiServerpublic StatusHistoryDumpFactory getStatusHistoryDumpFactory()
getStatusHistoryDumpFactory in interface NiFiServerpublic void stop()
stop in interface NiFiServerprotected List<org.apache.nifi.bundle.Bundle> getBundles(String bundleClass)
Copyright © 2022 Apache NiFi Project. All rights reserved.