View Javadoc
1   package com.simpligility.maven.plugins.android.configuration;
2   
3   /**
4    * Configuration for the lint command. This class is only the definition of the parameters that are shadowed in
5    * {@link com.simpligility.maven.plugins.android.standalonemojos.LintMojo} and used there.
6    * 
7    * @author Stéphane Nicolas snicolas@octo.com
8    * @author Manfred Moser - manfred@simpligility.com
9    * @see com.simpligility.maven.plugins.android.standalonemojos.LintMojo
10   */
11  public class Lint
12  {
13      private Boolean failOnError;
14      private Boolean skip;
15      private Boolean legacy;
16      private Boolean quiet;
17  
18      // ---------------
19      // Enabled Checks
20      // ---------------
21      private Boolean ignoreWarnings;
22      private Boolean warnAll;
23      private Boolean warningsAsErrors;
24      private String config;
25  
26      // ---------------
27      // Output Options
28      // ---------------
29      private Boolean fullPath;
30      private Boolean showAll;
31      private Boolean disableSourceLines;
32      private String url;
33  
34      private Boolean enableHtml;
35      private String htmlOutputPath;
36      private Boolean enableSimpleHtml;
37      private String simpleHtmlOutputPath;
38      private Boolean enableXml;
39      private String xmlOutputPath;
40  
41      // ---------------
42      // Project Options
43      // ---------------
44      private Boolean enableSources;
45      private String sources;
46      private Boolean enableClasspath;
47      private String classpath;
48      private Boolean enableLibraries;
49      private String libraries;
50  
51      // ---------------
52      // Getters
53      // ---------------
54  
55      public final Boolean isFailOnError()
56      {
57          return failOnError;
58      }
59  
60      public final Boolean isSkip()
61      {
62          return skip;
63      }
64  
65      public final Boolean isQuiet()
66      {
67          return quiet;
68      }
69  
70      public final Boolean isLegacy()
71      {
72          return legacy;
73      }
74  
75      public final Boolean isIgnoreWarnings()
76      {
77          return ignoreWarnings;
78      }
79  
80      public final Boolean isWarnAll()
81      {
82          return warnAll;
83      }
84  
85      public final Boolean isWarningsAsErrors()
86      {
87          return warningsAsErrors;
88      }
89  
90      public final String getConfig()
91      {
92          return config;
93      }
94  
95      public final Boolean isFullPath()
96      {
97          return fullPath;
98      }
99  
100     public final Boolean getShowAll()
101     {
102         return showAll;
103     }
104 
105     public final Boolean isDisableSourceLines()
106     {
107         return disableSourceLines;
108     }
109 
110     public final String getUrl()
111     {
112         return url;
113     }
114 
115     public final Boolean isEnableHtml()
116     {
117         return enableHtml;
118     }
119 
120     public final String getHtmlOutputPath()
121     {
122         return htmlOutputPath;
123     }
124 
125     public final Boolean isEnableSimpleHtml()
126     {
127         return enableSimpleHtml;
128     }
129 
130     public final String getSimpleHtmlOutputPath()
131     {
132         return simpleHtmlOutputPath;
133     }
134 
135     public final Boolean isEnableXml()
136     {
137         return enableXml;
138     }
139 
140     public final String getXmlOutputPath()
141     {
142         return xmlOutputPath;
143     }
144 
145     public Boolean getEnableSources()
146     {
147         return enableSources;
148     }
149 
150     public final String getSources()
151     {
152         return sources;
153     }
154 
155     public Boolean getEnableClasspath()
156     {
157         return enableClasspath;
158     }
159 
160     public final String getClasspath()
161     {
162         return classpath;
163     }
164 
165     public Boolean getEnableLibraries()
166     {
167         return enableLibraries;
168     }
169 
170     public final String getLibraries()
171     {
172         return libraries;
173     }
174 }