1 package com.simpligility.maven.plugins.android.configuration; 2 /** 3 * ValidationResponse wraps a validation message and result flag 4 * allows the using class to decide how to react to a validation 5 * failure. 6 * 7 * @author Manfred Moser - manfred@simpligility.com 8 * @see DeployApk 9 */ 10 public final class ValidationResponse 11 { 12 private final boolean valid; 13 private final String message; 14 15 public ValidationResponse( final boolean valid, final String message ) 16 { 17 this.valid = valid; 18 this.message = message; 19 } 20 21 public boolean isValid() 22 { 23 return valid; 24 } 25 26 public String getMessage() 27 { 28 return message; 29 } 30 }