Interface IResolvedFileSourceDetails
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IResolvedFileSourceAttachment
,IResolvedFileSourceClientFile
,IResolvedFileSourceFormFile
,IResolvedFileSourceUploadElement
,IResolvedFileSourceUrl
,IResolvedFileSourceWorkflowNode
- All Known Implementing Classes:
ResolvedFileSourceAttachment
,ResolvedFileSourceClientFile
,ResolvedFileSourceFormFile
,ResolvedFileSourceUpload
,ResolvedFileSourceUrl
,ResolvedFileSourceWorkflowNode
public interface IResolvedFileSourceDetails extends Serializable
Models the type of source where a file from the workflow was obtained from, together with the details of the source, returned byIWorkflowFileHandler.getFilesMulti(WorkflowNode, IMultiFileProviding, IFileSearchOptions)
andIWorkflowFileHandler.getFileSingle(WorkflowNode, ISingleFileProviding, IFileSearchOptions)
- Since:
- 7.0.5
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IResolvedFileSourceAttachment
asAttachment()
default IResolvedFileSourceClientFile
asClientFile()
default IResolvedFileSourceFormFile
asFormFile()
default IResolvedFileSourceUploadElement
asUploadElement()
default IResolvedFileSourceUrl
asUrl()
default IResolvedFileSourceWorkflowNode
asWorkflowNode()
EResourceItemType
getType()
-
-
-
Method Detail
-
asAttachment
default IResolvedFileSourceAttachment asAttachment()
- Returns:
- This instance as a
IResolvedFileSourceAttachment
. - Throws:
ClassCastException
- When this instance is not aIResolvedFileSourceAttachment
.
-
asClientFile
default IResolvedFileSourceClientFile asClientFile()
- Returns:
- This instance as a
IResolvedFileSourceClientFile
. - Throws:
ClassCastException
- When this instance is not aIResolvedFileSourceClientFile
.
-
asFormFile
default IResolvedFileSourceFormFile asFormFile()
- Returns:
- This instance as a
IResolvedFileSourceFormFile
. - Throws:
ClassCastException
- When this instance is not aIResolvedFileSourceFormFile
.
-
asUploadElement
default IResolvedFileSourceUploadElement asUploadElement()
- Returns:
- This instance as a
IResolvedFileSourceUploadElement
. - Throws:
ClassCastException
- When this instance is not aIResolvedFileSourceUploadElement
.
-
asUrl
default IResolvedFileSourceUrl asUrl()
- Returns:
- This instance as a
IResolvedFileSourceUrl
. - Throws:
ClassCastException
- When this instance is not aIResolvedFileSourceUrl
.
-
asWorkflowNode
default IResolvedFileSourceWorkflowNode asWorkflowNode()
- Returns:
- This instance as a
IResolvedFileSourceWorkflowNode
. - Throws:
ClassCastException
- When this instance is not aIResolvedFileSourceWorkflowNode
.
-
getType
EResourceItemType getType()
- Returns:
- The enum constant corresponding to this source type.
-
-