View Javadoc

1   /**
2    * 
3    */
4   package org.wvc.config.xml.pojos;
5   
6   import com.thoughtworks.xstream.annotations.XStreamAlias;
7   import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
8   
9   /**
10   * Debug mode tag.
11   * 
12   * @author julian
13   *
14   */
15  @XStreamAlias("debugMode")
16  public class DebugMode {
17  
18  	/**
19  	 * True if debug mode is enabled.
20  	 */
21  	@XStreamAlias("enabled")
22  	@XStreamAsAttribute
23  	private Boolean enabled;
24  
25  	/**
26  	 * @param enabled
27  	 */
28  	public DebugMode(Boolean enabled) {
29  		super();
30  		this.enabled = enabled;
31  	}
32  
33  	/**
34  	 * @return the enabled
35  	 */
36  	public Boolean getEnabled() {
37  		return enabled;
38  	}
39  	
40  }