public interface NiFiWebConfigurationContext
| Modifier and Type | Method and Description |
|---|---|
ComponentDetails |
getComponentDetails(NiFiWebRequestContext requestContext)
Gets the details for the underlying component (including configuration,
validation errors, and annotation data).
|
ControllerService |
getControllerService(String serviceIdentifier) |
String |
getCurrentUserDn() |
String |
getCurrentUserName() |
void |
saveActions(NiFiWebRequestContext requestContext,
Collection<ConfigurationAction> actions)
Provides a mechanism for custom UIs to save actions to appear in NiFi
configuration history.
|
ComponentDetails |
setAnnotationData(NiFiWebConfigurationRequestContext configurationContext,
String annotationData)
Sets the annotation data for the underlying component.
|
ControllerService getControllerService(String serviceIdentifier)
serviceIdentifier - of the controller servicevoid saveActions(NiFiWebRequestContext requestContext, Collection<ConfigurationAction> actions)
requestContext - context of the requestactions - to saveIllegalArgumentException - When the requestContext isn't fully
populated or isn't appropriate for the given requestString getCurrentUserDn()
String getCurrentUserName()
ComponentDetails setAnnotationData(NiFiWebConfigurationRequestContext configurationContext, String annotationData) throws ResourceNotFoundException, InvalidRevisionException, ClusterRequestException
configurationContext - config contextannotationData - the dataResourceNotFoundException - if the underlying component does not
exitInvalidRevisionException - if a revision other than the current
revision is givenClusterRequestException - if the annotation data was unable to be
set for the underlying component. This exception will only be thrown when
operating in a cluster.IllegalArgumentException - When the requestContext isn't fully
populated or isn't appropriate for the given requestComponentDetails getComponentDetails(NiFiWebRequestContext requestContext) throws ResourceNotFoundException, ClusterRequestException
requestContext - context of requestResourceNotFoundException - if the underlying component does not
exitClusterRequestException - if the underlying component was unable to
be retrieved from the cluster. This exception will only be thrown when
operating in a cluster.IllegalArgumentException - When the requestContext isn't fully
populated or isn't appropriate for the given requestCopyright © 2016 Apache NiFi Project. All rights reserved.