Class PhaseResource

java.lang.Object
com.xebialabs.xlrelease.api.internal.PhaseResource

@Path("/phases") @Consumes("application/json") @Produces("application/json") @Controller public class PhaseResource extends Object
A phase in a release.
  • Constructor Details

    • PhaseResource

      @Autowired public PhaseResource(com.xebialabs.xlrelease.actors.ReleaseActorService releaseActorService, TaskAccessService taskAccessService, com.xebialabs.xlrelease.security.PermissionChecker permissionChecker, PhaseViewConverter phaseViewConverter)
  • Method Details

    • update

      @PUT @Timed @Path("{phaseId:.*Phase[^/-]*}") public PhaseFullView update(@PathParam("phaseId") String phaseId, PhaseForm phaseForm)
      Updates a phase.
      Parameters:
      phaseId - the identifier of the phase
      phaseForm - the changes to apply
      Returns:
      the phase
    • deletePhase

      @DELETE @Timed @Path("{phaseId:.*Phase[^/-]*}") public void deletePhase(@PathParam("phaseId") String phaseId)
      Deletes a phase.
      Parameters:
      phaseId - the identifier of the phase