コード例 #1
0
 public String updateProperty(String managed_element_uuid, String name, String newValue)
     throws PropertyNotExistException {
   try {
     throw new Exception("RuntimeModelController.updateProperty not yet implemented!");
   } catch (Exception e) {
     e.printStackTrace();
   }
   return null; // To change body of implemented methods use File | Settings | File Templates.
 }
コード例 #2
0
 public boolean setAgentOfElement(String managed_element_uuid, String agentUri) {
   ManagedElement me1 = getLocalElement(managed_element_uuid);
   if (me1 != null) {
     ((AbstractManagedElement) me1).setCubeAgent(agentUri);
     return true;
   } else {
     try {
       throw new Exception(
           "RuntimeModelController.setAgentOfElement (for remote elements) is not yet implemented!");
     } catch (Exception e) {
       e.printStackTrace();
     }
   }
   return false;
 }