Class RuleLabelResource
java.lang.Object
com.codebarrel.jira.plugin.automation.rest.RuleLabelResource
@Path("rule-label")
@Consumes("application/json")
@Produces("application/json")
public class RuleLabelResource
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionRuleLabelResource(InjectorProvider injectorProvider, JiraAuthenticationContext authenticationContext, com.codebarrel.jira.plugin.automation.rest.CurrentUserPermissionHelper userPermissionHelper, AutomationPermissionService automationPermissionService) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsecreateLabel(String projectId, RuleLabelBean ruleLabelBean) jakarta.ws.rs.core.ResponsedeleteLabel(String projectId, Long id) jakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponsegetLabelUsage(Long id) jakarta.ws.rs.core.ResponseupdateLabel(String projectId, RuleLabelBean ruleLabelBean)
-
Constructor Details
-
RuleLabelResource
@Inject public RuleLabelResource(InjectorProvider injectorProvider, JiraAuthenticationContext authenticationContext, com.codebarrel.jira.plugin.automation.rest.CurrentUserPermissionHelper userPermissionHelper, AutomationPermissionService automationPermissionService)
-
-
Method Details
-
getLabels
@GET @Path("{projectId}") public jakarta.ws.rs.core.Response getLabels(@PathParam("projectId") String projectId) -
createLabel
@POST @Path("{projectId}") public jakarta.ws.rs.core.Response createLabel(@PathParam("projectId") String projectId, RuleLabelBean ruleLabelBean) -
updateLabel
@PUT @Path("{projectId}/{id}") public jakarta.ws.rs.core.Response updateLabel(@PathParam("projectId") String projectId, RuleLabelBean ruleLabelBean) -
deleteLabel
-
getLabelUsage
-