@Test(expected = BuildNotFoundException.class) public void getBuildByProjectBuildNotFoundException() throws IOException { getInst().getBuild(project, 1); }
public AbstractBuild<?, ?> getBuild(final String projectName, final int buildNumber) { checkProjectName(projectName); checkBuildNumber(buildNumber); AbstractProject<?, ?> project = projects.getProject(projectName); return getBuild(project, buildNumber); }
BuildServiceImpl extends ServiceSupport implements BuildService { public AbstractBuild<?, ?> getBuild(final String projectName, final int buildNumber) { checkProjectName(projectName); checkBuildNumber(buildNumber); AbstractProject<?, ?> project = projects.getProject(projectName); return getBuild(project, buildNumber); } }
BuildServiceImpl extends ServiceSupport implements BuildService { public AbstractBuild<?, ?> getBuild(final String projectName, final int buildNumber) { checkProjectName(projectName); checkBuildNumber(buildNumber); AbstractProject<?, ?> project = projects.getProject(projectName); return getBuild(project, buildNumber); } @Inject  BuildServiceImpl(final ProjectService projects, SecurityService security); }
BuildServiceImpl extends ServiceSupport implements BuildService { public AbstractBuild<?, ?> getBuild(final String projectName, final int buildNumber) { checkProjectName(projectName); checkBuildNumber(buildNumber); AbstractProject<?, ?> project = projects.getProject(projectName); return getBuild(project, buildNumber); } @Inject  BuildServiceImpl(final ProjectService projects, SecurityService security); void deleteBuild(final AbstractProject<?, ?> project, final int buildNumber); void keepBuild(final AbstractProject<?, ?> project, final int buildNumber, final boolean release); AbstractBuild<?, ?> getBuild(final String projectName, final int buildNumber); AbstractBuild<?, ?> getBuild(final AbstractProject<?,?> project, final int buildNumber); AbstractBuild<?, ?> findBuild(final String projectName, final int buildNumber); AbstractBuild<?,?> findBuild(final AbstractProject<?, ?> project, final int buildNumber); void stopBuild(final AbstractProject<?, ?> project, final int buildNumber); }
BuildServiceImpl extends ServiceSupport implements BuildService { public AbstractBuild<?, ?> getBuild(final String projectName, final int buildNumber) { checkProjectName(projectName); checkBuildNumber(buildNumber); AbstractProject<?, ?> project = projects.getProject(projectName); return getBuild(project, buildNumber); } @Inject  BuildServiceImpl(final ProjectService projects, SecurityService security); void deleteBuild(final AbstractProject<?, ?> project, final int buildNumber); void keepBuild(final AbstractProject<?, ?> project, final int buildNumber, final boolean release); AbstractBuild<?, ?> getBuild(final String projectName, final int buildNumber); AbstractBuild<?, ?> getBuild(final AbstractProject<?,?> project, final int buildNumber); AbstractBuild<?, ?> findBuild(final String projectName, final int buildNumber); AbstractBuild<?,?> findBuild(final AbstractProject<?, ?> project, final int buildNumber); void stopBuild(final AbstractProject<?, ?> project, final int buildNumber);  }