Icon

This is the documentation of the latest development version of automaIT. The documentation of the latest stable release can be found at AUTOMAIT.

Skip to end of metadata
Go to start of metadata

Plans or components can be used to write code for automaIT. Both of them are XML files of the model namespace. The root element of a plan is named plan and the root element of a component is component.

To create the content of a plan, install, uninstall, or control method of a component, it is necessary to be familiar with so called block statements. Block statements are a sequence of steps and the content of the following elements:

  • Body of a Plan
  • Install method of a component (installSteps)
  • Uninstall method of a component (uninstallSteps)
  • Controls of a component (control)
  • Body of if blocks
  • Body of switch resp. case blocks
  • Body of try blocks
Icon

The complete model schema reference is documented in the Model Schema Reference .

Block statements can contain single elements such as an execNative, an echo, an if, try, etc.

Simple Example

The elements if, switch and try are nestable, too. In the following example the block and catch elements are examples for elements that can contain all block statements again.

Example with try/catch statement
Example with if statement
Example with swith-case statement
Icon

Writing code gets much easier by using code completion of Eclipse (documentation).

  • No labels