Get Interface Class List from SOQL
ApexTypeImplementor Object: Get the list of all classes which implement a particular interface with the help of ApexTypeImplementor object.
List<ApexTypeImplementor> lstofbatchclass =[SELECT Id,ClassName FROM ApexTypeImplementor WHERE InterfaceName = 'Batchable'];
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_apextypeimplementor.htm
Comments
Post a Comment