NAME

FleetConf::Agent::Parser::Stmt::REQUIRE - REQUIRE command

SYNOPSIS

NAME Some-Agent
MNEMONIC foo
WORKFLOW Null

REQUIRE this.bar = 10

DESCRIPTION

This command adds the ability to check that certain invariants hold before taking a lock on a record. REQUIRE statements have access to the current workflow record this.

The BNF for REQUIRE statments is:

agent_command +::= require_command

require_command ::= "REQUIRE" boolean_expression EOL

These statements are only evaluated during the requirements phase.

AUTHOR

Andrew Sterling Hanenkamp, <hanenkamp@users.sourceforge.net>

COPYRIGHT AND LICENSE

Copyright 2005 Andrew Sterling Hanenkamp. All Rights Reserved.

FleetConf is distributed and licensed under the same terms as Perl itself.