Class FcCreateTextFileProps

java.lang.Object
de.xima.fc.workflow.taglib.model.BaseActionProps
de.xima.fc.workflow.model.nodes.FcCreateTextFileProps
All Implemented Interfaces:
IDescriptionProviding, INameProviding, Serializable

public final class FcCreateTextFileProps extends BaseActionProps implements Serializable
The properties model for workflow nodes of type EWorkflowNodeType.FC_CREATE_TEXT_FILE.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • FcCreateTextFileProps

      public FcCreateTextFileProps()
  • Method Details

    • getByteOrderMarkMode

      public EByteOrderMarkMode getByteOrderMarkMode()
      Returns:
      Whether to add a byte order mark at the beginning of the file.
    • setByteOrderMarkMode

      public void setByteOrderMarkMode(EByteOrderMarkMode byteOrderMarkMode)
      Parameters:
      byteOrderMarkMode - Whether to add a byte order mark at the beginning of the file.
    • getCharset

      public Charset getCharset()
      Returns:
      Charset used when creating the text file.
    • setCharset

      public void setCharset(Charset charset)
      Parameters:
      charset - Charset used when creating the text file.
    • getContentType

      public ETextFileContentType getContentType()
      Returns:
      The type of the file's content, used to escape placeholders properly.
    • setContentType

      public void setContentType(ETextFileContentType contentType)
      Parameters:
      contentType - The type of the file's content, used to escape placeholders properly.
    • getFileContent

      public String getFileContent()
      Returns:
      The plain text content of the file to be created, which may contain placeholders.
    • setFileContent

      public void setFileContent(String fileContent)
      Parameters:
      fileContent - The plain text content of the file to be created, which may contain placeholders.
    • getFileName

      public String getFileName()
      Returns:
      The name of the file to be created (without directories, but with the file extension). May contain placeholders. When empty, a file name is generated automatically.
    • setFileName

      public void setFileName(String fileName)
      Parameters:
      fileName - The name of the file to be created (without directories, but with the file extension). May contain placeholders. When empty, a file name is generated automatically.
    • getTextFileProvision

      public FileProvision getTextFileProvision()
      Details for how to handle the created text file.
      Returns:
      Details for how to handle the created text file.
    • setTextFileProvision

      public void setTextFileProvision(FileProvision textFileProvision)
      Details for how to handle the created text file.
      Parameters:
      textFileProvision - Details for how to handle the created text file.