Class VplsOperation


  • public class VplsOperation
    extends java.lang.Object
    Operation for VPLS.
    • Constructor Detail

      • VplsOperation

        protected VplsOperation​(VplsData vplsData,
                                VplsOperation.Operation op)
        Defines a VPLS operation by binding a given VPLS and operation type.
        Parameters:
        vplsData - the VPLS
        op - the operation
    • Method Detail

      • of

        public static VplsOperation of​(VplsData vplsData,
                                       VplsOperation.Operation op)
        Defines a VPLS operation by binding a given VPLS and operation type.
        Parameters:
        vplsData - the VPLS
        op - the operation
        Returns:
        the VPLS operation
      • vpls

        public VplsData vpls()
        Retrieves the VPLS from the operation.
        Returns:
        the VPLS
      • op

        public VplsOperation.Operation op()
        Retrieves the operation type from the operation.
        Returns:
        the operation type
      • toString

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

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

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