Class JerseyVersionsClient
java.lang.Object
org.apache.nifi.toolkit.client.impl.AbstractJerseyClient
org.apache.nifi.toolkit.client.impl.JerseyVersionsClient
- All Implemented Interfaces:
VersionsClient
Jersey implementation of VersionsClient.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.nifi.toolkit.client.impl.AbstractJerseyClient
AbstractJerseyClient.NiFiAction<T> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJerseyVersionsClient(jakarta.ws.rs.client.WebTarget baseTarget) JerseyVersionsClient(jakarta.ws.rs.client.WebTarget baseTarget, RequestConfig requestConfig) -
Method Summary
Modifier and TypeMethodDescriptiondeleteRevertFlowVersionRequest(String requestId) deleteUpdateRequest(String updateRequestId) getRevertFlowVersionRequest(String requestId) getUpdateRequest(String updateRequestId) getVersionControlInfo(String processGroupId) initiateRevertFlowVersion(String processGroupId, VersionControlInformationEntity versionControlInformation) startVersionControl(String processGroupId, StartVersionControlRequestEntity startVersionControlRequestEntity) stopVersionControl(ProcessGroupEntity processGroupEntity) updateVersionControlInfo(String processGroupId, VersionControlInformationEntity entity) Methods inherited from class org.apache.nifi.toolkit.client.impl.AbstractJerseyClient
executeAction, getContentDispositionFilename, getIOExceptionCause, getRequestBuilder, getRequestConfig
-
Field Details
-
versionsTarget
private final jakarta.ws.rs.client.WebTarget versionsTarget
-
-
Constructor Details
-
JerseyVersionsClient
public JerseyVersionsClient(jakarta.ws.rs.client.WebTarget baseTarget) -
JerseyVersionsClient
-
-
Method Details
-
getVersionControlInfo
public VersionControlInformationEntity getVersionControlInfo(String processGroupId) throws IOException, NiFiClientException - Specified by:
getVersionControlInfoin interfaceVersionsClient- Throws:
IOExceptionNiFiClientException
-
updateVersionControlInfo
public VersionedFlowUpdateRequestEntity updateVersionControlInfo(String processGroupId, VersionControlInformationEntity entity) throws IOException, NiFiClientException - Specified by:
updateVersionControlInfoin interfaceVersionsClient- Throws:
IOExceptionNiFiClientException
-
getUpdateRequest
public VersionedFlowUpdateRequestEntity getUpdateRequest(String updateRequestId) throws IOException, NiFiClientException - Specified by:
getUpdateRequestin interfaceVersionsClient- Throws:
IOExceptionNiFiClientException
-
deleteUpdateRequest
public VersionedFlowUpdateRequestEntity deleteUpdateRequest(String updateRequestId) throws IOException, NiFiClientException - Specified by:
deleteUpdateRequestin interfaceVersionsClient- Throws:
IOExceptionNiFiClientException
-
startVersionControl
public VersionControlInformationEntity startVersionControl(String processGroupId, StartVersionControlRequestEntity startVersionControlRequestEntity) throws IOException, NiFiClientException - Specified by:
startVersionControlin interfaceVersionsClient- Throws:
IOExceptionNiFiClientException
-
stopVersionControl
public VersionControlInformationEntity stopVersionControl(ProcessGroupEntity processGroupEntity) throws IOException, NiFiClientException - Specified by:
stopVersionControlin interfaceVersionsClient- Throws:
IOExceptionNiFiClientException
-
initiateRevertFlowVersion
public VersionedFlowUpdateRequestEntity initiateRevertFlowVersion(String processGroupId, VersionControlInformationEntity versionControlInformation) throws IOException, NiFiClientException - Specified by:
initiateRevertFlowVersionin interfaceVersionsClient- Throws:
IOExceptionNiFiClientException
-
getRevertFlowVersionRequest
public VersionedFlowUpdateRequestEntity getRevertFlowVersionRequest(String requestId) throws IOException, NiFiClientException - Specified by:
getRevertFlowVersionRequestin interfaceVersionsClient- Throws:
IOExceptionNiFiClientException
-
deleteRevertFlowVersionRequest
public VersionedFlowUpdateRequestEntity deleteRevertFlowVersionRequest(String requestId) throws IOException, NiFiClientException - Specified by:
deleteRevertFlowVersionRequestin interfaceVersionsClient- Throws:
IOExceptionNiFiClientException
-