Skip to content

Commit 72962df

Browse files
author
lorenzo
committed
misc: fixed @ComponentInput annotations.
1 parent f50613b commit 72962df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/reedelk/file/component/FileWrite.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
attributes = FileAttribute.class,
3535
payload = Void.class)
3636
@ComponentInput(
37-
payload = Object.class,
38-
description = "The input payload is used to evaluate the file name to write.")
37+
payload = { byte[].class, String.class },
38+
description = "The data to be written on the file. The expected input is byte array or string.")
3939
@Description("Writes a file to the file system to the given File name and optionally provided Base path. " +
4040
"The write mode can be used to override an existing file, create new file if it does not exists " +
4141
"or append to the existing file if exists already.")

0 commit comments

Comments
 (0)