eXo Kernel :: Container 2.4.4-CLD

org.exoplatform.container.definition
Class PortalContainerDefinitionChange.AddDependenciesBefore

java.lang.Object
  extended by 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
 List<String> dependencies
          The list of name of the dependencies to add
 String target
          The name of the target dependency
 
Constructor Summary
PortalContainerDefinitionChange.AddDependenciesBefore()
           
 
Method Summary
 void apply(PortalContainerDefinition pcd)
          Apply the corresponding change of the given PortalContainerDefinition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dependencies

public List<String> dependencies
The list of name of the dependencies to add


target

public String target
The name of the target dependency

Constructor Detail

PortalContainerDefinitionChange.AddDependenciesBefore

public PortalContainerDefinitionChange.AddDependenciesBefore()
Method Detail

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

eXo Kernel :: Container 2.4.4-CLD

Copyright © 2013 eXo Platform SAS. All Rights Reserved.