public class Deladminrole extends Object
FortressAntTask
to load AdminRole
s used to
drive DelAdminMgr.deleteRole(org.apache.directory.fortress.core.model.AdminRole)
.
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.
The class name, 'Deladminrole', is used for the xml tag in the load script.
<target name="all">
<FortressAdmin>
<deladminrole>
...
</deladminrole>
</FortressAdmin>
</target>
Constructor and Description |
---|
Deladminrole()
All Ant data entities must have a default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addRole(AdminRoleAnt role)
This method name, 'addRole', is used for the derived xml tag 'role' in the load script.
|
List<AdminRoleAnt> |
getRoles()
Used by
FortressAntTask.deleteAdminRoles() to retrieve list of AdminRoles as defined in input xml file. |
public Deladminrole()
public void addRole(AdminRoleAnt role)
<deladminrole>
<role name="DemoAdminUsers"
</deladminrole>
role
- contains extension of AdminRole
.public List<AdminRoleAnt> getRoles()
FortressAntTask.deleteAdminRoles()
to retrieve list of AdminRoles as defined in input xml file.AdminRoleAnt
s targeted for removal.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621