Class LinkdEdgeStatusProvider.LinkdEdgeStatus

  • All Implemented Interfaces:
    Status
    Enclosing class:
    LinkdEdgeStatusProvider

    public static class LinkdEdgeStatusProvider.LinkdEdgeStatus
    extends java.lang.Object
    implements Status
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String computeStatus()  
      java.util.Map<java.lang.String,​java.lang.String> getStatusProperties()  
      java.util.Map<java.lang.String,​java.lang.String> getStyleProperties()
      Defines a CSS-Property to Value mapping, where the key defines the CSS-Property and the value the according value.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LinkdEdgeStatus

        public LinkdEdgeStatus​(java.lang.String status)
      • LinkdEdgeStatus

        public LinkdEdgeStatus​(OnmsAlarm summary)
    • Method Detail

      • computeStatus

        public java.lang.String computeStatus()
        Specified by:
        computeStatus in interface Status
      • getStatusProperties

        public java.util.Map<java.lang.String,​java.lang.String> getStatusProperties()
        Specified by:
        getStatusProperties in interface Status
      • getStyleProperties

        public java.util.Map<java.lang.String,​java.lang.String> getStyleProperties()
        Description copied from interface: Status
        Defines a CSS-Property to Value mapping, where the key defines the CSS-Property and the value the according value. Each entry is applied to the GWTEdge style attribute. If no style should be applied in addition, return an empty map.
        Specified by:
        getStyleProperties in interface Status
        Returns:
        CSS-Property to Value-Mapping for each GWTEdge. Must NOT be null
      • toString

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