com.googlecode.android_scripting.facade
Class FacadeConfiguration

java.lang.Object
  extended by com.googlecode.android_scripting.facade.FacadeConfiguration

public class FacadeConfiguration
extends java.lang.Object

Encapsulates the list of supported facades and their construction.

Author:
Damon Kohler (damonkohler@gmail.com), Igor Karp (igor.v.karp@gmail.com)

Method Summary
static java.util.List<MethodDescriptor> collectMethodDescriptors()
          Returns a list of MethodDescriptor objects for all facades.
static java.util.Map<java.lang.String,MethodDescriptor> collectStartEventMethodDescriptors()
           
static java.util.Map<java.lang.String,MethodDescriptor> collectStopEventMethodDescriptors()
           
static java.util.List<MethodDescriptor> collectSupportedMethodDescriptors()
          Returns a list of not deprecated MethodDescriptor objects for facades supported by the current SDK version.
static java.util.Collection<java.lang.Class<? extends RpcReceiver>> getFacadeClasses()
           
static MethodDescriptor getMethodDescriptor(java.lang.String name)
          Returns a method by name.
static int getSdkLevel()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSdkLevel

public static int getSdkLevel()

collectMethodDescriptors

public static java.util.List<MethodDescriptor> collectMethodDescriptors()
Returns a list of MethodDescriptor objects for all facades.


collectSupportedMethodDescriptors

public static java.util.List<MethodDescriptor> collectSupportedMethodDescriptors()
Returns a list of not deprecated MethodDescriptor objects for facades supported by the current SDK version.


collectStartEventMethodDescriptors

public static java.util.Map<java.lang.String,MethodDescriptor> collectStartEventMethodDescriptors()

collectStopEventMethodDescriptors

public static java.util.Map<java.lang.String,MethodDescriptor> collectStopEventMethodDescriptors()

getMethodDescriptor

public static MethodDescriptor getMethodDescriptor(java.lang.String name)
Returns a method by name.


getFacadeClasses

public static java.util.Collection<java.lang.Class<? extends RpcReceiver>> getFacadeClasses()