mirror of https://github.com/apache/nifi.git
parent
f0f74fe404
commit
54c5c28cbb
|
@ -36,6 +36,7 @@ import java.util.regex.Pattern;
|
||||||
|
|
||||||
import org.apache.nifi.annotation.behavior.InputRequirement;
|
import org.apache.nifi.annotation.behavior.InputRequirement;
|
||||||
import org.apache.nifi.annotation.behavior.InputRequirement.Requirement;
|
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.behavior.SupportsBatching;
|
||||||
import org.apache.nifi.annotation.documentation.CapabilityDescription;
|
import org.apache.nifi.annotation.documentation.CapabilityDescription;
|
||||||
import org.apache.nifi.annotation.documentation.SeeAlso;
|
import org.apache.nifi.annotation.documentation.SeeAlso;
|
||||||
|
@ -58,6 +59,7 @@ import org.apache.nifi.util.StopWatch;
|
||||||
@Tags({"put", "local", "copy", "archive", "files", "filesystem"})
|
@Tags({"put", "local", "copy", "archive", "files", "filesystem"})
|
||||||
@CapabilityDescription("Writes the contents of a FlowFile to the local file system")
|
@CapabilityDescription("Writes the contents of a FlowFile to the local file system")
|
||||||
@SeeAlso({FetchFile.class, GetFile.class})
|
@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 class PutFile extends AbstractProcessor {
|
||||||
|
|
||||||
public static final String REPLACE_RESOLUTION = "replace";
|
public static final String REPLACE_RESOLUTION = "replace";
|
||||||
|
|
Loading…
Reference in New Issue