Class TestScript.TestAction

  • All Implemented Interfaces:
    ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.IResourceBlock, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase
    Enclosing class:
    TestScript

    public static class TestScript.TestAction
    extends ca.uhn.fhir.model.api.BaseIdentifiableElement
    implements ca.uhn.fhir.model.api.IResourceBlock
    Block class for child element: TestScript.test.action ()

    Definition: Action would contain either an operation or an assertion.

    See Also:
    Serialized Form
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      • getAllPopulatedChildElementsOfType

        public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType​(Class<T> theType)
        Specified by:
        getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
      • getOperation

        public TestScript.SetupActionOperation getOperation()
        Gets the value(s) for operation (). creating it if it does not exist. Will not return null.

        Definition: An operation would involve a REST request to a server.

      • getAssert

        public TestScript.SetupActionAssert getAssert()
        Gets the value(s) for assert (). creating it if it does not exist. Will not return null.

        Definition: Evaluates the results of previous operations to determine if the server under test behaves appropriately.