View Javadoc

1   /*
2    * $Id$
3    */
4   
5   package org.apache.maven.model;
6   
7     //---------------------------------/
8    //- Imported classes and packages -/
9   //---------------------------------/
10  
11  import java.util.Date;
12  
13  /**
14   * Information about the issue tracking (or bug tracking) system
15   * used to manage this
16   *         project.
17   * 
18   * @version $Revision$ $Date$
19   */
20  public class IssueManagement implements java.io.Serializable {
21  
22  
23        //--------------------------/
24       //- Class/Member Variables -/
25      //--------------------------/
26  
27      /**
28       * The name of the issue management system, e.g. Bugzilla.
29       */
30      private String system;
31  
32      /**
33       * URL for the issue management system used by the project.
34       */
35      private String url;
36  
37  
38        //-----------/
39       //- Methods -/
40      //-----------/
41  
42      /**
43       * Get the name of the issue management system, e.g. Bugzilla.
44       * 
45       * @return String
46       */
47      public String getSystem()
48      {
49          return this.system;
50      } //-- String getSystem() 
51  
52      /**
53       * Get uRL for the issue management system used by the project.
54       * 
55       * @return String
56       */
57      public String getUrl()
58      {
59          return this.url;
60      } //-- String getUrl() 
61  
62      /**
63       * Set the name of the issue management system, e.g. Bugzilla.
64       * 
65       * @param system
66       */
67      public void setSystem( String system )
68      {
69          this.system = system;
70      } //-- void setSystem( String ) 
71  
72      /**
73       * Set uRL for the issue management system used by the project.
74       * 
75       * @param url
76       */
77      public void setUrl( String url )
78      {
79          this.url = url;
80      } //-- void setUrl( String ) 
81  
82  
83      private String modelEncoding = "UTF-8";
84  
85      /**
86       * Set an encoding used for reading/writing the model.
87       *
88       * @param modelEncoding the encoding used when reading/writing the model.
89       */
90      public void setModelEncoding( String modelEncoding )
91      {
92          this.modelEncoding = modelEncoding;
93      }
94  
95      /**
96       * @return the current encoding used when reading/writing this model.
97       */
98      public String getModelEncoding()
99      {
100         return modelEncoding;
101     }
102 }