@@ -0,0 +1,1838 @@
+/* %0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A *  you may not use this file except in compliance with the License.%0A *  You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License. %0A */%0Apackage org.ngrinder.region.model;%0A%0Aimport java.io.Serializable;%0Aimport java.util.Set;%0A%0Aimport net.grinder.common.processidentity.AgentIdentity;%0A%0A/**%0A * Region info to be shared.%0A * %0A * @author JunHo Yoon%0A * @since 3.1%0A */%0Apublic class RegionInfo implements Serializable %7B%0A%09/**%0A%09 * UUID%0A%09 */%0A%09private static final long serialVersionUID = 1L;%0A%09private String ip;%0A%09private boolean visible = true;%0A%09private Set%3CAgentIdentity%3E agentIdentities;%0A%0A%09/**%0A%09 * @param ip%0A%09 * @param agentIdentitySet%0A%09 */%0A%09public RegionInfo(String ip, Set%3CAgentIdentity%3E agentIdentities) %7B%0A%09%09this(ip, agentIdentities, true);%0A%09%7D%0A%0A%09/**%0A%09 * @param ip%0A%09 * @param agentIdentity%0A%09 * @param visible%0A%09 */%0A%09public RegionInfo(String ip, Set%3CAgentIdentity%3E agentIdentities, boolean visible) %7B%0A%09%09super();%0A%09%09this.ip = ip;%0A%09%09this.visible = visible;%0A%09%09this.agentIdentities = agentIdentities;%0A%09%7D%0A%0A%09public String getIp() %7B%0A%09%09return ip;%0A%09%7D%0A%0A%09public void setIp(String ip) %7B%0A%09%09this.ip = ip;%0A%09%7D%0A%0A%0A%0A%09public boolean isVisible() %7B%0A%09%09return visible;%0A%09%7D%0A%0A%09public void setVisible(boolean visible) %7B%0A%09%09this.visible = visible;%0A%09%7D%0A%0A%09public Set%3CAgentIdentity%3E getAgentIdentities() %7B%0A%09%09return agentIdentities;%0A%09%7D%0A%0A%09public void setAgentIdentities(Set%3CAgentIdentity%3E agentIdentities) %7B%0A%09%09this.agentIdentities = agentIdentities;%0A%09%7D%0A%0A%7D%0A

Add region info