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

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

There is a newer version: 4.6.0
Show 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 
 * @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