|
AdventNet Web NMS 4 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.adventnet.management.config.xml.BaseElement
|
+--com.adventnet.nms.provisioning.xml.TemplateResult
The TemplateResult class represents the complete result on execution of a template.
It contains StageResults, ConfigResults, DeviceResults and AttributeResults.
It also contains name attribute that indicates the name of the template provisioned,
status attribute that indicates the overall provisioning operation status as either "SUCCEEDED" or "FAILED"
and errorMessage attribute that refers the exception message occured during asynchronous provisioning operation.
Format of TemplateResult will be available as TemplateResult.dtd under
<Provisioning Home>/provisioningtemplates directory.
StageResult,
ConfigResult,
DeviceResult,
AttributeResult, Serialized Form| Fields inherited from class com.adventnet.management.config.xml.BaseElement |
element, isServer |
| Constructor Summary | |
TemplateResult()
Creates a new TemplateResult. |
|
TemplateResult(org.w3c.dom.Element element)
Creates a new TemplateResult that contains representation of the supplied element. |
|
TemplateResult(java.lang.String xmlString)
Creates a new TemplateResult that contains representation of the supplied xml string. |
|
| Method Summary | |
java.lang.String |
getErrorMessage()
Returns message of the exception occured during asynchronous mode of provisioning. |
StageResult |
getStageResult(java.lang.String stageId)
Returns the StageResult object that is identified by the specified stageId. |
java.util.Vector |
getStageResults()
Returns a vector of all the StageResults that are present in this TemplateResult object. |
java.lang.String |
getStatus()
Returns overall status of the Provisioning Operation. |
java.lang.String |
getTemplateName()
Returns the name of the template provisioned. |
void |
removeStageResult(java.lang.String stageId)
Removes the StageResult object that is identified by the specified stageId from this TemplateResult object. |
java.lang.String |
toString()
Returns the TemplateResult in string form. |
| Methods inherited from class com.adventnet.management.config.xml.BaseElement |
addSubTag, getAttribute, getElement, getProperties, getSubTagsByName, hasAttribute, removeSubTagsByName, setAttribute, setProperties |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TemplateResult()
throws InvalidTemplateException
public TemplateResult(java.lang.String xmlString)
throws InvalidTemplateException
xmlString - xml string for constructing a new TemplateResult object.
public TemplateResult(org.w3c.dom.Element element)
throws InvalidTemplateException
element - element for constructing a new TemplateResult.| Method Detail |
public java.lang.String getTemplateName()
public java.lang.String getStatus()
public java.lang.String getErrorMessage()
public java.util.Vector getStageResults()
public StageResult getStageResult(java.lang.String stageId)
stageId - unique identifier of the StageResult.public void removeStageResult(java.lang.String stageId)
stageId - unique identifier of the StageResult.public java.lang.String toString()
toString in class BaseElement
|
AdventNet Web NMS 4 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||