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 TemplateResponse
fail(String message)
String
getMessage()
The Error message that occurred during validation.boolean
isValid()
True if the template validation was successfulstatic TemplateResponse
success()
String
toString()
-
-
-
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
-
-