com.simpligility.maven.plugins.android.configuration.ValidationResponse 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
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;
}
}