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 anPortalContainerDefinitionChangethat will add the nested dependencies before a target dependency to the dependency list of thePortalContainerDefinition. 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
Fields Modifier and Type Field Description List<String>dependenciesThe list of name of the dependencies to addStringtargetThe name of the target dependency
-
Constructor Summary
Constructors Constructor Description AddDependenciesBefore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(PortalContainerDefinition pcd)Apply the corresponding change of the givenPortalContainerDefinition
-
-
-
Method Detail
-
apply
public void apply(PortalContainerDefinition pcd)
Apply the corresponding change of the givenPortalContainerDefinition- Specified by:
applyin interfacePortalContainerDefinitionChange- Parameters:
pcd- thePortalContainerDefinitionon which the change has to be applied
-
-