package br.com.bloder.blormlib.validation;

/**
 * Created by bloder on 05/06/16.
 */
public interface Validate {

  boolean validate();
  void onError();
}

package br.com.bloder.blormlib.validation;

/**
 * Created by bloder on 05/06/16.
 */
public interface Validate {

  boolean validate();
  void onError();
  void onSuccess();
}

Add on success funtion to a validation