Class StandardDataFlow

java.lang.Object
org.apache.nifi.cluster.protocol.StandardDataFlow
All Implemented Interfaces:
Serializable, DataFlow

public class StandardDataFlow extends Object implements Serializable, DataFlow
Represents a dataflow, which includes the raw bytes of the flow.xml and whether processors should be started automatically at application startup.
See Also:
  • Field Details

    • logger

      private static final org.slf4j.Logger logger
    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • flow

      private final byte[] flow
    • snippetBytes

      private final byte[] snippetBytes
    • authorizerFingerprint

      private final byte[] authorizerFingerprint
    • missingComponentIds

      private final Set<String> missingComponentIds
    • flowDocument

      private Document flowDocument
    • versionedDataflow

      private VersionedDataflow versionedDataflow
  • Constructor Details

    • StandardDataFlow

      public StandardDataFlow(byte[] flow, byte[] snippetBytes, byte[] authorizerFingerprint, Set<String> missingComponentIds)
      Constructs an instance.
      Parameters:
      flow - a valid flow as bytes, which cannot be null
      snippetBytes - a JSON representation of snippets. May be null.
      authorizerFingerprint - the bytes of the Authorizer's fingerprint. May be null when using an external Authorizer.
      missingComponentIds - the ids of components that were created as missing ghost components
      Throws:
      NullPointerException - if flow is null
    • StandardDataFlow

      public StandardDataFlow(DataFlow toCopy)
  • Method Details