Class PiStruct

  • All Implemented Interfaces:
    PiData

    @Beta
    public final class PiStruct
    extends java.lang.Object
    implements PiData
    Struct entity in a protocol-independent pipeline.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.onosproject.net.pi.model.PiData

        PiData.Type
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      static PiStruct of​(java.util.List<PiData> struct)
      Returns a new protocol-independent struct.
      java.util.List<PiData> struct()
      Return protocol-independent struct instance.
      java.lang.String toString()  
      PiData.Type type()
      Returns the type of this protocol-independent data.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • of

        public static PiStruct of​(java.util.List<PiData> struct)
        Returns a new protocol-independent struct.
        Parameters:
        struct - the list of PiData
        Returns:
        struct
      • struct

        public java.util.List<PiData> struct()
        Return protocol-independent struct instance.
        Returns:
        the list of PiData
      • type

        public PiData.Type type()
        Description copied from interface: PiData
        Returns the type of this protocol-independent data.
        Specified by:
        type in interface PiData
        Returns:
        the type of this instance
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object