1 11 package org.eclipse.core.internal.net; 12 13 import org.eclipse.core.net.proxy.IProxyChangeEvent; 14 import org.eclipse.core.net.proxy.IProxyData; 15 16 public class ProxyChangeEvent implements IProxyChangeEvent { 17 18 private final int type; 19 private final String [] oldHosts; 20 private final String [] nonProxiedHosts; 21 private final IProxyData[] oldData; 22 private final IProxyData[] changeData; 23 24 public ProxyChangeEvent(int type, String [] oldHosts, 25 String [] nonProxiedHosts, IProxyData[] oldData, IProxyData[] changedData) { 26 this.type = type; 27 this.oldHosts = oldHosts; 28 this.nonProxiedHosts = nonProxiedHosts; 29 this.oldData = oldData; 30 this.changeData = changedData; 31 } 32 33 public int getChangeType() { 34 return type; 35 } 36 37 public IProxyData[] getChangedProxyData() { 38 return changeData; 39 } 40 41 public String [] getNonProxiedHosts() { 42 return nonProxiedHosts; 43 } 44 45 public String [] getOldNonProxiedHosts() { 46 return oldHosts; 47 } 48 49 public IProxyData[] getOldProxyData() { 50 return oldData; 51 } 52 53 } 54 | Popular Tags |