Package org.eclipse.tycho.model
Class IU
java.lang.Object
org.eclipse.tycho.model.IU
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIU(de.pdark.decentxml.Document document, de.pdark.decentxml.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArtifact(String classifier, String id, String version) voidaddProperty(String name, String value) voidList<de.pdark.decentxml.Element> getId()List<de.pdark.decentxml.Element> List<de.pdark.decentxml.Element> List<de.pdark.decentxml.Element> de.pdark.decentxml.ElementList<de.pdark.decentxml.Element> static IUConvenience method to load p2iu.xml filestatic IUvoidsetVersion(String version) static voidstatic void
-
Field Details
-
SOURCE_FILE_NAME
- See Also:
-
ID
- See Also:
-
VERSION
- See Also:
-
NAMESPACE
- See Also:
-
NAME
- See Also:
-
RANGE
- See Also:
-
P2_IU_NAMESPACE
- See Also:
-
-
Constructor Details
-
IU
public IU(de.pdark.decentxml.Document document, de.pdark.decentxml.Element element)
-
-
Method Details
-
getId
-
getVersion
-
setVersion
-
getProvidedCapabilites
-
getSelfCapabilities
-
addSelfCapability
public void addSelfCapability() -
getRequiredCapabilites
-
getProperties
-
addProperty
-
getArtifacts
-
addArtifact
-
getSelfArtifact
public de.pdark.decentxml.Element getSelfArtifact() -
read
- Throws:
IOException
-
loadIU
Convenience method to load p2iu.xml file- Throws:
RuntimeException- if iu descriptor can not be read or parsed.
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-