@Mojo(name="generate-test",
defaultPhase=GENERATE_TEST_SOURCES)
public class CodeGeneratorTestMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected List<String> |
androidCustomElements
List of "android" custom elements to be included during code generation.
|
protected String |
baseFolder
Represents the base folder used for reading page asset files such as PageYAML.
|
protected String |
basePackage
Represents the base package used for generated java classes.
|
protected File |
detailedTextOutputLocation
Represents the location for the code generator plug-in to create a SeLionPageDetails.txt file.
|
protected List<String> |
excludeDomains
List of "domains" to exclude during code generation.
|
protected List<String> |
htmlCustomElements
List of "html" custom elements to be included during code generation.
|
protected List<String> |
iosCustomElements
List of "ios" custom elements to be included during code generation.
|
protected List<String> |
mobileCustomElements
List of "mobile" custom elements to be included during code generation.
|
protected File |
outputDirectory
Directory to write generated code to.
|
protected org.apache.maven.project.MavenProject |
project
Project the plugin is called from.
|
Constructor and Description |
---|
CodeGeneratorTestMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
@Parameter(property="project", defaultValue="${project}", required=true) protected org.apache.maven.project.MavenProject project
@Parameter(property="basePackage", defaultValue="com.paypal.selion.testcomponents", required=true) protected String basePackage
@Parameter(property="baseFolder", defaultValue="GUIData", required=true) protected String baseFolder
@Parameter(property="excludeDomains") protected List<String> excludeDomains
@Parameter(property="htmlCustomElements") protected List<String> htmlCustomElements
@Parameter(property="mobileCustomElements") protected List<String> mobileCustomElements
@Parameter(property="iosCustomElements") protected List<String> iosCustomElements
@Parameter(property="androidCustomElements") protected List<String> androidCustomElements
@Parameter(property="detailedTextOutputLocation", defaultValue="${project.build.directory}", required=true) protected File detailedTextOutputLocation
@Parameter(property="outputDirectory") protected File outputDirectory
Copyright © 2016 PayPal Open Source. All rights reserved.