Package org.apache.nifi.toolkit.client
Interface ProcessGroupClient
- All Known Implementing Classes:
JerseyProcessGroupClient
public interface ProcessGroupClient
Client for ProcessGroupResource.
-
Method Summary
Modifier and TypeMethodDescriptioncopy(String processGroupId, CopyRequestEntity copyRequestEntity) copySnippet(String processGroupId, CopySnippetRequestEntity copySnippetRequestEntity) createControllerService(String processGroupId, ControllerServiceEntity controllerService) createProcessGroup(String parentGroupdId, ProcessGroupEntity entity) createProcessGroup(String parentGroupdId, ProcessGroupEntity entity, boolean keepExisting) deleteProcessGroup(ProcessGroupEntity entity) deleteProcessGroupReplaceRequest(String processGroupId, String requestId) emptyQueues(String processGroupId) exportProcessGroup(String processGroupId, boolean includeReferencedServices, File outputFile) getEmptyQueuesRequest(String processGroupId, String requestId) getLocalModifications(String processGroupId) getProcessGroup(String processGroupId) getProcessGroupReplaceRequest(String processGroupId, String requestId) paste(String processGroupId, PasteRequestEntity pasteRequestEntity) replaceProcessGroup(String processGroupId, ProcessGroupImportEntity importEntity) updateProcessGroup(ProcessGroupEntity entity)
-
Method Details
-
createProcessGroup
ProcessGroupEntity createProcessGroup(String parentGroupdId, ProcessGroupEntity entity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
createProcessGroup
ProcessGroupEntity createProcessGroup(String parentGroupdId, ProcessGroupEntity entity, boolean keepExisting) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
getProcessGroup
- Throws:
NiFiClientExceptionIOException
-
updateProcessGroup
ProcessGroupEntity updateProcessGroup(ProcessGroupEntity entity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
deleteProcessGroup
ProcessGroupEntity deleteProcessGroup(ProcessGroupEntity entity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
createControllerService
ControllerServiceEntity createControllerService(String processGroupId, ControllerServiceEntity controllerService) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
replaceProcessGroup
ProcessGroupReplaceRequestEntity replaceProcessGroup(String processGroupId, ProcessGroupImportEntity importEntity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
getProcessGroupReplaceRequest
ProcessGroupReplaceRequestEntity getProcessGroupReplaceRequest(String processGroupId, String requestId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
deleteProcessGroupReplaceRequest
ProcessGroupReplaceRequestEntity deleteProcessGroupReplaceRequest(String processGroupId, String requestId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
copySnippet
FlowEntity copySnippet(String processGroupId, CopySnippetRequestEntity copySnippetRequestEntity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
getLocalModifications
FlowComparisonEntity getLocalModifications(String processGroupId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
exportProcessGroup
File exportProcessGroup(String processGroupId, boolean includeReferencedServices, File outputFile) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
emptyQueues
- Throws:
NiFiClientExceptionIOException
-
getEmptyQueuesRequest
DropRequestEntity getEmptyQueuesRequest(String processGroupId, String requestId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
copy
CopyResponseEntity copy(String processGroupId, CopyRequestEntity copyRequestEntity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
paste
PasteResponseEntity paste(String processGroupId, PasteRequestEntity pasteRequestEntity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
upload
ProcessGroupEntity upload(String parentPgId, File file, String pgName, Double posX, Double posY) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-