public class Delpwpolicy extends Object
FortressAntTask
to load PwPolicy
s used to
drive PwPolicyMgr.delete(org.apache.directory.fortress.core.model.PwPolicy)
.
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, 'Delpwpolicy', is used for the xml tag in the load script.
<target name="all">
<FortressAdmin>
<delpwpolicy>
...
</delpwpolicy>
</FortressAdmin>
</target>
Constructor and Description |
---|
Delpwpolicy()
All Ant data entities must have a default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addPolicy(PwPolicy policy)
This method name, 'addPolicy', is used for derived xml tag 'policy' in the load script.
|
List<PwPolicy> |
getPolicies()
Used by
FortressAntTask.deletePolicies() to retrieve list of PwPolicy as defined in input xml file. |
public Delpwpolicy()
public void addPolicy(PwPolicy policy)
<delpwpolicy>
<policy name="Test1"/>
</delpwpolicy>
policy
- contains reference to data element targeted for removal.public List<PwPolicy> getPolicies()
FortressAntTask.deletePolicies()
to retrieve list of PwPolicy as defined in input xml file.PwPolicy
s targeted for removal.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621