org.ops4j.pax.url.assembly.internal
Interface MergePolicy


public interface MergePolicy

Policy to use while merging assembly resources.

Since:
1.1.0, August 31, 2009
Author:
Alin Dreghiciu

Field Summary
static MergePolicy FIRST
          First wins merge policy.
static MergePolicy LAST
          Last wins merge policy.
 
Method Summary
 void addResource(Resource resource, java.util.Set<Resource> resources)
          Adds resource to set of resources based on type of policy.
 

Field Detail

FIRST

static final MergePolicy FIRST
First wins merge policy.


LAST

static final MergePolicy LAST
Last wins merge policy.

Method Detail

addResource

void addResource(Resource resource,
                 java.util.Set<Resource> resources)
Adds resource to set of resources based on type of policy.

Parameters:
resource - resource to add
resources - set when the resource should be added


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.