Uses of Class
com.cloudbees.groovy.cps.Outcome
Packages that use Outcome
-
Uses of Outcome in com.cloudbees.groovy.cps
Fields in com.cloudbees.groovy.cps declared as OutcomeModifier and TypeFieldDescriptionfinal OutcomeNext.yieldIf the program getting executed wants to yield a value and suspend its execution, this value is set to non-null.Methods in com.cloudbees.groovy.cps that return OutcomeModifier and TypeMethodDescriptionNext.run(int max) for testing onlyResumes this program by either returning the value fromContinuable.suspend(Object)or throwing an exceptionMethods in com.cloudbees.groovy.cps with parameters of type OutcomeModifier and TypeMethodDescriptionstatic NextNext.go0(Outcome v, Continuable c) Crestes aNextobject that causes the interpreter loop to keep evaluating the continuation represented byContinuableby passing the outcome (or throwing it).Resumes this program by either returning the value fromContinuable.suspend(Object)or throwing an exceptionstatic NextNext.terminate0(Outcome v) Creates aNextobject that terminates the computation and either returns a value or throw an exception.static NextNext.yield0(Outcome v, Continuable c) Creates aNextobject that causes the interpreter loop to exit with the specified value, then optionally allow the interpreter to resume to the continuation represented byContinuable.Constructors in com.cloudbees.groovy.cps with parameters of type Outcome