Class SimpleDeploymentValidation

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> failureMessages()  
      boolean ok()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleDeploymentValidation

        public SimpleDeploymentValidation​(java.lang.String... failures)
    • Method Detail

      • ok

        public boolean ok()
        Specified by:
        ok in interface DeploymentValidation
        Returns:
        True if the deployment configuration is OK, false otherwise
      • failureMessages

        public java.util.List<java.lang.String> failureMessages()
        Specified by:
        failureMessages in interface DeploymentValidation
        Returns:
        Null if ok() == true, or a list of failure messages (i.e., the reasons why the deployment configuration is invalid)