# Deprecated API

## Contents

- Terminally Deprecated
- Fields
- Methods
- Enum Constants

- Terminally Deprecated Elements
  Element
  Description
  com.xebialabs.xlrelease.domain.status.TaskStatus.ABORT_SCRIPT_QUEUED
  Used only in upgrader to deserialize release
  com.xebialabs.xlrelease.domain.status.TaskStatus.FAILURE_HANDLER_QUEUED
  Used only in upgrader to deserialize release
  com.xebialabs.xlrelease.domain.status.TaskStatus.QUEUED
  Used only in upgrader to deserialize release

- Deprecated Fields
  Field
  Description
  com.xebialabs.xlrelease.domain.Release.releaseTriggers
  com.xebialabs.xlrelease.security.XLReleasePermissions.EDIT_TEMPLATE_TRIGGERS
  Use trigger#edit_trigger instead.
  com.xebialabs.xlrelease.security.XLReleasePermissions.RUNNER_REGISTRATION
  Use runner#edit instead.

- Deprecated Methods
  Method
  Description
  com.xebialabs.xlrelease.api.v1.FolderApi.getTemplates(String, Long, Long, Integer)
  Since 24.1.0. Please use `FolderApi.getTemplates(String, String, List, Long, Long)`
  com.xebialabs.xlrelease.api.v1.FolderApi.getTemplates(String, String, Long, Long, Integer)
  Since 24.1.0. Please use `FolderApi.getTemplates(String, String, List, String, Long, Long)`
  com.xebialabs.xlrelease.api.v1.FolderApi.searchReleases(String, Long, Long, Integer, ReleasesFilters)
  Since 24.1.0. Please use `FolderApi.searchReleases(String, Long, Long, ReleasesFilters)`
  com.xebialabs.xlrelease.api.v1.forms.CreateRelease.getReleasePasswordVariables()
  Please use `CreateRelease.getVariables()`
  com.xebialabs.xlrelease.api.v1.forms.CreateRelease.getReleaseVariables()
  Please use `CreateRelease.getVariables()`
  com.xebialabs.xlrelease.api.v1.forms.CreateRelease.setReleasePasswordVariables(Map<String, String>)
  Please use `CreateRelease.setVariables(Map)`
  com.xebialabs.xlrelease.api.v1.forms.CreateRelease.setReleaseVariables(Map<String, String>)
  Please use `CreateRelease.setVariables(Map)`
  com.xebialabs.xlrelease.api.v1.ReleaseApi.getReleases()
  Since 24.1.0. Please use `ReleaseApi.getReleases(Long, Long)`
  com.xebialabs.xlrelease.api.v1.ReleaseApi.getReleases(Long, Long, Integer)
  Since 24.1.0. Please use `ReleaseApi.getReleases(Long, Long)`
  com.xebialabs.xlrelease.api.v1.TemplateApi.getTemplates(String)
  Since 24.1.0. Please use `TemplateApi.getTemplates(String, List, Long, Long)`
  com.xebialabs.xlrelease.api.v1.TemplateApi.getTemplates(String, List<String>, Long, Long, Integer)
  Since 24.1.0. Please use `TemplateApi.getTemplates(String, List, Long, Long)`
  com.xebialabs.xlrelease.api.v1.TemplateApi.getTemplates(String, List<String>, String, Long, Long, Integer)
  Since 24.1.0. Please use `TemplateApi.getTemplates(String, List, String, Long, Long)`
  com.xebialabs.xlrelease.domain.Release.deleteReleaseTriggerById(String)
  com.xebialabs.xlrelease.domain.Release.getReleaseTriggerById(String)
  com.xebialabs.xlrelease.domain.Release.getReleaseTriggers()
  com.xebialabs.xlrelease.domain.Release.replaceTrigger(ReleaseTrigger)
  com.xebialabs.xlrelease.domain.Release.setReleaseTriggers(List<ReleaseTrigger>)

- Deprecated Enum Constants
  Enum Constant
  Description
  com.xebialabs.xlrelease.domain.status.TaskStatus.ABORT_SCRIPT_QUEUED
  Used only in upgrader to deserialize release
  com.xebialabs.xlrelease.domain.status.TaskStatus.FAILURE_HANDLER_QUEUED
  Used only in upgrader to deserialize release
  com.xebialabs.xlrelease.domain.status.TaskStatus.QUEUED
  Used only in upgrader to deserialize release