Package org.openstack4j.model.heat
Class TemplateResponse
- java.lang.Object
-
- org.openstack4j.model.heat.TemplateResponse
-
public final class TemplateResponse extends Object
Response returned during Template validation- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplateResponsefail(String message)StringgetMessage()The Error message that occurred during validation.booleanisValid()True if the template validation was successfulstatic TemplateResponsesuccess()StringtoString()
-
-
-
Method Detail
-
success
public static TemplateResponse success()
-
fail
public static TemplateResponse fail(String message)
-
isValid
public boolean isValid()
True if the template validation was successful- Returns:
- true if successful
-
getMessage
public String getMessage()
The Error message that occurred during validation.- Returns:
- the error message, will be null if
isValid()is true
-
-