test_class.declarator: properties
test_class.modifier: private
test_class.original_string: private Map<String, String> properties;
test_class.type: Map<String, String>
test_class.var_name: properties
test_class.file: component/core/src/test/java/fr/norad/visuwall/plugin/hudson/HudsonPluginTest.java
test_class.identifier: HudsonPluginTest
test_case.body: @Test(expected = NullPointerException.class)
      public void should_throw_exception_when_passing_null_to_hudson_instance() throws SoftwareNotFoundException {
          new HudsonPlugin().getSoftwareId(null, properties);
      }
test_case.class_method_signature: HudsonPluginTest.should_throw_exception_when_passing_null_to_hudson_instance()
test_case.full_signature: @Test(expected = NullPointerException.class) public void should_throw_exception_when_passing_null_to_hudson_instance()
test_case.identifier: should_throw_exception_when_passing_null_to_hudson_instance
test_case.invocations: getSoftwareId
test_case.modifiers: @Test(expected = NullPointerException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void should_throw_exception_when_passing_null_to_hudson_instance()
focal_class.file: component/core/src/main/java/fr/norad/visuwall/plugin/hudson/HudsonPlugin.java
focal_class.identifier: HudsonPlugin
focal_class.interfaces: implements VisuwallPlugin<HudsonConnection>
focal_class.class_method_signature: HudsonPlugin.getConnection(URL url, Map<String, String> properties)
focal_class.full_signature: @Override public HudsonConnection getConnection(URL url, Map<String, String> properties)
focal_class.identifier: getConnection
focal_class.modifiers: @Override public
focal_class.parameters: (URL url, Map<String, String> properties)
focal_class.return: HudsonConnection
focal_class.signature: HudsonConnection getConnection(URL url, Map<String, String> properties)
focal_class.class_method_signature: HudsonPlugin.getConnectionClass()
focal_class.full_signature: @Override public Class<HudsonConnection> getConnectionClass()
focal_class.identifier: getConnectionClass
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Class<HudsonConnection>
focal_class.signature: Class<HudsonConnection> getConnectionClass()
focal_class.class_method_signature: HudsonPlugin.getName()
focal_class.full_signature: @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: HudsonPlugin.getVersion()
focal_class.full_signature: @Override public float getVersion()
focal_class.identifier: getVersion
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float getVersion()
focal_class.class_method_signature: HudsonPlugin.getSoftwareId(URL url, Map<String, String> properties)
focal_class.full_signature: @Override public SoftwareId getSoftwareId(URL url, Map<String, String> properties)
focal_class.identifier: getSoftwareId
focal_class.modifiers: @Override public
focal_class.parameters: (URL url, Map<String, String> properties)
focal_class.return: SoftwareId
focal_class.signature: SoftwareId getSoftwareId(URL url, Map<String, String> properties)
focal_class.class_method_signature: HudsonPlugin.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: HudsonPlugin.createSoftwareId(String xml)
focal_class.full_signature: private SoftwareId createSoftwareId(String xml)
focal_class.identifier: createSoftwareId
focal_class.modifiers: private
focal_class.parameters: (String xml)
focal_class.return: SoftwareId
focal_class.signature: SoftwareId createSoftwareId(String xml)
focal_class.class_method_signature: HudsonPlugin.getVersion(String xml)
focal_class.full_signature: private String getVersion(String xml)
focal_class.identifier: getVersion
focal_class.modifiers: private
focal_class.parameters: (String xml)
focal_class.return: String
focal_class.signature: String getVersion(String xml)
focal_class.class_method_signature: HudsonPlugin.isManageable(String xml)
focal_class.full_signature: private boolean isManageable(String xml)
focal_class.identifier: isManageable
focal_class.modifiers: private
focal_class.parameters: (String xml)
focal_class.return: boolean
focal_class.signature: boolean isManageable(String xml)
focal_class.class_method_signature: HudsonPlugin.getContent(URL url)
focal_class.full_signature: private String getContent(URL url)
focal_class.identifier: getContent
focal_class.modifiers: private
focal_class.parameters: (URL url)
focal_class.return: String
focal_class.signature: String getContent(URL url)
focal_class.class_method_signature: HudsonPlugin.getPropertiesWithDefaultValue()
focal_class.full_signature: @Override public Map<String, String> getPropertiesWithDefaultValue()
focal_class.identifier: getPropertiesWithDefaultValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getPropertiesWithDefaultValue()
focal_method.body: @Override
      public SoftwareId getSoftwareId(URL url, Map<String, String> properties) throws SoftwareNotFoundException {
          Preconditions.checkNotNull(url, "url is mandatory");
          try {
              URL apiUrl = new URL(url.toString() + "/api/");
              String xml = getContent(apiUrl);
              if (isManageable(xml)) {
                  return createSoftwareId(xml);
              }
              throw new SoftwareNotFoundException("Url " + url + " is not compatible with Hudson, content: " + xml);
          } catch (MalformedURLException e) {
              throw new SoftwareNotFoundException("Url " + url + " is not compatible with Hudson", e);
          } catch (IOException e) {
              throw new SoftwareNotFoundException("Url " + url + " is not compatible with Hudson", e);
          }
      }
focal_method.class_method_signature: HudsonPlugin.getSoftwareId(URL url, Map<String, String> properties)
focal_method.full_signature: @Override public SoftwareId getSoftwareId(URL url, Map<String, String> properties)
focal_method.identifier: getSoftwareId
focal_method.invocations: checkNotNull toString getContent isManageable createSoftwareId
focal_method.modifiers: @Override public
focal_method.parameters: (URL url, Map<String, String> properties)
focal_method.return: SoftwareId
focal_method.signature: SoftwareId getSoftwareId(URL url, Map<String, String> properties)