Interface LabelEndpoint
-
- All Known Implementing Classes:
LabelEndpointImpl
@Path("/labels") @Consumes("application/json") @Produces("application/json") public interface LabelEndpointProvides Metadata regarding theLabelProviders andLabels that are available within Windup.- Author:
- Carlos Feria
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteLabelProvider(Long labelsPathID)List<LabelProviderEntity>getAllProviders()Returns a list of data about all of the providers and labels that are registered within the system.List<LabelProviderEntity>getByLabelsPath(Long labelsPathID)BooleanisLabelsPathUsed(Long labelsPathID)LabelsPathuploadLabelProvider(org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput data)Uploads new LabelProviderLabelsPathuploadLabelProviderByProject(Long projectId, org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput data)Uploads new LabelProvider
-
-
-
Method Detail
-
getAllProviders
@GET @Path("/allProviders") List<LabelProviderEntity> getAllProviders()Returns a list of data about all of the providers and labels that are registered within the system.
-
getByLabelsPath
@GET @Path("/by-labels-path/{id}") List<LabelProviderEntity> getByLabelsPath(@PathParam("id") Long labelsPathID)
-
uploadLabelProvider
@POST @Path("upload") @Consumes("multipart/form-data") LabelsPath uploadLabelProvider(org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput data)Uploads new LabelProvider
-
uploadLabelProviderByProject
@POST @Path("upload/by-project/{projectId}") @Consumes("multipart/form-data") LabelsPath uploadLabelProviderByProject(@PathParam("projectId") Long projectId, org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput data)Uploads new LabelProvider
-
deleteLabelProvider
@DELETE @Path("/by-labels-path/{id}") void deleteLabelProvider(@PathParam("id") Long labelsPathID)
-
-