Interface FormulaCalculator
public interface FormulaCalculator
Formula calculator
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.void
calculate
(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.void
calculateByFields
(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.void
calculateByProjects
(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
-