Package org.eclipse.equinox.p2.metadata
Interface ITouchpointType
-
public interface ITouchpointTypeIdentifies a particular touchpoint. A touchpoint is identified by an id and a version.- Since:
- 2.0
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
-
Field Summary
Fields Modifier and Type Field Description static ITouchpointTypeNONEA touchpoint type indicating an undefined touchpoint type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Returns whether this TouchpointInstruction is equal to the given object.java.lang.StringgetId()VersiongetVersion()
-
-
-
Field Detail
-
NONE
static final ITouchpointType NONE
A touchpoint type indicating an undefined touchpoint type. Identity (==) must be used to test for theNONEtype.
-
-
Method Detail
-
getId
java.lang.String getId()
-
getVersion
Version getVersion()
-
equals
boolean equals(java.lang.Object obj)
Returns whether this TouchpointInstruction is equal to the given object. This method returns true if:- Both this object and the given object are of type ITouchpointType
- The result of getId() on both objects are equal
- The result of getVersion() on both objects are equal
- Overrides:
equalsin classjava.lang.Object
-
-