View Javadoc
1   package com.simpligility.maven.plugins.android.configuration;
2   
3   import java.io.File;
4   
5   /**
6    * Configuration container for proguard without default values.
7    *
8    * @author Matthias Kaeppler
9    * @author Manfred Moser
10   * @author Michal Harakal
11   * @see com.simpligility.maven.plugins.android.phase04processclasses.ProguardMojo
12   */
13  public class Proguard
14  {
15  
16      /**
17       * Whether ProGuard is enabled or not.
18       */
19      private Boolean skip;
20      /**
21       * Path to the ProGuard configuration file (relative to project root).
22       */
23      private File config;
24      private String[] configs;
25      private String proguardJarPath;
26      private File outputDirectory;
27      private String[] jvmArguments;
28      private Boolean filterMavenDescriptor;
29      private Boolean filterManifest;
30      private String customFilter;
31      private Boolean includeJdkLibs;
32      private String[] options;
33      private Boolean attachMap;
34  
35      public Boolean isSkip()
36      {
37          return skip;
38      }
39  
40      public File getConfig()
41      {
42          return config;
43      }
44  
45      public String[] getConfigs()
46      {
47          return configs;
48      }
49  
50      public String getProguardJarPath()
51      {
52          return proguardJarPath;
53      }
54      
55      public File getOutputDirectory()
56      {
57          return outputDirectory;
58      }
59     
60      public String[] getJvmArguments()
61      {
62          return jvmArguments;
63      }
64  
65      public Boolean isFilterMavenDescriptor()
66      {
67          return filterMavenDescriptor;
68      }
69      
70      public String getCustomFilter()
71      {
72          return customFilter;
73      }
74  
75      public Boolean isFilterManifest()
76      {
77          return filterManifest;
78      }
79      
80      public Boolean isIncludeJdkLibs()
81      {
82          return includeJdkLibs;
83      }
84  
85      public String[] getOptions()
86      {
87          return options;
88      }
89  }