| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Copyright 2008-2009 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.server.tools.dsreplication; |
| | |
| | | * mode the ReplicationCliArgumentParser is not enough. |
| | | * |
| | | */ |
| | | class DisableReplicationUserData extends ReplicationUserData |
| | | public class DisableReplicationUserData extends ReplicationUserData |
| | | { |
| | | private String hostName; |
| | | private int port; |
| | |
| | | * Returns the host name of the server. |
| | | * @return the host name of the server. |
| | | */ |
| | | String getHostName() |
| | | public String getHostName() |
| | | { |
| | | return hostName; |
| | | } |
| | |
| | | * Sets the host name of the server. |
| | | * @param hostName the host name of the server. |
| | | */ |
| | | void setHostName(String hostName) |
| | | public void setHostName(String hostName) |
| | | { |
| | | this.hostName = hostName; |
| | | } |
| | |
| | | * Returns the port of the server. |
| | | * @return the port of the server. |
| | | */ |
| | | int getPort() |
| | | public int getPort() |
| | | { |
| | | return port; |
| | | } |
| | |
| | | * Sets the port of the server. |
| | | * @param port the port of the server. |
| | | */ |
| | | void setPort(int port) |
| | | public void setPort(int port) |
| | | { |
| | | this.port = port; |
| | | } |