public class Delrole extends Object
FortressAntTask
to load Role
s used to
drive AdminMgr.deleteRole(org.apache.directory.fortress.core.model.Role)
}.
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, 'Delrole', is used for the xml tag in the load script.
<target name="all">
<FortressAdmin>
<delrole>
...
</delrole>
</FortressAdmin>
</target>
Constructor and Description |
---|
Delrole()
All Ant data entities must have a default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addRole(Role role)
This method name, 'addRole', is used for derived xml tag 'role' in the load script.
|
List<Role> |
getRoles()
Used by
FortressAntTask.deleteRoles() to retrieve list of Roles as defined in input xml file. |
public void addRole(Role role)
<delrole>
<role name="role1"/>
<role name="role2"/>
</delrole>
role
- contains reference to data element targeted for removal.public List<Role> getRoles()
FortressAntTask.deleteRoles()
to retrieve list of Roles as defined in input xml file.Role
s targeted for removal.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20180714-1500