Newer Version Available

This content describes an older version of this product. View Latest

Apex-Related Calls

The following table lists supported calls in the API in alphabetical order, and provides a brief description for each. Click a call name to see syntax, usage, and more information for that call.

For a list of core calls, see Core Calls, for a list of describe calls, see Describe Calls, and for a list of utility calls, see Utility Calls.

Note

Call Description
compileAndTest() Compile and test your Apex in a single call.
compileClasses() Compile your Apex in Developer Edition or sandbox organizations.
compileTriggers() Compile your Apex triggers in Developer Edition or sandbox organizations.
executeanonymous() Execute a block of Apex.
runTests() Run your Apex unit tests.