Microsoft.SystemCenter.MPAuthoringConsole.Template.Task.CommandLineTask.WriteActionCommand Line Task (Write Action)

Microsoft.SystemCenter.MPAuthoringConsole.Template.Task.CommandLineTask.WriteAction (Template)

Source Code:

<Template ID="Microsoft.SystemCenter.MPAuthoringConsole.Template.Task.CommandLineTask.WriteAction">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.CommandExecuterSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="ID" type="xsd:string"/>
<xsd:element name="Name" type="xsd:string"/>
<xsd:element name="Description" type="xsd:string"/>
<xsd:element name="Target" type="xsd:string"/>
<xsd:element name="Category" type="xsd:string"/>
<xsd:element name="LocaleID" type="xsd:string"/>
<xsd:element name="ApplicationName" type="xsd:string"/>
<xsd:element name="WorkingDirectory" type="xsd:string"/>
<xsd:element name="CommandLine" type="xsd:string"/>
<xsd:element name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element name="RequireOutput" type="xsd:boolean"/>
</Configuration>
<References>
<Reference ID="System"/>
</References>
<Implementation>
<Monitoring>
<Tasks>
<Task ID="$TemplateConfig/ID$" Target="$TemplateConfig/Target$" Accessibility="Internal">
<Category>$TemplateConfig/Category$</Category>
<WriteAction ID="PA" TypeID="$Reference/System$System.CommandExecuter">
<ApplicationName>$TemplateConfig/ApplicationName$</ApplicationName>
<WorkingDirectory>$TemplateConfig/WorkingDirectory$</WorkingDirectory>
<CommandLine>$TemplateConfig/CommandLine$</CommandLine>
<TimeoutSeconds>$TemplateConfig/TimeoutSeconds$</TimeoutSeconds>
<RequireOutput>$TemplateConfig/RequireOutput$</RequireOutput>
</WriteAction>
</Task>
</Tasks>
</Monitoring>
<LanguagePacks>
<LanguagePack ID="$TemplateConfig/LocaleID$" IsDefault="true">
<DisplayStrings>
<DisplayString ElementID="$TemplateConfig/ID$">
<Name>$TemplateConfig/Name$</Name>
<Description>$TemplateConfig/Description$</Description>
</DisplayString>
</DisplayStrings>
</LanguagePack>
</LanguagePacks>
</Implementation>
</Template>