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

com.jayway.maven.plugins.android.configuration.ValidationResponse Maven / Gradle / Ivy

There is a newer version: 4.0.0-rc.2
Show newest version
package com.jayway.maven.plugins.android.configuration;
/**
 * ValidationResponse wraps a validation message and result flag 
 * allows the using class to decide how to react to a validation 
 * failure.
 * 
 * @author Manfred Moser 
 * @see DeployApk
 */
public final class ValidationResponse 
{
    private final boolean valid;
    private final String message;
    
    public ValidationResponse( final boolean valid, final String message ) 
    {
        this.valid = valid;
        this.message = message;
    }

    public boolean isValid()
    {
        return valid;
    }

    public String getMessage()
    {
        return message;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy