View Javadoc
1   package com.simpligility.maven.plugins.android.configuration;
2   
3   /**
4    * Configuration for the monkey test runs. This class is only the definition of the parameters that are shadowed in
5    * {@link com.simpligility.maven.plugins.android.standalonemojos.MonkeyMojo} and used there.
6    * 
7    * @author Stéphane Nicolas - snicolas@octo.com
8    */
9   public class Monkey
10  {
11      /**
12       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo#testSkip}
13       */
14      private Boolean skip;
15      /**
16       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#eventCount}
17       */
18      private Integer eventCount;
19      /**
20       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#seed}
21       */
22      private Long seed;
23      /**
24       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#throttle}
25       */
26      private Long throttle;
27      /**
28       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#percentTouch}
29       */
30      private Integer percentTouch;
31      /**
32       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#percentMotion}
33       */
34      private Integer percentMotion;
35      /**
36       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#percentTrackball}
37       */
38      private Integer percentTrackball;
39      /**
40       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#percentNav}
41       */
42      private Integer percentNav;
43      /**
44       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#percentMajorNav}
45       */
46      private Integer percentMajorNav;
47      /**
48       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#percentSyskeys}
49       */
50      private Integer percentSyskeys;
51      /**
52       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#percentAppswitch}
53       */
54      private Integer percentAppswitch;
55      /**
56       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#percentAnyevent}
57       */
58      private Integer percentAnyevent;
59  
60      /**
61       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#packages}
62       */
63      private String[] packages;
64      /**
65       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#categories}
66       */
67      private String[] categories;
68      /**
69       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo#debugNoEvents}
70       */
71      private Boolean debugNoEvents;
72      /**
73       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo#hprof}
74       */
75      private Boolean hprof;
76      /**
77       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#ignoreCrashes}
78       */
79      private Boolean ignoreCrashes;
80      /**
81       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#ignoreTimeouts}
82       */
83      private Boolean ignoreTimeouts;
84      /**
85       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#ignoreSecurityExceptions}
86       */
87      private Boolean ignoreSecurityExceptions;
88      /**
89       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#killProcessAfterError}
90       */
91      private Boolean killProcessAfterError;
92      /**
93       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#monitorNativeCrashes}
94       */
95      private Boolean monitorNativeCrashes;
96      /**
97       * Mirror of {@link com.jayway.maven.plugins.android.standalonemojos.Monkey#createReport}
98       */
99      private Boolean createReport;
100 
101     public Boolean isSkip()
102     {
103         return skip;
104     }
105 
106     public Integer getEventCount()
107     {
108         return eventCount;
109     }
110 
111     public Long getSeed()
112     {
113         return seed;
114     }
115 
116     public Long isThrottle()
117     {
118         return throttle;
119     }
120 
121     public Integer getPercentTouch()
122     {
123         return percentTouch;
124     }
125 
126     public Integer getPercentMotion()
127     {
128         return percentMotion;
129     }
130 
131     public Integer getPercentTrackball()
132     {
133         return percentTrackball;
134     }
135 
136     public Integer getPercentNav()
137     {
138         return percentNav;
139     }
140 
141     public Integer getPercentMajorNav()
142     {
143         return percentMajorNav;
144     }
145 
146     public Integer getPercentSyskeys()
147     {
148         return percentSyskeys;
149     }
150 
151     public Integer getPercentAppswitch()
152     {
153         return percentAppswitch;
154     }
155 
156     public Integer getPercentAnyevent()
157     {
158         return percentAnyevent;
159     }
160 
161     public String[] getPackages()
162     {
163         return packages;
164     }
165 
166     public String[] getCategories()
167     {
168         return categories;
169     }
170 
171     public Boolean isDebugNoEvents()
172     {
173         return skip;
174     }
175 
176     public Boolean hProf()
177     {
178         return skip;
179     }
180 
181     public Boolean isIgnoreTimeouts()
182     {
183         return ignoreTimeouts;
184     }
185 
186     public Boolean isIgnoreSecurityExceptions()
187     {
188         return ignoreSecurityExceptions;
189     }
190 
191     public Boolean isKillProcessAfterError()
192     {
193         return killProcessAfterError;
194     }
195 
196     public Boolean isMonitorNativeErrors()
197     {
198         return monitorNativeCrashes;
199     }
200 
201     public Boolean isCreateReport()
202     {
203         return createReport;
204     }
205 }