Skip to content

Commit

Permalink
NIFI-1943 added proper ReadsAttribute to PutFile
Browse files Browse the repository at this point in the history
This closes apache#480
  • Loading branch information
jpercivall authored and PuspenduBanerjee committed Jun 9, 2016
1 parent d7730bc commit 22570df
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -36,6 +36,7 @@

import org.apache.nifi.annotation.behavior.InputRequirement;
import org.apache.nifi.annotation.behavior.InputRequirement.Requirement;
import org.apache.nifi.annotation.behavior.ReadsAttribute;
import org.apache.nifi.annotation.behavior.SupportsBatching;
import org.apache.nifi.annotation.documentation.CapabilityDescription;
import org.apache.nifi.annotation.documentation.SeeAlso;
Expand All @@ -58,6 +59,7 @@
@Tags({"put", "local", "copy", "archive", "files", "filesystem"})
@CapabilityDescription("Writes the contents of a FlowFile to the local file system")
@SeeAlso({FetchFile.class, GetFile.class})
@ReadsAttribute(attribute = "filename", description = "The filename to use when writing the FlowFile to disk.")
public class PutFile extends AbstractProcessor {

public static final String REPLACE_RESOLUTION = "replace";
Expand Down

0 comments on commit 22570df

Please sign in to comment.