Class PortalContainerDefinitionChange.AddDependenciesBefore
java.lang.Object
org.exoplatform.container.definition.PortalContainerDefinitionChange.AddDependenciesBefore
- All Implemented Interfaces:
PortalContainerDefinitionChange
- Enclosing interface:
PortalContainerDefinitionChange
public static class PortalContainerDefinitionChange.AddDependenciesBefore
extends Object
implements PortalContainerDefinitionChange
This class is an
PortalContainerDefinitionChange that will add the nested dependencies
before a target dependency to the dependency list of the PortalContainerDefinition.
If the target dependency is empty or cannot be found, the nested dependencies will be added at
the head of the dependency list. If the nested dependency list is empty, this change will be ignored.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.exoplatform.container.definition.PortalContainerDefinitionChange
PortalContainerDefinitionChange.AddDependencies, PortalContainerDefinitionChange.AddDependenciesAfter, PortalContainerDefinitionChange.AddDependenciesBefore, PortalContainerDefinitionChange.AddSettings -
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of name of the dependencies to addThe name of the target dependency -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidApply the corresponding change of the givenPortalContainerDefinition
-
Field Details
-
dependencies
The list of name of the dependencies to add -
target
The name of the target dependency
-
-
Constructor Details
-
AddDependenciesBefore
public AddDependenciesBefore()
-
-
Method Details
-
apply
Apply the corresponding change of the givenPortalContainerDefinition- Specified by:
applyin interfacePortalContainerDefinitionChange- Parameters:
pcd- thePortalContainerDefinitionon which the change has to be applied
-