Class AutomaticTask
Represents an automatic task which is executing or has finished executing.
Inherited Members
Namespace: SdlSdl.ProjectAutomationCore
Assembly: Sdl.ProjectAutomation.Core.dll
Syntax
public class AutomaticTask : Task
Remarks
To execute an automatic task use RunAutomaticTask(Guid[], string) or one of the related methods.
Constructors
AutomaticTask()
Declaration
public AutomaticTask()
Properties
Messages
Gets the messages generated by this task.
Declaration
public ExecutionMessage[] Messages { get; }
Property Value
Type | Description |
---|---|
ExecutionMessage |
OutputFiles
Gets the output files this task has generated. These are the files that can be transferred
into a subsequent automatic or manual task. These are usually the same files as the input files,
but can be different: for instance in case of the Split task, the input files are the source
language files, whereas the output files are the target language copies for all project target languages.
This returns null
, unless the automatic task has completed.
Declaration
public TaskFileInfo[] OutputFiles { get; }
Property Value
Type | Description |
---|---|
TaskFileInfo |
Reports
Gets the reports that have been generated by this task.
Declaration
public TaskReport[] Reports { get; }
Property Value
Type | Description |
---|---|
TaskReport |
TemplateIds
Gets the IDs of the automatic task templates that have been run. If a single automatic task has been run then this property will contain the one corresponding template. If a sequence of automatic tasks have been run together using FileBasedProject.RunAutomaticTasks, then more than one template ID may be listed here. This is because content processing tasks are grouped together in one Automatic Task for efficiency.
Declaration
public string[] TemplateIds { get; }
Property Value
Type | Description |
---|---|
string |