Script Task | Execution object | What is it?

Hello, I’m starting with Flowable and doing some tests I used a script task to set instance variables with the execution.setVariable (x, y) method. My question is how can I know that other methods are in “execution” and what are their uses. I can not find this information in the documentation.
Example

execution.setVariable(“personInstanceVar”, person );

Thank you very much

Marcelo

The execution object is a java object that implements (amongst other, but most importantly) the following intefaces:

All methods in those interfaces are applicable to the execution object in a scrip.

Thanks Joram, that’s what i was looking for

Marcelo