Package org.apache.nifi.toolkit.client
Interface ParamContextClient
- All Known Implementing Classes:
JerseyParamContextClient
public interface ParamContextClient
-
Method Summary
Modifier and TypeMethodDescriptioncreateAsset(String contextId, String assetName, File file) createParamContext(ParameterContextEntity paramContext) deleteAsset(String contextId, String assetId) deleteAsset(String contextId, String assetId, boolean disconnectedNodeAcknowledged) deleteParamContext(String id, String version) deleteParamContext(String id, String version, boolean disconnectedNodeAcknowledged) deleteParamContextUpdateRequest(String contextId, String updateRequestId) getAssetContent(String contextId, String assetId, File outputDirectory) getParamContext(String id, boolean includeInheritedParameters) getParamContextUpdateRequest(String contextId, String updateRequestId) updateParamContext(ParameterContextEntity paramContext)
-
Method Details
-
getParamContexts
- Throws:
NiFiClientExceptionIOException
-
getParamContext
ParameterContextEntity getParamContext(String id, boolean includeInheritedParameters) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
createParamContext
ParameterContextEntity createParamContext(ParameterContextEntity paramContext) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
deleteParamContext
ParameterContextEntity deleteParamContext(String id, String version) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
deleteParamContext
ParameterContextEntity deleteParamContext(String id, String version, boolean disconnectedNodeAcknowledged) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
updateParamContext
ParameterContextUpdateRequestEntity updateParamContext(ParameterContextEntity paramContext) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
getParamContextUpdateRequest
ParameterContextUpdateRequestEntity getParamContextUpdateRequest(String contextId, String updateRequestId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
deleteParamContextUpdateRequest
ParameterContextUpdateRequestEntity deleteParamContextUpdateRequest(String contextId, String updateRequestId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
createAsset
AssetEntity createAsset(String contextId, String assetName, File file) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
getAssets
- Throws:
NiFiClientExceptionIOException
-
getAssetContent
Path getAssetContent(String contextId, String assetId, File outputDirectory) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
deleteAsset
- Throws:
NiFiClientExceptionIOException
-
deleteAsset
AssetEntity deleteAsset(String contextId, String assetId, boolean disconnectedNodeAcknowledged) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-