org.codehaus.plexus.configuration
Class PlexusConfigurationUtils

java.lang.Object
  extended by org.codehaus.plexus.configuration.PlexusConfigurationUtils

public final class PlexusConfigurationUtils
extends Object

Utilities for working with PlexusConfiguration objects

Version:
$Revision: 25140 $
Author:
Eric Dalquist

Nested Class Summary
static class PlexusConfigurationUtils.MergePolicyType
          Defines the various types of merge policy type attributes
 
Field Summary
static Comparator<org.codehaus.plexus.configuration.PlexusConfiguration> PLEXUS_CONFIG_COMPARATOR
          Does a deep-comparison of two PlexusConfiguration objects
static String REMOVE_DUPLICATE_POLICY
          How duplicate entries should be handled post-merge, if true they are removed, if false they are not removed.
 
Method Summary
static org.codehaus.plexus.configuration.PlexusConfiguration merge(org.codehaus.plexus.configuration.PlexusConfiguration primary, org.codehaus.plexus.configuration.PlexusConfiguration secondary)
          Merge two elements, treats the two elements as if PlexusConfigurationUtils.MergePolicyType.SELF_MERGE_POLICY is set to MergePolicy.MERGE on the secondary argument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REMOVE_DUPLICATE_POLICY

public static final String REMOVE_DUPLICATE_POLICY
How duplicate entries should be handled post-merge, if true they are removed, if false they are not removed. Defaults to false.

See Also:
Constant Field Values

PLEXUS_CONFIG_COMPARATOR

public static Comparator<org.codehaus.plexus.configuration.PlexusConfiguration> PLEXUS_CONFIG_COMPARATOR
Does a deep-comparison of two PlexusConfiguration objects

Method Detail

merge

public static org.codehaus.plexus.configuration.PlexusConfiguration merge(org.codehaus.plexus.configuration.PlexusConfiguration primary,
                                                                          org.codehaus.plexus.configuration.PlexusConfiguration secondary)
Merge two elements, treats the two elements as if PlexusConfigurationUtils.MergePolicyType.SELF_MERGE_POLICY is set to MergePolicy.MERGE on the secondary argument



Copyright © 2011 Jasig. All Rights Reserved.