@Deprecated public interface NiFiWebContext
| Modifier and Type | Method and Description |
|---|---|
ControllerService |
getControllerService(String serviceIdentifier)
Deprecated.
|
String |
getCurrentUserDn()
Deprecated.
|
String |
getCurrentUserName()
Deprecated.
|
ProcessorInfo |
getProcessor(NiFiWebContextConfig config)
Deprecated.
Gets the Processor configuration.
|
void |
saveActions(Collection<ProcessorConfigurationAction> actions)
Deprecated.
Provides a mechanism for custom UIs to save actions to appear in NiFi
configuration history.
|
void |
setProcessorAnnotationData(NiFiWebContextConfig config,
String annotationData)
Deprecated.
Sets the Processor annotation data.
|
ControllerService getControllerService(String serviceIdentifier)
serviceIdentifier - identifier of the servicevoid saveActions(Collection<ProcessorConfigurationAction> actions)
actions - to saveString getCurrentUserDn()
String getCurrentUserName()
ProcessorInfo getProcessor(NiFiWebContextConfig config) throws ResourceNotFoundException, ClusterRequestException
config - the configurationResourceNotFoundException - if the processor does not exitClusterRequestException - if the processor was unable to be
retrieved from the cluster. This exception will only be thrown when
operating in a cluster.void setProcessorAnnotationData(NiFiWebContextConfig config, String annotationData) throws ResourceNotFoundException, InvalidRevisionException, ClusterRequestException
config - the configurationannotationData - the annotation dataResourceNotFoundException - if the processor does not exitInvalidRevisionException - if a revision other than the current
revision is givenClusterRequestException - if the annotation data was unable to be
set for the processor. This exception will only be thrown when operating
in a cluster.Copyright © 2016 Apache NiFi Project. All rights reserved.