Interface FormulaCalculator
public interface FormulaCalculator
Formula calculator
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalculate all formula fields for all projects and save the result in the database, as long as it is in the layout associated with each project.voidcalculate(List<com.atlassian.jira.project.Project> projects, List<FormulaField> fields) Calculate a list of formula fields for a list of projects and save the result in the database, as long as it is in the layout associated with each project.voidcalculateByFields(List<FormulaField> fields) Calculate a list of formula fields for all projects and save the result in the database, as long as it is in the layout associated with each project.voidcalculateByProjects(List<com.atlassian.jira.project.Project> projects) Calculate all formula fields for a list of projects and save the result in the database, as long as it is in the layout associated with each project.
-
Method Details
-
calculate
void calculate()Calculate all formula fields for all projects and save the result in the database, as long as it is in the layout associated with each project. -
calculateByFields
Calculate a list of formula fields for all projects and save the result in the database, as long as it is in the layout associated with each project.- Parameters:
fields- the formula fields to be calculated
-
calculateByProjects
Calculate all formula fields for a list of projects and save the result in the database, as long as it is in the layout associated with each project.- Parameters:
projects- the projects to be calculated
-
calculate
Calculate a list of formula fields for a list of projects and save the result in the database, as long as it is in the layout associated with each project.- Parameters:
projects- the projects to be calculatedfields- the formula fields to be calculated
-