Interface RuleEndpoint

  • All Known Implementing Classes:
    RuleEndpointImpl

    @Path("/rules")
    @Consumes("application/json")
    @Produces("application/json")
    public interface RuleEndpoint
    Provides Metadata regarding the RuleProviders and Rules that are available within Windup.
    Author:
    Jesse Sightler
    • Method Detail

      • getAllProviders

        @GET
        @Path("/allProviders")
        List<RuleProviderEntity> getAllProviders()
        Returns a list of data about all of the providers and rules that are registered within the system.
      • getByRulesPath

        @GET
        @Path("/by-rules-path/{id}")
        List<RuleProviderEntity> getByRulesPath​(@PathParam("id")
                                                Long rulesPathID)
      • uploadRuleProvider

        @POST
        @Path("upload")
        @Consumes("multipart/form-data")
        RulesPath uploadRuleProvider​(org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput data)
        Uploads new RuleProvider
      • uploadRuleProviderByProject

        @POST
        @Path("upload/by-project/{projectId}")
        @Consumes("multipart/form-data")
        RulesPath uploadRuleProviderByProject​(@PathParam("projectId")
                                              Long projectId,
                                              org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput data)
        Uploads new RuleProvider
      • deleteRuleProvider

        @DELETE
        @Path("/by-rules-path/{id}")
        void deleteRuleProvider​(@PathParam("id")
                                Long rulesPathID)
      • isRulesPathUsed

        @GET
        @Path("/is-used-rules-path/{id}")
        Boolean isRulesPathUsed​(@PathParam("id")
                                Long rulesPathID)