Interface ScriptExecutor


public interface ScriptExecutor
Script executor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Execute all script fields in the layout associated for all projects and save the result in the database
    void
    execute(int parallelExecutions, long scriptsTimeoutInSeconds)
    Execute all script fields in the layout associated for all projects and save the result in the database
    void
    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 project
    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
    void
    Execute a list of script fields for all projects and save the result in the database
    void
    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 parallel
      scriptsTimeoutInSeconds - timeout in the script execution (seconds)
    • execute

      void 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 project
      Parameters:
      projects - the projects to be executed
      fields - the script fields to be executed
    • executeByFields

      void executeByFields(List<ScriptField> fields)
      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

      void 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
      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 executed
      parallelExecutions - number of project script execution in parallel
      scriptsTimeoutInSeconds - timeout in the script execution (seconds)