Package org.hyperledger.fabric.sdk
Class Channel.AnchorPeersConfigUpdateResult
- java.lang.Object
-
- org.hyperledger.fabric.sdk.Channel.AnchorPeersConfigUpdateResult
-
- Enclosing class:
- Channel
public static class Channel.AnchorPeersConfigUpdateResult extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AnchorPeersConfigUpdateResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.String>getCurrentPeers()The anchor peers found in the current channel configuration.java.util.Collection<java.lang.String>getPeersAdded()The peers to be added.java.util.Collection<java.lang.String>getPeersRemoved()The peers to be removed..UpdateChannelConfigurationgetUpdateChannelConfiguration()The actual config update @seeUpdateChannelConfigurationjava.util.Collection<java.lang.String>getUpdatedPeers()The anchor peers found in the updated channel configuration.java.lang.StringtoString()
-
-
-
Method Detail
-
getUpdateChannelConfiguration
public UpdateChannelConfiguration getUpdateChannelConfiguration()
The actual config update @seeUpdateChannelConfiguration- Returns:
- The config update. May be null when there is an error on no change needs to be done.
-
getPeersAdded
public java.util.Collection<java.lang.String> getPeersAdded()
The peers to be added.- Returns:
- The anchor peers to be added. This is less any that may be already present.
-
getPeersRemoved
public java.util.Collection<java.lang.String> getPeersRemoved()
The peers to be removed..- Returns:
- The anchor peers to be removed. This is less any peers not present.
-
getCurrentPeers
public java.util.Collection<java.lang.String> getCurrentPeers()
The anchor peers found in the current channel configuration.- Returns:
- The anchor peers found in the current channel configuration.
-
getUpdatedPeers
public java.util.Collection<java.lang.String> getUpdatedPeers()
The anchor peers found in the updated channel configuration.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-