View Javadoc
1   package com.simpligility.maven.plugins.android.configuration;
2   
3   import java.io.File;
4   
5   /**
6    * Configuration for the manifest update. This class is only the definition of the parameters that are shadowed in
7    * {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestMergerMojo} and used there.
8    *
9    * @author Benoit Billington
10   */
11  public class ManifestMerger
12  {
13  
14      /**
15       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestMergerMojo#manifestVersionName}.
16       */
17      protected String versionName;
18  
19      /**
20       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestMergerMojo#manifestVersionCode}.
21       */
22      protected Integer versionCode;
23  
24      /**
25       * Mirror of
26       * {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestMergerMojo#manifestUsesSdk}
27       */
28      protected UsesSdk usesSdk;
29  
30      /**
31       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestMergerMojo
32       * #manifestVersionCodeUpdateFromVersion}.
33       */
34      protected Boolean versionCodeUpdateFromVersion;
35  
36      /**
37       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestMergerMojo
38       * #manifestVersionNamingPattern}.
39       */
40      protected String versionNamingPattern;
41  
42      /**
43       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestMergerMojo
44       * #manifestVersionDigits}.
45       */
46      protected String versionDigits;
47  
48      /**
49       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestMergerMojo
50       * #manifestMergeLibraries}.
51       */
52      protected Boolean mergeLibraries;
53  
54      /**
55       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestMergerMojo
56       * #manifestMergeReportFile}.
57       */
58      protected File mergeReportFile;
59  
60      public String getVersionName()
61      {
62          return versionName;
63      }
64  
65      public Integer getVersionCode()
66      {
67          return versionCode;
68      }
69  
70      public UsesSdk getUsesSdk()
71      {
72          return usesSdk;
73      }
74  
75      public Boolean getVersionCodeUpdateFromVersion()
76      {
77          return versionCodeUpdateFromVersion;
78      }
79  
80      public String getVersionNamingPattern()
81      {
82          return versionNamingPattern;
83      }
84  
85      public String getVersionDigits()
86      {
87          return versionDigits;
88      }
89  
90      public Boolean getMergeLibraries()
91      {
92          return mergeLibraries;
93      }
94  
95      public File getMergeReportFile()
96      {
97          return mergeReportFile;
98      }
99  }