Interface LabelEndpoint

  • All Known Implementing Classes:
    LabelEndpointImpl

    @Path("/labels")
    @Consumes("application/json")
    @Produces("application/json")
    public interface LabelEndpoint
    Provides Metadata regarding the LabelProviders and Labels that are available within Windup.
    Author:
    Carlos Feria
    • 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)
      • isLabelsPathUsed

        @GET
        @Path("/is-used-labels-path/{id}")
        Boolean isLabelsPathUsed​(@PathParam("id")
                                 Long labelsPathID)