Class ValidateCommandResultType
java.lang.Object
org.citrusframework.model.testcase.kubernetes.ValidateCommandResultType
Expects and validates a command result
Java-Klasse für ValidateCommandResultType complex type.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<complexType name="ValidateCommandResultType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="result" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="element" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava-Klasse für anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ValidateCommandResultType.Element>protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the elements property.Ruft den Wert der result-Eigenschaft ab.voidLegt den Wert der result-Eigenschaft fest.
-
Field Details
-
result
-
elements
-
-
Constructor Details
-
ValidateCommandResultType
public ValidateCommandResultType()
-
-
Method Details
-
getResult
Ruft den Wert der result-Eigenschaft ab.- Returns:
- possible object is
String
-
setResult
Legt den Wert der result-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getElements
Gets the value of the elements property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the elements property.For example, to add a new item, do as follows:
getElements().add(newItem);
Objects of the following type(s) are allowed in the list
ValidateCommandResultType.Element- Returns:
- The value of the elements property.
-