com.simpligility.maven.plugins.android.configuration.BuildConfigConstant Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-maven-plugin Show documentation
Show all versions of android-maven-plugin Show documentation
Maven Plugin for Android Development
The newest version!
package com.simpligility.maven.plugins.android.configuration;
import org.apache.maven.plugins.annotations.Parameter;
/**
* Configuration for a custom BuildConfig constant.
*
* @author [email protected]
*/
public class BuildConfigConstant
{
/**
* Name of the constant.
* Eg.: SERVER_URL, etc
*/
@Parameter ( property = "android.buildConfigConstants[].name" , required = true )
private String name;
/**
* Type of the value.
* Eg.: String, int, com.mypackage.MyType, etc
*/
@Parameter ( property = "android.buildConfigConstants[].type", required = true )
private String type;
/**
* Value of the constant.
* Eg.: MyString, 123, new com.mypackage.MyType(), etc
*/
@Parameter ( property = "android.buildConfigConstants[].value" , required = true )
private String value;
public String getType()
{
return type;
}
public String getValue()
{
return value;
}
public String getName()
{
return name;
}
}