Package org.eclipse.tycho.test.util
Record Class P2RepositoryTool.IU
java.lang.Object
java.lang.Record
org.eclipse.tycho.test.util.P2RepositoryTool.IU
- Enclosing class:
- P2RepositoryTool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the IDs of IUs required with strict version range.Returns units required with strict version range.Returns the properties of the IU as "key=value" strings.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of theunitElementrecord component.
-
Constructor Details
-
IU
Creates an instance of aIUrecord class.- Parameters:
unitElement- the value for theunitElementrecord component
-
-
Method Details
-
getVersion
- Throws:
Exception
-
getProperties
Returns the properties of the IU as "key=value" strings.- Throws:
Exception
-
getRequiredIds
- Throws:
Exception
-
getInclusionIds
Returns the IDs of IUs required with strict version range.- Throws:
Exception
-
getInclusions
Returns units required with strict version range.- Throws:
Exception
-
getArtifacts
- Throws:
Exception
-
getProvidedCapabilities
- Throws:
Exception
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
unitElement
Returns the value of theunitElementrecord component.- Returns:
- the value of the
unitElementrecord component
-