Community
Participate
Working Groups
{
private String host;
private int port;
private boolean complete;
private String version;
private static Node node;
private static String version;
class JVMVersionProcessor implements DataProcessor
JVMVersionProcessor jvmProcessor = new JVMVersionProcessor();
host = CommonUITraceConstants.LOCAL_HOST.equals(host) ? InetAddress.getLocalHost().getHostName() : host;
Node node = PDCoreUtil.profileConnect(host, String.valueOf(port), false);
/* Return cached version, if one is available */
if (node != null && node.isConnected() &&
node.getConnection().getPort() == port && host.equals(node.getName()) &&
version != null)
return;
}
node = PDCoreUtil.profileConnect(host, String.valueOf(port), false);
if (node == null)
destinationTab.initializeFrom(conf);
this.launchConfiguration = conf;
checkBoxTreeViewer.setInput(new DataCollectorTreeInput(conf));
initialized = false;
if (!(checkBoxTreeViewer.getInput() instanceof DataCollectorTreeInput) ||
!((DataCollectorTreeInput)checkBoxTreeViewer.getInput()).getConfiguration().equals(conf))
this.configuration = configuration;
/**
* @see java.lang.Object#equals(java.lang.Object)
*/
public boolean equals(Object o)
if (!(o instanceof DataCollectorTreeInput))
return false;
if (configuration != null)
return configuration.equals(((DataCollectorTreeInput)o).configuration);
return this == o;