test_class.declarator: hudson
test_class.modifier: @Mock
test_class.original_string: @Mock
      Hudson hudson;
test_class.type: Hudson
test_class.var_name: hudson
test_class.declarator: jenkinsConnection
test_class.original_string: JenkinsConnection jenkinsConnection;
test_class.type: JenkinsConnection
test_class.var_name: jenkinsConnection
test_class.file: component/core/src/test/java/fr/norad/visuwall/plugin/jenkins/JenkinsConnectionTest.java
test_class.identifier: JenkinsConnectionTest
test_case.body: @Test(expected = IllegalStateException.class)
      public void should_throw_exception_if_no_url() {
          new JenkinsConnection().connect("", "", "");
      }
test_case.class_method_signature: JenkinsConnectionTest.should_throw_exception_if_no_url()
test_case.full_signature: @Test(expected = IllegalStateException.class) public void should_throw_exception_if_no_url()
test_case.identifier: should_throw_exception_if_no_url
test_case.invocations: connect
test_case.modifiers: @Test(expected = IllegalStateException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void should_throw_exception_if_no_url()
focal_class.declarator: LOG = LoggerFactory.getLogger(JenkinsConnection.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(JenkinsConnection.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: hudson
focal_class.modifier: @VisibleForTesting
focal_class.original_string: @VisibleForTesting
      Hudson hudson;
focal_class.type: Hudson
focal_class.var_name: hudson
focal_class.declarator: connected
focal_class.modifier: private
focal_class.original_string: private boolean connected;
focal_class.type: boolean
focal_class.var_name: connected
focal_class.declarator: DEFAULT_VIEWS = Arrays.asList("Alle", "Todo", "Tous", "\u3059\u3079\u3066",
              "Tudo", "\u0412\u0441\u0435", "Hepsi", "All")
focal_class.modifier: private static final
focal_class.original_string: private static final Collection<String> DEFAULT_VIEWS = Arrays.asList("Alle", "Todo", "Tous", "\u3059\u3079\u3066",
              "Tudo", "\u0412\u0441\u0435", "Hepsi", "All");
focal_class.type: Collection<String>
focal_class.var_name: DEFAULT_VIEWS
focal_class.file: component/core/src/main/java/fr/norad/visuwall/plugin/jenkins/JenkinsConnection.java
focal_class.identifier: JenkinsConnection
focal_class.interfaces: implements BuildCapability, ViewCapability, TestCapability
focal_class.class_method_signature: JenkinsConnection.connect(String url, String login, String password)
focal_class.full_signature: @Override public void connect(String url, String login, String password)
focal_class.identifier: connect
focal_class.modifiers: @Override public
focal_class.parameters: (String url, String login, String password)
focal_class.return: void
focal_class.signature: void connect(String url, String login, String password)
focal_class.class_method_signature: JenkinsConnection.listSoftwareProjectIds()
focal_class.full_signature: @Override public Map<SoftwareProjectId, String> listSoftwareProjectIds()
focal_class.identifier: listSoftwareProjectIds
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<SoftwareProjectId, String>
focal_class.signature: Map<SoftwareProjectId, String> listSoftwareProjectIds()
focal_class.class_method_signature: JenkinsConnection.getEstimatedFinishTime(SoftwareProjectId projectId, String buildId)
focal_class.full_signature: @Override public Date getEstimatedFinishTime(SoftwareProjectId projectId, String buildId)
focal_class.identifier: getEstimatedFinishTime
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId projectId, String buildId)
focal_class.return: Date
focal_class.signature: Date getEstimatedFinishTime(SoftwareProjectId projectId, String buildId)
focal_class.class_method_signature: JenkinsConnection.isBuilding(SoftwareProjectId projectId, String buildId)
focal_class.full_signature: @Override public boolean isBuilding(SoftwareProjectId projectId, String buildId)
focal_class.identifier: isBuilding
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId projectId, String buildId)
focal_class.return: boolean
focal_class.signature: boolean isBuilding(SoftwareProjectId projectId, String buildId)
focal_class.class_method_signature: JenkinsConnection.getBuildState(SoftwareProjectId projectId, String buildId)
focal_class.full_signature: @Override public BuildState getBuildState(SoftwareProjectId projectId, String buildId)
focal_class.identifier: getBuildState
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId projectId, String buildId)
focal_class.return: BuildState
focal_class.signature: BuildState getBuildState(SoftwareProjectId projectId, String buildId)
focal_class.class_method_signature: JenkinsConnection.getLastBuildId(SoftwareProjectId projectId)
focal_class.full_signature: @Override public String getLastBuildId(SoftwareProjectId projectId)
focal_class.identifier: getLastBuildId
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId projectId)
focal_class.return: String
focal_class.signature: String getLastBuildId(SoftwareProjectId projectId)
focal_class.class_method_signature: JenkinsConnection.findViews()
focal_class.full_signature: @Override public List<String> findViews()
focal_class.identifier: findViews
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> findViews()
focal_class.class_method_signature: JenkinsConnection.findProjectNamesByView(String viewName)
focal_class.full_signature: @Override public List<String> findProjectNamesByView(String viewName)
focal_class.identifier: findProjectNamesByView
focal_class.modifiers: @Override public
focal_class.parameters: (String viewName)
focal_class.return: List<String>
focal_class.signature: List<String> findProjectNamesByView(String viewName)
focal_class.class_method_signature: JenkinsConnection.findSoftwareProjectIdsByViews(List<String> views)
focal_class.full_signature: @Override public List<SoftwareProjectId> findSoftwareProjectIdsByViews(List<String> views)
focal_class.identifier: findSoftwareProjectIdsByViews
focal_class.modifiers: @Override public
focal_class.parameters: (List<String> views)
focal_class.return: List<SoftwareProjectId>
focal_class.signature: List<SoftwareProjectId> findSoftwareProjectIdsByViews(List<String> views)
focal_class.class_method_signature: JenkinsConnection.findSoftwareProjectIdsByNames(List<String> names)
focal_class.full_signature: private List<SoftwareProjectId> findSoftwareProjectIdsByNames(List<String> names)
focal_class.identifier: findSoftwareProjectIdsByNames
focal_class.modifiers: private
focal_class.parameters: (List<String> names)
focal_class.return: List<SoftwareProjectId>
focal_class.signature: List<SoftwareProjectId> findSoftwareProjectIdsByNames(List<String> names)
focal_class.class_method_signature: JenkinsConnection.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: JenkinsConnection.getDescription(SoftwareProjectId projectId)
focal_class.full_signature: @Override public String getDescription(SoftwareProjectId projectId)
focal_class.identifier: getDescription
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId projectId)
focal_class.return: String
focal_class.signature: String getDescription(SoftwareProjectId projectId)
focal_class.class_method_signature: JenkinsConnection.identify(ProjectKey projectKey)
focal_class.full_signature: @Override public SoftwareProjectId identify(ProjectKey projectKey)
focal_class.identifier: identify
focal_class.modifiers: @Override public
focal_class.parameters: (ProjectKey projectKey)
focal_class.return: SoftwareProjectId
focal_class.signature: SoftwareProjectId identify(ProjectKey projectKey)
focal_class.class_method_signature: JenkinsConnection.getBuildIds(SoftwareProjectId softwareProjectId)
focal_class.full_signature: @Override public List<String> getBuildIds(SoftwareProjectId softwareProjectId)
focal_class.identifier: getBuildIds
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: List<String>
focal_class.signature: List<String> getBuildIds(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: JenkinsConnection.getMavenId(SoftwareProjectId softwareProjectId)
focal_class.full_signature: @Override public String getMavenId(SoftwareProjectId softwareProjectId)
focal_class.identifier: getMavenId
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: String
focal_class.signature: String getMavenId(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: JenkinsConnection.getName(SoftwareProjectId softwareProjectId)
focal_class.full_signature: @Override public String getName(SoftwareProjectId softwareProjectId)
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: String
focal_class.signature: String getName(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: JenkinsConnection.getBuildTime(SoftwareProjectId softwareProjectId, String buildId)
focal_class.full_signature: @Override public BuildTime getBuildTime(SoftwareProjectId softwareProjectId, String buildId)
focal_class.identifier: getBuildTime
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId, String buildId)
focal_class.return: BuildTime
focal_class.signature: BuildTime getBuildTime(SoftwareProjectId softwareProjectId, String buildId)
focal_class.class_method_signature: JenkinsConnection.isClosed()
focal_class.full_signature: @Override public boolean isClosed()
focal_class.identifier: isClosed
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isClosed()
focal_class.class_method_signature: JenkinsConnection.isProjectDisabled(SoftwareProjectId softwareProjectId)
focal_class.full_signature: @Override public boolean isProjectDisabled(SoftwareProjectId softwareProjectId)
focal_class.identifier: isProjectDisabled
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: boolean
focal_class.signature: boolean isProjectDisabled(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: JenkinsConnection.getBuildCommiters(SoftwareProjectId softwareProjectId, String buildId)
focal_class.full_signature: @Override public List<Commiter> getBuildCommiters(SoftwareProjectId softwareProjectId, String buildId)
focal_class.identifier: getBuildCommiters
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId, String buildId)
focal_class.return: List<Commiter>
focal_class.signature: List<Commiter> getBuildCommiters(SoftwareProjectId softwareProjectId, String buildId)
focal_class.class_method_signature: JenkinsConnection.analyzeUnitTests(SoftwareProjectId softwareProjectId)
focal_class.full_signature: @Override public TestResult analyzeUnitTests(SoftwareProjectId softwareProjectId)
focal_class.identifier: analyzeUnitTests
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: TestResult
focal_class.signature: TestResult analyzeUnitTests(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: JenkinsConnection.analyzeIntegrationTests(SoftwareProjectId softwareProjectId)
focal_class.full_signature: @Override public TestResult analyzeIntegrationTests(SoftwareProjectId softwareProjectId)
focal_class.identifier: analyzeIntegrationTests
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: TestResult
focal_class.signature: TestResult analyzeIntegrationTests(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: JenkinsConnection.jobName(SoftwareProjectId softwareProjectId)
focal_class.full_signature: private String jobName(SoftwareProjectId softwareProjectId)
focal_class.identifier: jobName
focal_class.modifiers: private
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: String
focal_class.signature: String jobName(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: JenkinsConnection.checkBuildId(String buildId)
focal_class.full_signature: private void checkBuildId(String buildId)
focal_class.identifier: checkBuildId
focal_class.modifiers: private
focal_class.parameters: (String buildId)
focal_class.return: void
focal_class.signature: void checkBuildId(String buildId)
focal_class.class_method_signature: JenkinsConnection.checkSoftwareProjectId(SoftwareProjectId softwareProjectId)
focal_class.full_signature: private void checkSoftwareProjectId(SoftwareProjectId softwareProjectId)
focal_class.identifier: checkSoftwareProjectId
focal_class.modifiers: private
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: void
focal_class.signature: void checkSoftwareProjectId(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: JenkinsConnection.checkConnected()
focal_class.full_signature: private void checkConnected()
focal_class.identifier: checkConnected
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkConnected()
focal_method.body: @Override
      public void connect(String url, String login, String password) {
          checkNotNull(url, "url is mandatory");
          if (isBlank(url)) {
              throw new IllegalStateException("url can't be null.");
          }
          if (StringUtils.isBlank(login)) {
              hudson = new Hudson(url);
          } else {
              hudson = new Hudson(url, login, password);
          }
          connected = true;
      }
focal_method.class_method_signature: JenkinsConnection.connect(String url, String login, String password)
focal_method.full_signature: @Override public void connect(String url, String login, String password)
focal_method.identifier: connect
focal_method.invocations: checkNotNull isBlank isBlank
focal_method.modifiers: @Override public
focal_method.parameters: (String url, String login, String password)
focal_method.return: void
focal_method.signature: void connect(String url, String login, String password)