com.togethersoft.testing.shared
Interface IExtension


public interface IExtension

Represents an extension in testing framework. Exstensions are contained in testing framework plugins.


Method Summary
 StringgetDescription()
          returns description of extension
 StringgetName()
          returns name of extension
 IPlugingetPlugin()
          returns plugin where extension was declared
 ObjectgetService(Class asClass)
          attempts to cast extension's runclass to class asClass and return it.

Method Detail

getDescription

public String getDescription()
returns description of extension

getName

public String getName()
returns name of extension

getPlugin

public IPlugin getPlugin()
returns plugin where extension was declared

getService

public Object getService(Class asClass)
attempts to cast extension's runclass to class asClass and return it.
if it cannot cast runclass to asClass, null is returned.