Interface VersionedComponent


public interface VersionedComponent
  • Method Details

    • getVersionedComponentId

      Optional<String> 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

      void setVersionedComponentId(String versionedComponentId)
      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