|
Mobile Tools for Java Release 1.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.mtj.core.sdk.ManagedSDK
public abstract class ManagedSDK
Abstract implementaion of an ISDK that provides a device list by routing the call to an SDK provided by an ISDKProvider. This implementation also requires that a ManagedSDK provide access to its ISDKProvider and allows for the duplication of a device and the deletion of a duplicated device.
| Constructor Summary | |
|---|---|
ManagedSDK()
|
|
| Method Summary | |
|---|---|
abstract void |
deleteDuplicateDevice(IManagedDevice device)
Delete a duplicated device. |
abstract IDevice |
duplicateDevice(IManagedDevice device,
String newName)
Cause a managed device to be duplicated. |
List<IDevice> |
getDeviceList()
This method supports the legacy getDeviceList() for imported SDKs by routing the call to getProvidedDeviceList(). |
protected abstract List<IManagedDevice> |
getProvidedDeviceList()
Return a list of devices provided by this SDK. |
abstract ISDKProvider |
getSDKProvider()
Obtain a reference to the SDK provider. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.mtj.core.sdk.ISDK |
|---|
getDescription, getIdentifier, getName, getVersion |
| Constructor Detail |
|---|
public ManagedSDK()
| Method Detail |
|---|
public List<IDevice> getDeviceList()
throws CoreException
getDeviceList in interface ISDKCoreException - thrown if an error occur while retrieving the
device list.
protected abstract List<IManagedDevice> getProvidedDeviceList()
throws CoreException
CoreExceptionpublic abstract ISDKProvider getSDKProvider()
public abstract void deleteDuplicateDevice(IManagedDevice device)
device - The IManagedDevice to be deleted.
public abstract IDevice duplicateDevice(IManagedDevice device,
String newName)
device - The IManagedDevice to be duplicated.newName - The new name for the duplicate. The name is generated by
MTJ and must be unique.
|
Mobile Tools for Java Release 1.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||