- Home
- Technical Library
- Boards
- Cookbook
- Code Share
- Blogs
- Partners
-
More
-
Services
- Training & Certification
- Support
-
Galleries
- Force.com Sites Gallery
- Chatter Challenge Entries
-
Other Web Sites
- Salesforce.com
- Database.com
- AppExchange
- CRM Community
-
Back to Winter '12 Force.com Platform Release
Winter '12 Force.com Platform Release
New System Methods
The following methods have been added to the System class:
- isBatch: Determines if the currently executing code is invoked by a batch Apex job.
- isFuture: Determines if the currently executing code is invoked by code contained in a method annotated with @future.
- isScheduled: Determines if the currently executing code is invoked by a scheduled Apex job.
These methods can be used to determine the execution context for Apex code.
