Package org.apache.activemq.artemis.api.core.management

## Class NodeInfo

- java.lang.Object
- - org.apache.activemq.artemis.api.core.management.NodeInfo

-     public class NodeInfo
      extends java.lang.Object

  Helper class to create Java Objects from the JSON serialization returned by `ActiveMQServerControl.listNetworkTopology()`.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `NodeInfo​(java.lang.String id, java.lang.String live, java.lang.String backup)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static NodeInfo[]` | `from​(java.lang.String jsonString)` | Returns an array of NodeInfo corresponding to the JSON serialization returned by `ActiveMQServerControl.listNetworkTopology()`.
    `java.lang.String` | `getBackup()` |
    `java.lang.String` | `getId()` |
    `java.lang.String` | `getLive()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NodeInfo

          public NodeInfo​(java.lang.String id,
                          java.lang.String live,
                          java.lang.String backup)

  - ### Method Detail

    - #### getId

          public java.lang.String getId()

    - #### getLive

          public java.lang.String getLive()

    - #### getBackup

          public java.lang.String getBackup()

    - #### from

          public static NodeInfo[] from​(java.lang.String jsonString)
                                 throws java.lang.Exception

      Returns an array of NodeInfo corresponding to the JSON serialization returned by `ActiveMQServerControl.listNetworkTopology()`.
      Throws:
        `java.lang.Exception`