com.jayway.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
package com.jayway.maven.plugins.android.configuration;
/**
* Configuration for a custom BuildConfig constant.
*
* @author [email protected]
*/
public class BuildConfigConstant
{
/**
* Name of the constant.
* Eg.: SERVER_URL, etc
*
* @parameter expression="{android.buildConfigConstants[].name}"
* @required
*/
private String name;
/**
* Type of the value.
* Eg.: String, int, com.mypackage.MyType, etc
*
* @parameter expression="{android.buildConfigConstants[].type}"
* @required
*/
private String type;
/**
* Value of the constant.
* Eg.: MyString, 123, new com.mypackage.MyType(), etc
*
* @parameter expression="{android.buildConfigConstants[].value}"
* @required
*/
private String value;
public String getType()
{
return type;
}
public String getValue()
{
return value;
}
public String getName()
{
return name;
}
}