public class P2TaskImpl extends SetupTaskImpl implements P2Task
The following features are implemented:
SetupTaskImpl.RunnableWithContext, SetupTaskImpl.TypedStringToken
MinimalEObjectImpl.Container.Dynamic
MinimalEObjectImpl.Container
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
protected String |
label
The cached value of the '
Label ' attribute. |
protected static String |
LABEL_EDEFAULT
The default value of the '
Label ' attribute. |
protected static boolean |
LICENSE_CONFIRMATION_DISABLED_EDEFAULT
The default value of the '
License Confirmation Disabled ' attribute. |
protected boolean |
licenseConfirmationDisabled
The cached value of the '
License Confirmation Disabled ' attribute. |
protected static boolean |
MERGE_DISABLED_EDEFAULT
The default value of the '
Merge Disabled ' attribute. |
protected boolean |
mergeDisabled
The cached value of the '
Merge Disabled ' attribute. |
protected EList<Repository> |
repositories
The cached value of the '
Repositories ' containment reference list. |
protected EList<Requirement> |
requirements
The cached value of the '
Requirements ' containment reference list. |
description, DESCRIPTION_EDEFAULT, disabled, DISABLED_EDEFAULT, excludedTriggers, iD, ID_EDEFAULT, predecessors, restrictions, SCOPE_TYPE_EDEFAULT, successors
annotations
eContainer
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
PRIORITY_CONFIGURATION, PRIORITY_DEFAULT, PRIORITY_EARLY, PRIORITY_INSTALLATION, PRIORITY_LATE, PRIORITY_REDIRECTION
NIL
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
P2TaskImpl() |
Modifier and Type | Method and Description |
---|---|
void |
consolidate() |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
String |
getLabel() |
Object |
getOverrideToken()
Subclasses may override to indicate that this task overrides another task with the same token.
|
int |
getPriority() |
EList<Repository> |
getRepositories() |
EList<Requirement> |
getRequirements() |
boolean |
isLicenseConfirmationDisabled() |
boolean |
isMergeDisabled() |
boolean |
isNeeded(SetupTaskContext context) |
void |
overrideFor(SetupTask overriddenSetupTask) |
void |
perform(SetupTaskContext context) |
static void |
processLicenses(IProvisioningPlan provisioningPlan,
Confirmer licenseConfirmer,
User user,
boolean saveChangedUser,
IProgressMonitor monitor) |
void |
setLabel(String newLabel) |
void |
setLicenseConfirmationDisabled(boolean newLicenseConfirmationDisabled) |
void |
setMergeDisabled(boolean newMergeDisabled) |
String |
toString() |
createResolvedURI, createToken, dispose, getDescription, getExcludedTriggers, getID, getPredecessors, getRestrictions, getScope, getScopeType, getSuccessors, getTriggers, getValidTriggers, isDisabled, performUI, requires, setDescription, setDisabled, setExcludedTriggers, setExcludedTriggersGen, setID
eInverseAdd, eInvoke, getAnnotation, getAnnotations
eBasicSetContainer, eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dispose, getDescription, getExcludedTriggers, getID, getPredecessors, getRestrictions, getScope, getScopeType, getSuccessors, getTriggers, getValidTriggers, isDisabled, requires, setDescription, setDisabled, setExcludedTriggers, setID
getAnnotation, getAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
eNotificationRequired
protected static final String LABEL_EDEFAULT
Label
' attribute.
getLabel()
protected String label
Label
' attribute.
getLabel()
protected EList<Requirement> requirements
Requirements
' containment reference list.
getRequirements()
protected EList<Repository> repositories
Repositories
' containment reference list.
getRepositories()
protected static final boolean LICENSE_CONFIRMATION_DISABLED_EDEFAULT
License Confirmation Disabled
' attribute.
isLicenseConfirmationDisabled()
,
Constant Field Valuesprotected boolean licenseConfirmationDisabled
License Confirmation Disabled
' attribute.
isLicenseConfirmationDisabled()
protected static final boolean MERGE_DISABLED_EDEFAULT
Merge Disabled
' attribute.
isMergeDisabled()
,
Constant Field Valuesprotected boolean mergeDisabled
Merge Disabled
' attribute.
isMergeDisabled()
protected EClass eStaticClass()
eStaticClass
in class SetupTaskImpl
public String getLabel()
getLabel
in interface P2Task
P2Task.setLabel(String)
,
SetupP2Package.getP2Task_Label()
public void setLabel(String newLabel)
setLabel
in interface P2Task
newLabel
- the new value of the 'Label' attribute.P2Task.getLabel()
public EList<Requirement> getRequirements()
getRequirements
in interface P2Task
SetupP2Package.getP2Task_Requirements()
public EList<Repository> getRepositories()
getRepositories
in interface P2Task
SetupP2Package.getP2Task_Repositories()
public boolean isLicenseConfirmationDisabled()
isLicenseConfirmationDisabled
in interface P2Task
P2Task.setLicenseConfirmationDisabled(boolean)
,
SetupP2Package.getP2Task_LicenseConfirmationDisabled()
public void setLicenseConfirmationDisabled(boolean newLicenseConfirmationDisabled)
setLicenseConfirmationDisabled
in interface P2Task
newLicenseConfirmationDisabled
- the new value of the 'License Confirmation Disabled' attribute.P2Task.isLicenseConfirmationDisabled()
public boolean isMergeDisabled()
isMergeDisabled
in interface P2Task
P2Task.setMergeDisabled(boolean)
,
SetupP2Package.getP2Task_MergeDisabled()
public void setMergeDisabled(boolean newMergeDisabled)
setMergeDisabled
in interface P2Task
newMergeDisabled
- the new value of the 'Merge Disabled' attribute.P2Task.isMergeDisabled()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ModelElementImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class SetupTaskImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class SetupTaskImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class SetupTaskImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class SetupTaskImpl
public String toString()
toString
in class SetupTaskImpl
public int getPriority()
getPriority
in interface SetupTask
getPriority
in class SetupTaskImpl
public Object getOverrideToken()
SetupTaskImpl
getOverrideToken
in interface SetupTask
getOverrideToken
in class SetupTaskImpl
SetupTaskImpl.createToken(String)
public void overrideFor(SetupTask overriddenSetupTask)
overrideFor
in interface SetupTask
overrideFor
in class SetupTaskImpl
public void consolidate()
consolidate
in interface SetupTask
consolidate
in class SetupTaskImpl
public boolean isNeeded(SetupTaskContext context) throws Exception
public void perform(SetupTaskContext context) throws Exception
public static void processLicenses(IProvisioningPlan provisioningPlan, Confirmer licenseConfirmer, User user, boolean saveChangedUser, IProgressMonitor monitor)
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