All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.simpligility.maven.plugins.android.configuration.BuildConfigConstant Maven / Gradle / Ivy

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy