public class StandardFunnelDAO extends ComponentDAO implements FunnelDAO
| Modifier and Type | Field and Description |
|---|---|
private FlowController |
flowController |
| Constructor and Description |
|---|
StandardFunnelDAO() |
| Modifier and Type | Method and Description |
|---|---|
Funnel |
createFunnel(String groupId,
FunnelDTO funnelDTO)
Creates a funnel.
|
void |
deleteFunnel(String groupId,
String funnelId)
Deletes the specified funnel.
|
Funnel |
getFunnel(String groupId,
String funnelId)
Gets the specified funnel.
|
Set<Funnel> |
getFunnels(String groupId)
Gets all of the funnels.
|
boolean |
hasFunnel(String groupId,
String funnelId)
Determines if the specified funnel exists.
|
private Funnel |
locateFunnel(ProcessGroup group,
String funnelId)
Locates the specified funnel.
|
private Funnel |
locateFunnel(String groupId,
String funnelId)
Locates the specified funnel.
|
void |
setFlowController(FlowController flowController) |
Funnel |
updateFunnel(String groupId,
FunnelDTO funnelDTO)
Updates the specified funnel.
|
void |
verifyDelete(String groupId,
String funnelId)
Determines whether this funnel can be removed.
|
isAnyNotNull, isNotNull, locateProcessGroupprivate FlowController flowController
private Funnel locateFunnel(String groupId, String funnelId)
groupId - funnelId - private Funnel locateFunnel(ProcessGroup group, String funnelId)
group - funnelId - public Funnel createFunnel(String groupId, FunnelDTO funnelDTO)
createFunnel in interface FunnelDAOfunnelDTO - The funnel DTOpublic boolean hasFunnel(String groupId, String funnelId)
public Set<Funnel> getFunnels(String groupId)
getFunnels in interface FunnelDAOpublic Funnel updateFunnel(String groupId, FunnelDTO funnelDTO)
updateFunnel in interface FunnelDAOfunnelDTO - The funnel DTOpublic void verifyDelete(String groupId, String funnelId)
FunnelDAOverifyDelete in interface FunnelDAOpublic void deleteFunnel(String groupId, String funnelId)
deleteFunnel in interface FunnelDAOfunnelId - The funnel idpublic void setFlowController(FlowController flowController)
Copyright © 2015 Apache NiFi (incubating). All rights reserved.