Interface FailureCase

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<FailureCase>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChoiceIn<SubmitInstructionOutput>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, Result

    public interface FailureCase
    extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<FailureCase>, Result

    This class represents the following YANG schema fragment defined in module programming

     case failure-case {
       container failure {
         leaf type {
           type identityref {
             base submit-failure;
           }
         }
         leaf-list failed-preconditions {
           when "../type = dead-on-arrival";
           type instruction-id;
         }
       }
     }
     
    The schema path to identify an instance is programming/submit-instruction-output/result/failure-case
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<FailureCase> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getFailure

        @Nullable Failure getFailure()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.programming.rev150720.submit.instruction.output.result.failure._case.Failure failure, or null if not present