Class ApplicationVisitor
java.lang.Object
com.aquima.interactions.portal.model.ApplicationVisitor
- All Implemented Interfaces:
IApplicationVisitor
Application visitor that is used during initialization to add all the applications and names to the application store
that are available through the data source.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addApplication
(String appName, Version[] appVersions) This method should be invoked by the (IPortalEngineDS) data-source implementation to notify the portal engine of the existence of a project.
-
Constructor Details
-
ApplicationVisitor
public ApplicationVisitor(Map<String, Map<Version, ISolution>> projectVersions, Map<String, String> projectsName) Constructs the application visitor with a HashMap that should be used to place the result in.- Parameters:
projectVersions
- The map that should be used to place the project versions in.projectsName
- Lookup table for the original project names.
-
-
Method Details
-
addApplication
Description copied from interface:IApplicationVisitor
This method should be invoked by the (IPortalEngineDS) data-source implementation to notify the portal engine of the existence of a project. The method should be invoked for each project with an array of the versions that are available for the application.- Specified by:
addApplication
in interfaceIApplicationVisitor
- Parameters:
appName
- The name of the project that is available.appVersions
- An array of versions that are available.
-