public IMonitorControl createMonitorControl( String remoteServicesId, String connectionName, String configName) { String monitorId = LaunchControllerManager.generateControlId(remoteServicesId, connectionName, configName); IMonitorControl monitor = new MonitorControl(monitorId); monitor.setRemoteServicesId(remoteServicesId); monitor.setConnectionName(connectionName); monitor.setConfigurationName(configName); monitor.save(); addMonitorControl(monitor); saveMonitors(); return monitor; }
public static String generateMonitorId( String remoteServicesId, String connectionName, String monitorType) { return LaunchControllerManager.generateControlId(remoteServicesId, connectionName, monitorType); }