Package org.apache.nifi.toolkit.client
Interface ProcessorClient
- All Known Implementing Classes:
JerseyProcessorClient
public interface ProcessorClient
-
Method Summary
Modifier and TypeMethodDescriptionvoidIndicates that mutable requests should indicate that the client has acknowledged that the node is disconnected.clearProcessorState(String processorId) createProcessor(String parentGroupdId, ProcessorEntity processorEntity) deleteConfigVerificationRequest(String processorId, String verificationRequestId) deleteProcessor(String processorId, String clientId, long version) deleteProcessor(ProcessorEntity processorEntity) disableProcessor(String processorId, String clientId, long version) disableProcessor(ProcessorEntity processorEntity) getConfigVerificationRequest(String processorId, String verificationRequestId) getProcessor(String processorId) getPropertyDescriptor(String processorId, String propertyName, Boolean sensitive) runProcessorOnce(String processorId, String clientId, long version) runProcessorOnce(ProcessorEntity processorEntity) startProcessor(String processorId, String clientId, long version) startProcessor(ProcessorEntity processorEntity) stopProcessor(String processorId, String clientId, long version) stopProcessor(ProcessorEntity processorEntity) submitConfigVerificationRequest(VerifyConfigRequestEntity configRequestEntity) terminateProcessor(String processorId) updateProcessor(ProcessorEntity entity)
-
Method Details
-
createProcessor
ProcessorEntity createProcessor(String parentGroupdId, ProcessorEntity processorEntity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
getProcessor
- Throws:
NiFiClientExceptionIOException
-
updateProcessor
- Throws:
NiFiClientExceptionIOException
-
startProcessor
ProcessorEntity startProcessor(String processorId, String clientId, long version) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
startProcessor
ProcessorEntity startProcessor(ProcessorEntity processorEntity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
runProcessorOnce
ProcessorEntity runProcessorOnce(String processorId, String clientId, long version) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
runProcessorOnce
ProcessorEntity runProcessorOnce(ProcessorEntity processorEntity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
stopProcessor
ProcessorEntity stopProcessor(String processorId, String clientId, long version) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
stopProcessor
ProcessorEntity stopProcessor(ProcessorEntity processorEntity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
disableProcessor
ProcessorEntity disableProcessor(String processorId, String clientId, long version) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
disableProcessor
ProcessorEntity disableProcessor(ProcessorEntity processorEntity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
deleteProcessor
ProcessorEntity deleteProcessor(String processorId, String clientId, long version) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
deleteProcessor
ProcessorEntity deleteProcessor(ProcessorEntity processorEntity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
submitConfigVerificationRequest
VerifyConfigRequestEntity submitConfigVerificationRequest(VerifyConfigRequestEntity configRequestEntity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
getConfigVerificationRequest
VerifyConfigRequestEntity getConfigVerificationRequest(String processorId, String verificationRequestId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
deleteConfigVerificationRequest
VerifyConfigRequestEntity deleteConfigVerificationRequest(String processorId, String verificationRequestId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
getPropertyDescriptor
PropertyDescriptorEntity getPropertyDescriptor(String processorId, String propertyName, Boolean sensitive) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
terminateProcessor
- Throws:
NiFiClientExceptionIOException
-
clearProcessorState
ComponentStateEntity clearProcessorState(String processorId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
acknowledgeDisconnectedNode
void acknowledgeDisconnectedNode()Indicates that mutable requests should indicate that the client has acknowledged that the node is disconnected.
-