1Workflow::Condition::LaUzsyeArNDC(o3n)tributed Perl DocuWmoernktfaltoiwo:n:Condition::LazyAND(3)
2
3
4

NAME

6       Workflow::Condition::LazyAND
7

VERSION

9       This documentation describes version 1.51 of this package
10

DESCRIPTION

12       Using nested conditions (See Workflow::Condition::Nested), this
13       evaluates the given conditions using lazy-evaluation, returning true if
14       all nested conditions are true. If a nested condition evaluates to
15       false, further evaluation is aborted and false is returned.
16

SYNOPSIS

18       In condition.xml:
19
20           <condition name="cond1" ... />
21           <condition name="cond2" ... />
22           <condition name="cond3" ... />
23
24           <condition name="check_prereqs" class="Workflow::Condition::LazyAND">
25               <param name="condition" value="cond1" />
26               <param name="condition" value="cond2" />
27               <param name="condition" value="cond3" />
28           </condition>
29
30       In workflow.xml:
31
32           <state name="CHECK_PREREQS" autorun="yes">
33               <action name="null_1" resulting_state="HAVE_PREREQS">
34                   <condition name="check_prereqs" />
35               </action>
36               <action name="null_2" resulting_state="FAILURE">
37                   <condition name="!check_prereqs" />
38               </action>
39           </state>
40

PARAMETERS

42       The following parameters may be configured in the "param" entity of the
43       condition in the XML configuration:
44
45   condition, conditionN
46       The condition parameter may be specified as either a list of repeating
47       entries or with a unique integer appended to the condition string:
48
49           <param name="condition" value="first_condition_to_test" />
50           <param name="condition" value="second_condition_to_test" />
51
52       or
53
54           <param name="condition1" value="first_condition_to_test" />
55           <param name="condition2" value="second_condition_to_test" />
56
58       Copyright (c) 2003-2021 Chris Winters. All rights reserved.
59
60       This library is free software; you can redistribute it and/or modify it
61       under the same terms as Perl itself.
62
63       Please see the LICENSE
64

AUTHORS

66       Please see Workflow
67
68
69
70perl v5.32.1                      2021-01-31   Workflow::Condition::LazyAND(3)
Impressum