Interface ScriptExecutor
public interface ScriptExecutor
Script executor
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Execute all script fields in the layout associated for all projects and save the result in the databasevoid
execute
(int parallelExecutions, long scriptsTimeoutInSeconds) Execute all script fields in the layout associated for all projects and save the result in the databasevoid
execute
(List<com.atlassian.jira.project.Project> projects, List<ScriptField> fields) Execute a list of script fields for a project list and save the result in the database, as long as it is in the layout associated with each projectvoid
execute
(List<com.atlassian.jira.project.Project> projects, List<ScriptField> fields, int parallelExecutions, long scriptsTimeoutInSeconds) Execute a list of script fields for all projects and save the result in the database, as long as it is in the layout associated with each projectvoid
executeByFields
(List<ScriptField> fields) Execute a list of script fields for all projects and save the result in the databasevoid
executeByProjects
(List<com.atlassian.jira.project.Project> projects) Execute all script fields for a list of Projects where the field is in the layout associated in each project
-
Method Details
-
execute
void execute()Execute all script fields in the layout associated for all projects and save the result in the database -
execute
void execute(int parallelExecutions, long scriptsTimeoutInSeconds) Execute all script fields in the layout associated for all projects and save the result in the database- Parameters:
parallelExecutions
- number of project script execution in parallelscriptsTimeoutInSeconds
- timeout in the script execution (seconds)
-
execute
Execute a list of script fields for a project list 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 executedfields
- the script fields to be executed
-
executeByFields
Execute a list of script fields for all projects and save the result in the database- Parameters:
fields
- the script fields to be executed
-
executeByProjects
Execute all script fields for a list of Projects where the field is in the layout associated in each project- Parameters:
projects
- list of projects
-
execute
void execute(List<com.atlassian.jira.project.Project> projects, List<ScriptField> fields, int parallelExecutions, long scriptsTimeoutInSeconds) Execute a list of script 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 script fields to be executedparallelExecutions
- number of project script execution in parallelscriptsTimeoutInSeconds
- timeout in the script execution (seconds)
-