Package ai.konduit.serving.build.config
Class SimpleDeploymentValidation
- java.lang.Object
-
- ai.konduit.serving.build.config.SimpleDeploymentValidation
-
- All Implemented Interfaces:
DeploymentValidation
public class SimpleDeploymentValidation extends java.lang.Object implements DeploymentValidation
-
-
Constructor Summary
Constructors Constructor Description SimpleDeploymentValidation(java.lang.String... failures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>failureMessages()booleanok()
-
-
-
Method Detail
-
ok
public boolean ok()
- Specified by:
okin interfaceDeploymentValidation- Returns:
- True if the deployment configuration is OK, false otherwise
-
failureMessages
public java.util.List<java.lang.String> failureMessages()
- Specified by:
failureMessagesin interfaceDeploymentValidation- Returns:
- Null if ok() == true, or a list of failure messages (i.e., the reasons why the deployment configuration is invalid)
-
-