Skip to content

Analyze script content to detect if abortable #263

@krystian-panek-vmltech

Description

@krystian-panek-vmltech

if script does not implement context.abort() or context.checkAborted() then it does not make sense to show 'Abort' button

3 ways to improve it:

a) use AST to check if that method is called
b) check script contents and find occurrence of these "strings"
c) use Groovy doc annotation ; like in #234
d) GUI notification - "code does not seem to be abortable" / tooltip

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementImprovement to existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions