Package org.apache.nifi.components
Interface VersionedComponent
public interface VersionedComponent
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setVersionedComponentId
(String versionedComponentId) Updates the versioned component identifier
-
Method Details
-
getVersionedComponentId
- Returns:
- the unique identifier that maps this component to a component that is versioned
in a Flow Registry or has been imported, or
Optional.empty
if this component has not been saved to a Flow Registry or imported.
-
setVersionedComponentId
Updates the versioned component identifier- Parameters:
versionedComponentId
- the identifier of the versioned component- Throws:
IllegalStateException
- if this component is already under version control with a different ID and the given ID is not null
-