public interface PortDAO
| Modifier and Type | Method and Description |
|---|---|
Port |
createPort(String groupId,
PortDTO portDTO)
Creates a port in the specified group.
|
void |
deletePort(String groupId,
String portId)
Deletes the specified label in the specified group.
|
Port |
getPort(String groupId,
String portId)
Gets the specified port in the specified group.
|
Set<Port> |
getPorts(String groupId)
Gets all of the ports in the specified group.
|
boolean |
hasPort(String groupId,
String portId)
Determines if the specified port exists in the specified group.
|
Port |
updatePort(String groupId,
PortDTO portDTO)
Updates the specified port in the specified group.
|
void |
verifyDelete(String groupId,
String portId)
Verifies the specified port can be removed.
|
void |
verifyUpdate(String groupId,
PortDTO portDTO)
Verifies the specified port can be updated per the specified request.
|
boolean hasPort(String groupId, String portId)
groupId - portId - Port createPort(String groupId, PortDTO portDTO)
groupId - portDTO - The port DTOPort getPort(String groupId, String portId)
groupId - portId - The port idSet<Port> getPorts(String groupId)
groupId - void verifyUpdate(String groupId, PortDTO portDTO)
groupId - portDTO - Port updatePort(String groupId, PortDTO portDTO)
groupId - portDTO - The port DTOvoid verifyDelete(String groupId, String portId)
groupId - portId - Copyright © 2015 Apache NiFi (incubating). All rights reserved.