Class DslApiImpl

java.lang.Object
com.xebialabs.xlrelease.api.v1.impl.DslApiImpl
All Implemented Interfaces:
com.xebialabs.xlrelease.api.ApiService, com.xebialabs.xlrelease.api.v1.DslApi

@Controller public class DslApiImpl extends Object implements com.xebialabs.xlrelease.api.v1.DslApi
  • Field Summary

    Fields inherited from interface com.xebialabs.xlrelease.api.ApiService

    DEFAULT_RESULTS_PER_PAGE, DEFAULT_RESULTS_PER_PAGE_STRING, DEPTH, ORDER_BY, PAGE, PAGE_IS_OFFSET, RESULTS_PER_PAGE, ROLE_IDS_DATA
  • Constructor Summary

    Constructors
    Constructor
    Description
    DslApiImpl(com.xebialabs.xlrelease.security.PermissionChecker permissions, com.xebialabs.xlrelease.service.ReleaseService releaseService, com.xebialabs.xlrelease.export.ReleasefileExporter releasefileExporter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    exportTemplate(com.xebialabs.xlrelease.domain.Release template)
     
    exportTemplate(com.xebialabs.xlrelease.domain.Release template, boolean asTemplate)
     
    jakarta.ws.rs.core.Response
    exportTemplateToXFile(String templateId, boolean asTemplate)
     
    jakarta.ws.rs.core.Response
    previewExportTemplateToXFile(String templateId, boolean asTemplate)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.xebialabs.xlrelease.api.v1.DslApi

    serviceName
  • Constructor Details

    • DslApiImpl

      @Autowired public DslApiImpl(com.xebialabs.xlrelease.security.PermissionChecker permissions, com.xebialabs.xlrelease.service.ReleaseService releaseService, com.xebialabs.xlrelease.export.ReleasefileExporter releasefileExporter)
  • Method Details

    • previewExportTemplateToXFile

      public jakarta.ws.rs.core.Response previewExportTemplateToXFile(String templateId, boolean asTemplate)
      Specified by:
      previewExportTemplateToXFile in interface com.xebialabs.xlrelease.api.v1.DslApi
    • exportTemplateToXFile

      public jakarta.ws.rs.core.Response exportTemplateToXFile(String templateId, boolean asTemplate)
      Specified by:
      exportTemplateToXFile in interface com.xebialabs.xlrelease.api.v1.DslApi
    • exportTemplate

      public String exportTemplate(com.xebialabs.xlrelease.domain.Release template)
      Specified by:
      exportTemplate in interface com.xebialabs.xlrelease.api.v1.DslApi
    • exportTemplate

      public String exportTemplate(com.xebialabs.xlrelease.domain.Release template, boolean asTemplate)
      Specified by:
      exportTemplate in interface com.xebialabs.xlrelease.api.v1.DslApi