Coverage Report - org.apache.maven.model.ConfigurationContainer
 
Classes in this File Line Coverage Branch Coverage Complexity
ConfigurationContainer
18 %
2/11
N/A
1
 
 1  
 /*
 2  
  =================== DO NOT EDIT THIS FILE ====================
 3  
  Generated by Modello 1.0.1 on 2009-09-09 03:04:48,
 4  
  any modifications will be overwritten.
 5  
  ==============================================================
 6  
  */
 7  
 
 8  
 package org.apache.maven.model;
 9  
 
 10  
 /**
 11  
  * Contains the configuration information of the container like
 12  
  * Plugin.
 13  
  * 
 14  
  * @version $Revision$ $Date$
 15  
  */
 16  12
 public class ConfigurationContainer
 17  
     implements java.io.Serializable
 18  
 {
 19  
 
 20  
       //--------------------------/
 21  
      //- Class/Member Variables -/
 22  
     //--------------------------/
 23  
 
 24  
     /**
 25  
      * Whether any configuration should be propagated to child POMs.
 26  
      */
 27  
     private String inherited;
 28  
 
 29  
     /**
 30  
      * The configuration as DOM object.
 31  
      */
 32  
     private Object configuration;
 33  
 
 34  
 
 35  
       //-----------/
 36  
      //- Methods -/
 37  
     //-----------/
 38  
 
 39  
     /**
 40  
      * Get the configuration as DOM object.
 41  
      * 
 42  
      * @return Object
 43  
      */
 44  
     public Object getConfiguration()
 45  
     {
 46  0
         return this.configuration;
 47  
     } //-- Object getConfiguration()
 48  
 
 49  
     /**
 50  
      * Get whether any configuration should be propagated to child
 51  
      * POMs.
 52  
      * 
 53  
      * @return String
 54  
      */
 55  
     public String getInherited()
 56  
     {
 57  0
         return this.inherited;
 58  
     } //-- String getInherited()
 59  
 
 60  
     /**
 61  
      * Set the configuration as DOM object.
 62  
      * 
 63  
      * @param configuration
 64  
      */
 65  
     public void setConfiguration( Object configuration )
 66  
     {
 67  0
         this.configuration = configuration;
 68  0
     } //-- void setConfiguration( Object )
 69  
 
 70  
     /**
 71  
      * Set whether any configuration should be propagated to child
 72  
      * POMs.
 73  
      * 
 74  
      * @param inherited
 75  
      */
 76  
     public void setInherited( String inherited )
 77  
     {
 78  0
         this.inherited = inherited;
 79  0
     } //-- void setInherited( String )
 80  
 
 81  
 
 82  
             
 83  12
     private boolean inheritanceApplied = true;
 84  
 
 85  
     public void unsetInheritanceApplied()
 86  
     {
 87  0
         this.inheritanceApplied = false;
 88  0
     }
 89  
 
 90  
     public boolean isInheritanceApplied()
 91  
     {
 92  0
         return inheritanceApplied;
 93  
     }
 94  
             
 95  
           
 96  
 }