ExternalToolCheck


Object Hierarchy:

Object hierarchy for ExternalToolCheck

Description:

public class ExternalToolCheck : BaseCheck

Checks an external tool to see what branch should fire.

Example

When Action1 should be fired when test.sh returns 1, action2 should fire when test.sh returns 0 and nothing should happen when another status is returns.

[TestSHCheck]
type=ExternalToolCheck
cmd=test.sh
true_status=1
false_status=0
compare_old_state=false
then-action=Action1
else-action=Action2

It is also possible to check the output string, by setting the output_compare property. Setting this property will disable the return status check.


Namespace: IfThenElse
Package: ifthenelse

Content:

Properties:

Creation methods:

Methods:

Fields:

Inherited Members:

All known members inherited from class IfThenElse.BaseCheck
 
All known members inherited from class IfThenElse.Base
 
All known members inherited from class GLib.Object
 
All known members inherited from interface IfThenElse.BaseAction