NIFI-578:

- Deprecating unused methods.
This commit is contained in:
Matt Gilman 2015-06-22 16:39:18 -04:00
parent 979671ca97
commit 908ec18b59
3 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@ public interface LineageNode {
* @return the identifier of the Clustered NiFi Node that generated the * @return the identifier of the Clustered NiFi Node that generated the
* event * event
*/ */
@Deprecated
String getClusterNodeIdentifier(); String getClusterNodeIdentifier();
/** /**

View File

@ -36,11 +36,13 @@ public class EventNode implements ProvenanceEventLineageNode {
return String.valueOf(getEventIdentifier()); return String.valueOf(getEventIdentifier());
} }
@Deprecated
@Override @Override
public String getClusterNodeIdentifier() { public String getClusterNodeIdentifier() {
return clusterNodeIdentifier; return clusterNodeIdentifier;
} }
@Deprecated
public void setClusterNodeIdentifier(final String nodeIdentifier) { public void setClusterNodeIdentifier(final String nodeIdentifier) {
this.clusterNodeIdentifier = nodeIdentifier; this.clusterNodeIdentifier = nodeIdentifier;
} }

View File

@ -39,6 +39,7 @@ public class FlowFileNode implements LineageNode {
return creationTime; return creationTime;
} }
@Deprecated
@Override @Override
public String getClusterNodeIdentifier() { public String getClusterNodeIdentifier() {
return clusterNodeIdentifier; return clusterNodeIdentifier;