Class FileDescriptorRow
- java.lang.Object
-
- de.xima.fc.workflow.designer.model.FileDescriptorRow
-
- All Implemented Interfaces:
Serializable
public final class FileDescriptorRow extends Object implements Serializable
View model for the workflow designer, used in the info panel of a node or trigger. Models a single row of the table with the files provided by the node or trigger (if any). SeeIFileValueDescriptor.- Since:
- 8.2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileDescriptorRow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()The description of the files the node or trigger provides for thegetKey().StringgetDetails()Detail text of the file the node or trigger provides, such as the content types or the min and max number of files.StringgetKey()The key of the file, corresponding to a key in theIFileValueDescriptor.getFiles()map.booleanisDescriptionHtml()Whether thegetDescription()is an HTML string (make sure it is valid HTML and properly escaped!).voidsetDescription(String description)The description of the files the node or trigger provides for thegetKey().voidsetDescriptionHtml(boolean descriptionHtml)Whether thegetDescription()is an HTML string (make sure it is valid HTML and properly escaped!).voidsetDetails(String details)Detail text of the file the node or trigger provides, such as the content types or the min and max number of files.voidsetKey(String key)The key of the file, corresponding to a key in theIFileValueDescriptor.getFiles()map.
-
-
-
Method Detail
-
getDescription
public String getDescription()
The description of the files the node or trigger provides for thegetKey(). SeeIFileListDescriptor.getDescription().- Returns:
- Description of the files.
-
setDescription
public void setDescription(String description)
The description of the files the node or trigger provides for thegetKey(). SeeIFileListDescriptor.getDescription().- Parameters:
description- Description of the files.
-
getDetails
public String getDetails()
Detail text of the file the node or trigger provides, such as the content types or the min and max number of files. Used as the title when hovering over a row with the mouse.- Returns:
- File details.
-
setDetails
public void setDetails(String details)
Detail text of the file the node or trigger provides, such as the content types or the min and max number of files. Used as the title when hovering over a row with the mouse.- Parameters:
details- File details.
-
getKey
public String getKey()
The key of the file, corresponding to a key in theIFileValueDescriptor.getFiles()map.DEFAULT_FILE_KEYis the default (unscoped) key.- Returns:
- The file key.
-
setKey
public void setKey(String key)
The key of the file, corresponding to a key in theIFileValueDescriptor.getFiles()map.DEFAULT_FILE_KEYis the default (unscoped) key.- Parameters:
key- The file key.
-
isDescriptionHtml
public boolean isDescriptionHtml()
Whether thegetDescription()is an HTML string (make sure it is valid HTML and properly escaped!). When false, the description is treated as plain text.- Returns:
- Whether the description is an HTML string.
-
setDescriptionHtml
public void setDescriptionHtml(boolean descriptionHtml)
Whether thegetDescription()is an HTML string (make sure it is valid HTML and properly escaped!). When false, the description is treated as plain text.- Parameters:
descriptionHtml- Whether the description is an HTML string.
-
-