Class StatusReplicationUserData


  • public class StatusReplicationUserData
    extends ReplicationUserData
    This class is used to store the information provided by the user to show replication configuration. It is required because when we are in interactive mode the ReplicationCliArgumentParser is not enough.
    • Constructor Detail

      • StatusReplicationUserData

        public StatusReplicationUserData()
    • Method Detail

      • isScriptFriendly

        public boolean isScriptFriendly()
        Whether we must display information in a script-friendly mode or not.
        Returns:
        true if we must display the information in a script-friendly mode and false otherwise.
      • setScriptFriendly

        public void setScriptFriendly​(boolean scriptFriendly)
        Sets whether we must display information in a script-friendly mode or not.
        Parameters:
        scriptFriendly - whether we must display information in a script-friendly mode or not.
      • getHostPort

        public HostPort getHostPort()
        Returns the host name and port of the server.
        Returns:
        the host name and port of the server.
      • setHostPort

        public void setHostPort​(HostPort hostPort)
        Sets the host name and port of the server.
        Parameters:
        hostPort - the host name and port of the server.