Locked History Actions

FileWriter

file.FileWriter

This publisher will allow writing a single file.

<Publisher class="file.FileWriter">
  <Param name="fileName" value="peach.bin" />
</Publisher>

Parameters:

  • fileName -- Filename to write [required]

Supported Actions:

Example:

<!-- Create a simple data template containing a single string -->
<DataModel name="HelloWorldTemplate">
    <String value="Hello World!" />    
</DataModel>

<StateModel name="State" initialState="State1">
    <State name="State1">
        <Action type="output">
            <DataModel ref="HelloWorldTemplate"/>
        </Action>
    </State>
</StateModel>

<Test name="HelloWorldTest">
    <StateModel ref="State"/>
    <Publisher class="file.FileWriter">
        <Param name="fileName" value="fuzzed.txt"/>
    </Publisher>
</Test>