Class ScriptEditorServices

    • Constructor Detail

      • ScriptEditorServices

        public ScriptEditorServices()
    • Method Detail

      • getScript

        @GET
        @Produces("text/plain")
        @Path("/file/{filename}")
        public String getScript​(@PathParam("filename")
                                String filename)
                         throws IOException
        Throws:
        IOException
      • saveFunctionScript

        @POST
        @Path("/function/{functionid}/file")
        public void saveFunctionScript​(@PathParam("functionid")
                                       String functionid,
                                       String content)
                                throws IOException
        Throws:
        IOException
      • getFunctionScript

        @GET
        @Produces("text/plain")
        @Path("/function/{functionid}/file")
        public String getFunctionScript​(@PathParam("functionid")
                                        String functionid)
                                 throws IOException
        Throws:
        IOException