in src/main/java/org/apache/nifi/controller/status/PortStatus.java [156:173]
public PortStatus clone() {
final PortStatus clonedObj = new PortStatus();
clonedObj.id = id;
clonedObj.groupId = groupId;
clonedObj.name = name;
clonedObj.activeThreadCount = activeThreadCount;
clonedObj.inputBytes = inputBytes;
clonedObj.inputCount = inputCount;
clonedObj.outputBytes = outputBytes;
clonedObj.outputCount = outputCount;
clonedObj.flowFilesReceived = flowFilesReceived;
clonedObj.bytesReceived = bytesReceived;
clonedObj.flowFilesSent = flowFilesSent;
clonedObj.bytesSent = bytesSent;
clonedObj.transmitting = transmitting;
clonedObj.runStatus = runStatus;
return clonedObj;
}