View Javadoc
1   package com.simpligility.maven.plugins.android.configuration;
2   
3   import com.simpligility.maven.plugins.android.standalonemojos.CompatibleScreen;
4   import com.simpligility.maven.plugins.android.standalonemojos.SupportsScreens;
5   
6   import java.util.List;
7   import java.util.Properties;
8   
9   /**
10   * Configuration for the manifest update. This class is only the definition of the parameters that are shadowed in
11   * {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo} and used there.
12   *
13   * @author Manfred Moser - manfred@simpligility.com
14   * @deprecated Use ManifestMerger {@link com.simpligility.maven.plugins.android.configuration.ManifestMerger} in 
15   * combination
16   * with {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestMergerMojo}
17   */
18  @Deprecated
19  public class Manifest
20  {
21      /**
22       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo#manifestVersionName}.
23       */
24      protected String versionName;
25  
26      /**
27       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo#manifestVersionCode}.
28       */
29      protected Integer versionCode;
30  
31      /**
32       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo
33       * #manifestVersionCodeAutoIncrement}.
34       */
35      private Boolean versionCodeAutoIncrement;
36  
37      /**
38       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo
39       * #manifestVersionCodeUpdateFromVersion}.
40       */
41      protected Boolean versionCodeUpdateFromVersion;
42  
43      /**
44       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos
45       * .ManifestUpdateMojo#manifestApplicationIcon}.
46       */
47      protected String applicationIcon;
48  
49      /**
50       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos
51       * .ManifestUpdateMojo#manifestApplicationLabel}.
52       */
53      protected String applicationLabel;    
54      
55      /**
56       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos
57       * .ManifestUpdateMojo#manifestApplicationTheme}.
58       */
59      protected String applicationTheme;    
60      
61      /**
62       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo#manifestSharedUserId}.
63       */
64      protected String sharedUserId;
65  
66      /**
67       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo#manifestDebuggable}.
68       */
69      protected Boolean debuggable;
70  
71      /**
72       * Mirror of
73       * {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo#manifestSupportsScreens}
74       * .
75       */
76      protected SupportsScreens supportsScreens;
77  
78      /**
79       * Mirror of
80       * {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo#manifestCompatibleScreens}
81       * .
82       */
83      protected List<CompatibleScreen> compatibleScreens;
84  
85      /**
86       * Mirror of
87       * {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo#manifestProviderAuthorities}
88       * .
89       */
90      protected Properties providerAuthorities;
91  
92      /**
93       * Mirror of
94       * {@link com.simpligility.maven.plugins.android.standalonemojos.ManifestUpdateMojo#manifestUsesSdk}
95       */
96      protected UsesSdk usesSdk;
97  
98      public String getVersionName()
99      {
100         return versionName;
101     }
102 
103     public Integer getVersionCode()
104     {
105         return versionCode;
106     }
107 
108     public Boolean getVersionCodeAutoIncrement()
109     {
110         return versionCodeAutoIncrement;
111     }
112 
113     public Boolean getVersionCodeUpdateFromVersion()
114     {
115         return versionCodeUpdateFromVersion;
116     }
117 
118     public String getApplicationIcon() 
119     {
120     return applicationIcon; 
121     }
122     
123     public String getApplicationLabel() 
124     {
125         return applicationLabel;
126     }
127 
128     public String getApplicationTheme() 
129     {
130         return applicationTheme;
131     }
132 
133     public String getSharedUserId()
134     {
135         return sharedUserId;
136     }
137 
138     public Boolean getDebuggable()
139     {
140         return debuggable;
141     }
142 
143     public SupportsScreens getSupportsScreens()
144     {
145         return supportsScreens;
146     }
147 
148     public List<CompatibleScreen> getCompatibleScreens()
149     {
150         return compatibleScreens;
151     }
152 
153     public Properties getProviderAuthorities()
154     {
155         return providerAuthorities;
156     }
157 
158     public UsesSdk getUsesSdk()
159     {
160         return usesSdk;
161     }
162 }