summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/lifecycle/instance/predefined/PredefinedStepContainer.java
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2012-07-30 22:09:32 +0200
committerAndrew Branson <andrew.branson@cern.ch>2012-07-30 22:09:32 +0200
commitfea9f5836c4a13e2024c2f678061268ab7421b8d (patch)
tree209bcda30896ce3f90adf6cd6ca2ff14301c4e20 /src/main/java/com/c2kernel/lifecycle/instance/predefined/PredefinedStepContainer.java
parent409741e181838b3712c17d858b3ea594976de623 (diff)
Predefined steps audit, including new steps for collection management
Fixes #19
Diffstat (limited to 'src/main/java/com/c2kernel/lifecycle/instance/predefined/PredefinedStepContainer.java')
-rw-r--r--src/main/java/com/c2kernel/lifecycle/instance/predefined/PredefinedStepContainer.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main/java/com/c2kernel/lifecycle/instance/predefined/PredefinedStepContainer.java b/src/main/java/com/c2kernel/lifecycle/instance/predefined/PredefinedStepContainer.java
index 7ea73e4..f17e5e8 100644
--- a/src/main/java/com/c2kernel/lifecycle/instance/predefined/PredefinedStepContainer.java
+++ b/src/main/java/com/c2kernel/lifecycle/instance/predefined/PredefinedStepContainer.java
@@ -20,11 +20,16 @@ public class PredefinedStepContainer extends CompositeActivity
predInit("AddStepsFromDescription", "Creates the domain-specific LifeCycle from a description", new AddStepsFromDescription());
predInit("ReplaceDomainWorkflow", "Replaces the domain CA with the supplied one. Used by the GUI to save new Wf layout", new ReplaceDomainWorkflow());
predInit("AddC2KObject", "Adds or overwrites a C2Kernel object for this Item", new AddC2KObject());
- predInit("WriteProperty", "Writes a property to the Item", new WriteProperty());
predInit("RemoveC2KObject", "Removes the named C2Kernel object from this Item.", new RemoveC2KObject());
- predInit("AssignItemToSlot", "Assigns the referenced entity to a pre-existing slot in a collection of this one", new AssignItemToSlot());
+ predInit("WriteProperty", "Writes a property to the Item", new WriteProperty());
+ predInit("AddNewSlot", "Creates a new slot in the given aggregation, that holds instances of the item description of the given key", new AddNewSlot());
+ predInit("AssignItemToSlot", "Assigns the referenced entity to a pre-existing slot in an aggregation", new AssignItemToSlot());
+ predInit("ClearSlot", "Clears an aggregation member slot, given a slot no or entity key", new ClearSlot());
+ predInit("RemoveSlotFromCollection", "Removed the given slot from the aggregation", new RemoveSlotFromCollection());
+ predInit("AddMemberToCollection", "Creates a new member slot for the given item in a dependency, and assigns the item", new AddMemberToCollection());
predInit("Erase", "Deletes all objects and domain paths for this item.", new Erase());
predInit("Import", "Imports an outcome into the Item, with a given schema and viewpoint", new Import());
+
}
public void predInit(String alias, String Description, PredefinedStep act)