Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following example shows how the  api.isSyntaxtCheckisInputGeneration() API call is used to determine which code does not need to be run in the parameter determination mode and should be called only in the real computation (like expensive DB calls).

Code Block
def inputVal = api.userEntry()

if (api.isSyntaxCheckisInputGeneration())
  return;

def costs = api.find("PX", equal("name", "costs"))

...