# 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.

- Deprecated Methods
  Method
  Description
  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()
  Please use `ReleaseApi.getReleases(Long, Long, Integer)`
  com.xebialabs.xlrelease.api.v1.TemplateApi.getTemplates(String)
  Please use `TemplateApi.getTemplates(String, List, Long, Long, Integer)`
  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