public final class SnippetUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
private DtoFactory |
dtoFactory |
private FlowController |
flowController |
| Constructor and Description |
|---|
SnippetUtils() |
| Modifier and Type | Method and Description |
|---|---|
FlowSnippetDTO |
copy(FlowSnippetDTO snippetContents,
ProcessGroup group) |
private FlowSnippetDTO |
copyContentsForGroup(FlowSnippetDTO snippetContents,
String groupId,
Map<String,ConnectableDTO> parentConnectableMap) |
private String |
generateId(String currentId)
Generates a new id for the current id that is specified.
|
FlowSnippetDTO |
populateFlowSnippet(Snippet snippet,
boolean recurse)
Populates the specified snippet and returns the details.
|
private void |
resolveNameConflicts(FlowSnippetDTO snippetContents,
ProcessGroup group) |
void |
setDtoFactory(DtoFactory dtoFactory) |
void |
setFlowController(FlowController flowController) |
private FlowController flowController
private DtoFactory dtoFactory
public FlowSnippetDTO populateFlowSnippet(Snippet snippet, boolean recurse)
snippet - recurse - public FlowSnippetDTO copy(FlowSnippetDTO snippetContents, ProcessGroup group)
private void resolveNameConflicts(FlowSnippetDTO snippetContents, ProcessGroup group)
private FlowSnippetDTO copyContentsForGroup(FlowSnippetDTO snippetContents, String groupId, Map<String,ConnectableDTO> parentConnectableMap)
private String generateId(String currentId)
currentId - public void setDtoFactory(DtoFactory dtoFactory)
public void setFlowController(FlowController flowController)
Copyright © 2015 Apache NiFi (incubating). All rights reserved.