summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/lifecycle/instance/predefined/agent/AgentPredefinedStepContainer.java
blob: 2b9acbcd380cbac78374de0f8d5ca5b6ce6d8d33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.c2kernel.lifecycle.instance.predefined.agent;

import com.c2kernel.lifecycle.instance.predefined.PredefinedStepContainer;
import com.c2kernel.lifecycle.instance.predefined.item.CreateItemFromDescription;


/**************************************************************************
 *
 * $Revision: 1.2 $
 * $Date: 2005/06/02 10:19:33 $
 *
 * Copyright (C) 2003 CERN - European Organization for Nuclear Research
 * All rights reserved.
 **************************************************************************/

//    public static final String codeRevision = "$Revision: 1.2 $ $Date: 2005/06/02 10:19:33 $ $Author: abranson $";
public class AgentPredefinedStepContainer extends PredefinedStepContainer {


    @Override
	public void createChildren()
    {
        super.createChildren();
        predInit("CreateItemFromDescription", "Create a new item using this item as its description", new CreateItemFromDescription());
        predInit("RemoveAgent", "Deletes the Agent", new RemoveAgent());
        predInit("SetAgentPassword", "Changes the Agent's password", new SetAgentPassword());
        predInit("SetAgentRoles", "Sets the roles of the Agent", new SetAgentRoles());
    }
}