public interface UndefinedDescendantNodeManagerPlugin extends ClassificationNodePlugin
ClassificationNodePlugin allows the Model to evolve
dynamically at runtime, generally based on information obtained from an
external system such as a SCM.
The idea is that configuring and maintaining the configuration for each
Module individually using Config and its members can be tedious
for an organization having many Module's. Using an implementation of
UndefinedDescendantNodeManagerPlugin, and indirectly
FindModuleByArtifactGroupIdPlugin and ArtifactInfoPlugin, it is
possible to only configure the main ClassificationNode's of the Module
hierarchy and let the plugin dynamically add new requested ClassificationNode's
and Module's by validating their existence in an external system such as a SCM.
| Modifier and Type | Method and Description |
|---|---|
ClassificationNode |
requestClassificationNode(String name)
Requests that a
ClassificationNode be dynamically created. |
Module |
requestModule(String name)
Requests that a
Module be dynamically created. |
getClassificationNodegetNodeClassificationNode requestClassificationNode(String name)
ClassificationNode be dynamically created.
null must be returned to indicate that the requested ClassificationNode cannot be created because it does not exist or any other reason.
If a ClassificationNode is returned, it must be completely created, installed
within the Model (using
MutableClassificationNode.createChildMutableClassificationNode()) and
ready to use.
name - Name of the ClassificationNode.Module requestModule(String name)
Module be dynamically created.
null must be returned to indicate that the requested Module cannot be created because it does not exist or any other reason.
If a Module is returned, it must be completely created, installed within the
Model (using
MutableClassificationNode.createChildMutableModule()) and ready to use.
name - Name of the Module.Copyright © 2015–2017 AZYVA INC.. All rights reserved.