public class StandardDataFlow extends Object implements Serializable, DataFlow
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
authorizerFingerprint |
private byte[] |
flow |
private Set<String> |
missingComponentIds |
private static long |
serialVersionUID |
private byte[] |
snippetBytes |
| Constructor and Description |
|---|
StandardDataFlow(byte[] flow,
byte[] snippetBytes,
byte[] authorizerFingerprint,
Set<String> missingComponentIds)
Constructs an instance.
|
StandardDataFlow(DataFlow toCopy) |
| Modifier and Type | Method and Description |
|---|---|
private static byte[] |
copy(byte[] bytes) |
byte[] |
getAuthorizerFingerprint() |
byte[] |
getFlow() |
Set<String> |
getMissingComponents() |
byte[] |
getSnippets() |
private static final long serialVersionUID
private final byte[] flow
private final byte[] snippetBytes
private final byte[] authorizerFingerprint
public StandardDataFlow(byte[] flow,
byte[] snippetBytes,
byte[] authorizerFingerprint,
Set<String> missingComponentIds)
flow - a valid flow as bytes, which cannot be nullsnippetBytes - an XML 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 componentsNullPointerException - if flow is nullpublic StandardDataFlow(DataFlow toCopy)
private static byte[] copy(byte[] bytes)
public byte[] getSnippets()
getSnippets in interface DataFlowpublic byte[] getAuthorizerFingerprint()
getAuthorizerFingerprint in interface DataFlowpublic Set<String> getMissingComponents()
getMissingComponents in interface DataFlowCopyright © 2020 Apache NiFi Project. All rights reserved.