Class Addgroup
- java.lang.Object
-
- org.apache.directory.fortress.core.ant.Addgroup
-
public class Addgroup extends Object
The class is used byFortressAntTask
to loadGroup
s used to driveGroupMgr.add(org.apache.directory.fortress.core.model.Group)
. It is not intended to be callable by programs outside of the Ant load utility. The class name itself maps to the xml tag used by load utility.This class name, 'Addgroup', is used for the xml tag in the load script.
<target name="all"> <FortressAdmin> <addgroup> ... </addgroup> </FortressAdmin> </target>
- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description Addgroup()
All Ant data entities must have a default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addGroup(Group group)
This method name, 'addGroup', is used for derived xml tag 'user' in the load script.List<Group>
getGroups()
Used byFortressAntTask.addGroups()
to retrieve list of Groups as defined in input xml file.
-
-
-
Method Detail
-
addGroup
public void addGroup(Group group)
This method name, 'addGroup', is used for derived xml tag 'user' in the load script.<addgroup> <group name="test001" protocol="test" description="Test Group 001" members="guser1,guser2,guser3" properties="key1=value1, key2=val 2, key3='VAL 3'" /> </addgroup>
- Parameters:
group
- contains reference to data element targeted for insertion..
-
getGroups
public List<Group> getGroups()
Used byFortressAntTask.addGroups()
to retrieve list of Groups as defined in input xml file.- Returns:
- collection containing
Group
s targeted for insertion.
-
-