Class ExportResource


  • @Path("/export")
    @Controller
    public class ExportResource
    extends java.lang.Object
    Provides release exports in various formats.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExportResource​(com.xebialabs.xlrelease.security.PermissionChecker permissions, ReleaseService releaseService, com.xebialabs.xlrelease.api.v1.ReleaseApi releaseApi)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response downloadAttachment​(java.lang.String attachmentId)  
      javax.ws.rs.core.Response exportReleaseToCalendar​(java.lang.String releaseId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExportResource

        @Autowired
        public ExportResource​(com.xebialabs.xlrelease.security.PermissionChecker permissions,
                              ReleaseService releaseService,
                              com.xebialabs.xlrelease.api.v1.ReleaseApi releaseApi)
    • Method Detail

      • downloadAttachment

        @GET
        @Path("attachments/{attachmentId}")
        @Produces("application/octet-stream")
        public javax.ws.rs.core.Response downloadAttachment​(@PathParam("attachmentId")
                                                            java.lang.String attachmentId)
      • exportReleaseToCalendar

        @GET
        @Path("calendar/{releaseId}")
        @Produces("application/octet-stream")
        public javax.ws.rs.core.Response exportReleaseToCalendar​(@PathParam("releaseId")
                                                                 java.lang.String releaseId)