Class ValidateCommandResultType

java.lang.Object
org.citrusframework.model.testcase.kubernetes.ValidateCommandResultType

public class ValidateCommandResultType extends Object
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>
 
  • Field Details

  • Constructor Details

    • ValidateCommandResultType

      public ValidateCommandResultType()
  • Method Details

    • getResult

      public String getResult()
      Ruft den Wert der result-Eigenschaft ab.
      Returns:
      possible object is String
    • setResult

      public void setResult(String value)
      Legt den Wert der result-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getElements

      public List<ValidateCommandResultType.Element> 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 set method 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.