public class FileOutputParameter extends ToolOutputParameter implements IFileOutputParameter
IFileOutputParameter. It allows to return a
file by either IFileContents or an IFileReference.| Constructor and Description |
|---|
FileOutputParameter(IModeledFileOutputParameter pModeledOutputParameter,
IFileContents pContents)
Creates a file output parameter from
IFileContents. |
FileOutputParameter(IModeledFileOutputParameter pModeledOutputParameter,
IFileReference pFileReference)
Creates a file output parameter from
IFileReference. |
| Modifier and Type | Method and Description |
|---|---|
FileDescriptor |
getTargetID() |
getModelObject, getValue, toStringgetAttributes, isMassProcessingParameterequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetModelObject, getValueisMassProcessingParametergetAttributes, getAttributeValue, getComplexAttributespublic FileOutputParameter(IModeledFileOutputParameter pModeledOutputParameter, IFileContents pContents)
IFileContents. This is only
allowed for file descriptors with the type
EFileTypes.INPUT_STREAM. Any other file descriptor type will
cause an exception after tool execution.
This is supposed to be used by tools that create file descriptor contents but don't need to create a physical file.
pModeledOutputParameter - the modeled file output parameterpContents - the contents to be associated to the file descriptorpublic FileOutputParameter(IModeledFileOutputParameter pModeledOutputParameter, IFileReference pFileReference)
IFileReference. This is only
allowed for all file descriptor types that can be described by a
IFileReference. The only not supported type by default is
EFileTypes.INPUT_STREAM.
This is supposed to be used by tools that find or create a file and want to return it as a reference.
pModeledOutputParameter - the modeled file output parameterpFileReference - the file referencepublic FileDescriptor getTargetID()
getTargetID in interface IFileParametergetTargetID in interface IToolOutputParametergetTargetID in interface IToolParametergetTargetID in class AbstractToolParameternullCopyright © 2015 Micro Focus GmbH. All rights reserved.