コード例 #1
0
 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;
 }
コード例 #2
0
 public static String generateMonitorId(
     String remoteServicesId, String connectionName, String monitorType) {
   return LaunchControllerManager.generateControlId(remoteServicesId, connectionName, monitorType);
 }