1 marek 1.1 // Copyright (c) 2005 DMTF. All rights reserved.
2 [Version ( "2.6.0" ),
3 UMLPackagePath ( "CIM::Policy" ),
4 Description (
5 "CompoundPolicyAction is used to represent an expression "
6 "consisting of an ordered sequence of action terms. Each action "
7 "term is represented as a subclass of the PolicyAction class. "
8 "Compound actions are constructed by associating dependent "
9 "action terms together using the PolicyActionInPolicyAction "
10 "aggregation." )]
11 class CIM_CompoundPolicyAction : CIM_PolicyAction {
12
13 [Description (
14 "This property gives a policy administrator a way of "
15 "specifying how the ordering of the PolicyActions "
16 "associated with this PolicyRule is to be interpreted. "
17 "Three values are supported: \n"
18 "o mandatory(1): Do the actions in the indicated order, "
19 "or don\'t do them at all. \n"
20 "o recommended(2): Do the actions in the indicated order "
21 "if you can, but if you can\'t do them in this order, do "
22 marek 1.1 "them in another order if you can. \n"
23 "o dontCare(3): Do them -- I don\'t care about the order. \n"
24 "The default value is 3 (\"DontCare\")." ),
25 ValueMap { "1", "2", "3" },
26 Values { "Mandatory", "Recommended", "Dont Care" }]
27 uint16 SequencedActions = 3;
28
29 [Description (
30 "ExecutionStrategy defines the strategy to be used in "
31 "executing the sequenced actions aggregated by this "
32 "CompoundPolicyAction. There are three execution "
33 "strategies: \n"
34 "\n"
35 "Do Until Success - execute actions according to "
36 "predefined order, until successful execution of a single "
37 "action. \n"
38 "Do All - execute ALL actions which are part of the "
39 "modeled set, according to their predefined order. "
40 "Continue doing this, even if one or more of the actions "
41 "fails. \n"
42 "Do Until Failure - execute actions according to "
43 marek 1.1 "predefined order, until the first failure in execution "
44 "of an action instance. \n"
45 "The default value is 2 (\"Do All\")." ),
46 ValueMap { "1", "2", "3" },
47 Values { "Do Until Success", "Do All", "Do Until Failure" }]
48 uint16 ExecutionStrategy = 2;
49
50
51 };
|