Interface FormulaCalculator
public interface FormulaCalculator
Formula calculator
- 
Method SummaryModifier 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- 
calculatevoid 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.
- 
calculateByFieldsCalculate 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
 
- 
calculateByProjectsCalculate 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
 
- 
calculateCalculate 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 calculated
- fields- the formula fields to be calculated
 
 
-