public class StandardDataFlow extends java.lang.Object implements java.io.Serializable, DataFlow
Constructor and Description |
---|
StandardDataFlow(byte[] flow,
byte[] snippetBytes,
byte[] authorizerFingerprint,
java.util.Set<java.lang.String> missingComponentIds)
Constructs an instance.
|
StandardDataFlow(DataFlow toCopy) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getAuthorizerFingerprint() |
byte[] |
getFlow() |
java.util.Set<java.lang.String> |
getMissingComponents() |
byte[] |
getSnippets() |
public StandardDataFlow(byte[] flow, byte[] snippetBytes, byte[] authorizerFingerprint, java.util.Set<java.lang.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 componentsjava.lang.NullPointerException
- if flow is nullpublic StandardDataFlow(DataFlow toCopy)
public byte[] getFlow()
public byte[] getSnippets()
getSnippets
in interface DataFlow
public byte[] getAuthorizerFingerprint()
getAuthorizerFingerprint
in interface DataFlow
public java.util.Set<java.lang.String> getMissingComponents()
getMissingComponents
in interface DataFlow