public interface P2Factory extends EFactory
P2Package
Modifier and Type | Field and Description |
---|---|
static P2Factory |
eINSTANCE
The singleton instance of the factory.
|
Modifier and Type | Method and Description |
---|---|
ProfileDefinition |
createProfileDefinition()
Returns a new object of class 'Profile Definition'.
|
Repository |
createRepository()
Returns a new object of class 'Repository'.
|
Repository |
createRepository(String url) |
RepositoryList |
createRepositoryList()
Returns a new object of class 'Repository List'.
|
Requirement |
createRequirement()
Returns a new object of class 'Requirement'.
|
Requirement |
createRequirement(String id) |
Requirement |
createRequirement(String id,
VersionRange versionRange) |
Requirement |
createRequirement(String id,
VersionRange versionRange,
boolean optional) |
VersionRange |
createVersionRange(Version version,
VersionSegment segment) |
P2Package |
getP2Package()
Returns the package supported by this factory.
|
convertToString, create, createFromString, getEPackage, setEPackage
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
static final P2Factory eINSTANCE
ProfileDefinition createProfileDefinition()
Requirement createRequirement()
Requirement createRequirement(String id)
Requirement createRequirement(String id, VersionRange versionRange)
Requirement createRequirement(String id, VersionRange versionRange, boolean optional)
RepositoryList createRepositoryList()
Repository createRepository()
Repository createRepository(String url)
VersionRange createVersionRange(Version version, VersionSegment segment)
P2Package getP2Package()
Copyright (c) 2014 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v20.html