View Javadoc
1   package com.simpligility.maven.plugins.android.configuration;
2   
3   /**
4    * Configuration for the ui automator test runs. This class is only the definition of the parameters that are shadowed
5    * in {@link com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo} and used there.
6    * 
7    * @author Stéphane Nicolas - snicolas@octo.com
8    */
9   public class UIAutomator
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.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo#jarFile}
17       */
18      private String jarFile;
19      /**
20       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo#testClassOrMethods}
21       */
22      private String[] testClassOrMethods;
23      /**
24       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo#noHup}
25       */
26      private Boolean noHup = false;
27      /**
28       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo#debug}
29       */
30      private Boolean debug = false;
31      /**
32       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo#useDump}
33       */
34      private Boolean useDump = false;
35      /**
36       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo#dumpFilePath}
37       */
38      private String dumpFilePath;
39      /**
40       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo#createReport}
41       */
42      private Boolean createReport;
43      /**
44       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo#reportSuffix}
45       */
46      private String reportSuffix;
47      /**
48       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo#takeScreenshotOnFailure}
49       */
50      private Boolean takeScreenshotOnFailure;
51      /**
52       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo#screenshotsPathOnDevice}
53       */
54      private String screenshotsPathOnDevice;
55      /**
56       * Mirror of {@link com.simpligility.maven.plugins.android.standalonemojos.UIAutomatorMojo#parameterPrefix}
57       */
58      private String propertiesKeyPrefix;
59  
60      public Boolean isSkip()
61      {
62          return skip;
63      }
64  
65      public String getJarFile()
66      {
67          return jarFile;
68      }
69  
70      public String[] getTestClassOrMethods()
71      {
72          return testClassOrMethods;
73      }
74  
75      public Boolean getNoHup()
76      {
77          return noHup;
78      }
79  
80      public Boolean getDebug()
81      {
82          return debug;
83      }
84  
85      public Boolean getUseDump()
86      {
87          return useDump;
88      }
89  
90      public String getDumpFilePath()
91      {
92          return dumpFilePath;
93      }
94  
95      public Boolean isCreateReport()
96      {
97          return createReport;
98      }
99  
100     public String getReportSuffix()
101     {
102         return reportSuffix;
103     }
104 
105     public Boolean isTakeScreenshotOnFailure()
106     {
107         return takeScreenshotOnFailure;
108     }
109 
110     public String getScreenshotsPathOnDevice()
111     {
112         return screenshotsPathOnDevice;
113     }
114     
115     public String getPropertiesKeyPrefix()
116     {
117         return propertiesKeyPrefix;
118     }
119 }