Class Addcontext
- java.lang.Object
-
- org.apache.directory.fortress.core.ant.Addcontext
-
public class Addcontext extends Object
The class is used byFortressAntTask
to create newContext
used to define multi-tenant property. 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, 'Addcontext', is used for the xml tag in the load script.
<target name="all"> <FortressAdmin> <addcontext> ... </addcontext> </FortressAdmin> </target>
- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description Addcontext()
All Ant data entities must have a default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addContext(Context context)
This method name, 'addContext', is used for derived xml tag 'context' in the load script.List<Context>
getContexts()
Used byContext
to retrieve list of contexts as defined in input xml file.
-
-
-
Method Detail
-
addContext
public void addContext(Context context)
This method name, 'addContext', is used for derived xml tag 'context' in the load script.<addcontext> <context name="123"/> </addsuffix>
- Parameters:
context
- contains reference to data element targeted for insertion..
-
-