Class PhaseResource
- java.lang.Object
-
- com.xebialabs.xlrelease.api.internal.PhaseResource
-
@Path("/phases") @Consumes("application/json") @Produces("application/json") @Controller public class PhaseResource extends java.lang.ObjectA phase in a release.
-
-
Constructor Summary
Constructors Constructor Description PhaseResource(com.xebialabs.xlrelease.actors.ReleaseActorService releaseActorService, TaskAccessService taskAccessService, com.xebialabs.xlrelease.security.PermissionChecker permissionChecker, PhaseViewConverter phaseViewConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeletePhase(java.lang.String phaseId)Deletes a phase.PhaseFullViewupdate(java.lang.String phaseId, PhaseForm phaseForm)Updates a phase.
-
-
-
Constructor Detail
-
PhaseResource
@Autowired public PhaseResource(com.xebialabs.xlrelease.actors.ReleaseActorService releaseActorService, TaskAccessService taskAccessService, com.xebialabs.xlrelease.security.PermissionChecker permissionChecker, PhaseViewConverter phaseViewConverter)
-
-
Method Detail
-
update
@PUT @Timed @Path("{phaseId:.*Phase[^/-]*}") public PhaseFullView update(@PathParam("phaseId") java.lang.String phaseId, PhaseForm phaseForm)Updates a phase.- Parameters:
phaseId- the identifier of the phasephaseForm- the changes to apply- Returns:
- the phase
-
deletePhase
@DELETE @Timed @Path("{phaseId:.*Phase[^/-]*}") public void deletePhase(@PathParam("phaseId") java.lang.String phaseId)Deletes a phase.- Parameters:
phaseId- the identifier of the phase
-
-