Source code:
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9') import org.openscience.cdk.interfaces.*; IReaction.Direction.each { println it }
Output:
FORWARD BACKWARD BIDIRECTIONAL NO_GO RETRO_SYNTHETIC RESONANCE