org.eclipse.mtj.core.sdk.device
Interface IDeviceClasspath
-
All Superinterfaces:
-
IPersistable
-
public interface IDeviceClasspath
- extends
IPersistable
This interface represents the classpath that is associated to one specific
device.
The classpath has a list of ILibrary and each ILibrary is associated to a set
of APIs. Based on that is is possible to identify all APIs thats are support
on each device.
Clients may create new IDeviceeClasspath instances through the
MTJCore.createNewDeviceClasspath()
method.
-
Since:
- 1.0
-
See Also:
-
ILibrary
,
IAPI
-
Restriction:
- This interface is not intended to be implemented by clients.
Method Summary
|
void
|
addEntry
(
ILibrary classpathEntry)
Add a new ILibrary to the device classpath. |
List<IClasspathEntry>
|
asClasspathEntries
()
Return the device classpath as a list of IClasspathEntry entries. |
boolean
|
equals
(
IDeviceClasspath deviceClasspath)
Test the equality of this class with another deviceClasspath. |
boolean
|
equals
(
Object obj)
|
List<
ILibrary>
|
getEntries
()
Return the list of ILibrary entries in the device classpath. |
int
|
hashCode
()
|
void
|
removeEntry
(
ILibrary library)
Removes a single instance of the specified ILibrary element from this
list, if it is present. |
String
|
toString
()
Converts the device classpath to a string with platform-dependent path
separator characters. |
addEntry
void addEntry(
ILibrary classpathEntry)
- Add a new ILibrary to the device classpath.
-
-
-
Parameters:
-
classpathEntry
- the ILibrary to be included in the classpath.
asClasspathEntries
List<IClasspathEntry> asClasspathEntries()
- Return the device classpath as a list of
IClasspathEntry
entries.
-
-
-
Returns:
- the device classpath as a list of
IClasspathEntry
entries.
equals
boolean equals(
IDeviceClasspath deviceClasspath)
- Test the equality of this class with another deviceClasspath.
-
-
-
Parameters:
-
deviceClasspath
- the reference IDeviceClasspath object with which
to compare.
-
Returns:
-
true
if this IDeviceClasspath object is the same as
the deviceClasspath argument; false
otherwise.
equals
boolean equals(
Object obj)
-
-
Overrides:
-
equals
in class
Object
-
getEntries
List<
ILibrary> getEntries()
- Return the list of ILibrary entries in the device classpath.
-
-
-
Returns:
- the list of ILibrary entries in the device classpath.
hashCode
int hashCode()
-
-
Overrides:
-
hashCode
in class
Object
-
removeEntry
void removeEntry(
ILibrary library)
- Removes a single instance of the specified ILibrary element from this
list, if it is present.
-
-
-
Parameters:
-
library
- ILibrary element to be removed from this list, if present.
toString
String toString()
- Converts the device classpath to a string with platform-dependent path
separator characters.
-
-
Overrides:
-
toString
in class
Object
-
-
See Also:
-
Object.toString()