public class StandardInputPortDAO extends ComponentDAO implements PortDAO
| Modifier and Type | Field and Description |
|---|---|
private FlowController |
flowController |
| Constructor and Description |
|---|
StandardInputPortDAO() |
| Modifier and Type | Method and Description |
|---|---|
Port |
createPort(String groupId,
PortDTO portDTO)
Creates a port.
|
void |
deletePort(String groupId,
String portId)
Deletes the specified port.
|
Port |
getPort(String groupId,
String portId)
Gets the specified port.
|
Set<Port> |
getPorts(String groupId)
Gets all of the ports.
|
boolean |
hasPort(String groupId,
String portId)
Determines if the specified port exists.
|
private Port |
locatePort(ProcessGroup group,
String portId) |
private Port |
locatePort(String groupId,
String portId) |
void |
setFlowController(FlowController flowController) |
Port |
updatePort(String groupId,
PortDTO portDTO)
Updates the specified port.
|
private List<String> |
validateProposedConfiguration(PortDTO portDTO)
Validates the proposed processor configuration.
|
void |
verifyDelete(String groupId,
String portId)
Verifies the specified port can be removed.
|
private void |
verifyUpdate(Port inputPort,
PortDTO portDTO) |
void |
verifyUpdate(String groupId,
PortDTO portDTO)
Verifies the specified port can be updated per the specified request.
|
isAnyNotNull, isNotNull, locateProcessGroupprivate FlowController flowController
private Port locatePort(ProcessGroup group, String portId)
public Port createPort(String groupId, PortDTO portDTO)
createPort in interface PortDAOportDTO - The port DTOpublic boolean hasPort(String groupId, String portId)
public void verifyUpdate(String groupId, PortDTO portDTO)
PortDAOverifyUpdate in interface PortDAOprivate List<String> validateProposedConfiguration(PortDTO portDTO)
processorNode - config - public Port updatePort(String groupId, PortDTO portDTO)
updatePort in interface PortDAOportDTO - The port DTOpublic void verifyDelete(String groupId, String portId)
PortDAOverifyDelete in interface PortDAOpublic void deletePort(String groupId, String portId)
deletePort in interface PortDAOportId - The port idpublic void setFlowController(FlowController flowController)
Copyright © 2015 Apache NiFi (incubating). All rights reserved.