public class

UpgradeEntityUtil

extends Object
java.lang.Object
   ↳ com.atlassian.jira.upgrade.util.UpgradeEntityUtil

Class Overview

Utility tool for deleting data in upgrade tasks. The main purpose of this tool is to log data that is being deleted in order to be able to perform revert in case of incidents

Summary

Public Constructors
UpgradeEntityUtil(String taskName, EntityEngine entityEngine)
Public Methods
void deleteEntityByCondition(String entityName, EntityCondition entityCondition)
void logEntity(String entityName, GenericValue element, String action)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public UpgradeEntityUtil (String taskName, EntityEngine entityEngine)

Public Methods

public void deleteEntityByCondition (String entityName, EntityCondition entityCondition)

public void logEntity (String entityName, GenericValue element, String action)