org.exoplatform.container.definition
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dependencies
public List<String> dependencies
- The list of name of the dependencies to add
target
public String target
- The name of the target dependency
PortalContainerDefinitionChange.AddDependenciesBefore
public PortalContainerDefinitionChange.AddDependenciesBefore()
apply
public void apply(PortalContainerDefinition pcd)
- Apply the corresponding change of the given
PortalContainerDefinition
- Specified by:
apply in interface PortalContainerDefinitionChange
- Parameters:
pcd - the PortalContainerDefinition on which the change has to be applied
Copyright © 2014 eXo Platform SAS. All Rights Reserved.