Javadoc update for CloudStack Template.getStatus()

This commit is contained in:
Richard Downer 2012-09-03 11:35:19 +03:00
parent ca7ede5932
commit 8b29a6c4f6
1 changed files with 8 additions and 0 deletions

View File

@ -652,6 +652,14 @@ public class Template implements Comparable<Template> {
}
/**
* Retrieve the status of the template.
*
* <p>Note that in CloudStack 2.2.x through to at least 3.0.4, the possible status values are
* not well defined by CloudStack. CloudStack returns a plain-text English string for UI
* display, which jclouds attempts to parse into an enumeration, but the mapping is incomplete.
* This method should be reliable for the common cases, but it is possible (particularly for
* error statuses) that this method will return UNRECOGNIZED.</p>
*
* @return status of the template
*/
@Nullable