NIFI-696 Deprecated org.apache.nifi.flowfile.FlowFile.getId()

This commit is contained in:
Tony Kurc 2015-11-12 20:12:54 -05:00
parent 65bd8c0b1f
commit db7b94b804
1 changed files with 5 additions and 0 deletions

View File

@ -31,7 +31,12 @@ public interface FlowFile extends Comparable<FlowFile> {
/**
* @return the unique identifier for this flow file
* @deprecated This method has been deprecated in favor of using the attribute
* {@link org.apache.nifi.flowfile.attributes.CoreAttributes.UUID CoreAttributes.UUID}.
* If an identifier is needed use {@link #getAttribute(String)} to retrieve the value for this attribute.
* For example, by calling getAttribute(CoreAttributes.UUID.getKey()).
*/
@Deprecated
long getId();
/**