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

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

The newest version!
package com.simpligility.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 - [email protected]
 * @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