public class VariableTaskImpl extends SetupTaskImpl implements VariableTask
The following features are implemented:
SetupTaskImpl.RunnableWithContext, SetupTaskImpl.TypedStringTokenMinimalEObjectImpl.Container.DynamicMinimalEObjectImpl.ContainerBasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImplBasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterListInternalEObject.EStore| Modifier and Type | Field and Description |
|---|---|
protected EList<VariableChoice> |
choices
The cached value of the '
Choices' containment reference list. |
protected static String |
DEFAULT_VALUE_EDEFAULT
The default value of the '
Default Value' attribute. |
protected String |
defaultValue
The cached value of the '
Default Value' attribute. |
protected String |
label
The cached value of the '
Label' attribute. |
protected static String |
LABEL_EDEFAULT
The default value of the '
Label' attribute. |
protected String |
name
The cached value of the '
Name' attribute. |
protected static String |
NAME_EDEFAULT
The default value of the '
Name' attribute. |
protected static URI |
STORAGE_URI_EDEFAULT
The default value of the '
Storage URI' attribute. |
protected URI |
storageURI
The cached value of the '
Storage URI' attribute. |
protected static boolean |
STORE_PROMPTED_VALUE_EDEFAULT
The default value of the '
Store Prompted Value' attribute. |
protected VariableType |
type
The cached value of the '
Type' attribute. |
protected static VariableType |
TYPE_EDEFAULT
The default value of the '
Type' attribute. |
protected String |
value
The cached value of the '
Value' attribute. |
protected static String |
VALUE_EDEFAULT
The default value of the '
Value' attribute. |
description, DESCRIPTION_EDEFAULT, disabled, DISABLED_EDEFAULT, excludedTriggers, iD, ID_EDEFAULT, predecessors, restrictions, SCOPE_TYPE_EDEFAULT, successorsannotationseContainerEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETDEFAULT_STORAGE_URI, INSTALLATION_STORAGE_URI, WORKSPACE_STORAGE_URIPRIORITY_CONFIGURATION, PRIORITY_DEFAULT, PRIORITY_EARLY, PRIORITY_INSTALLATION, PRIORITY_LATE, PRIORITY_REDIRECTIONNILEOPPOSITE_FEATURE_BASE| Modifier | Constructor and Description |
|---|---|
protected |
VariableTaskImpl() |
| 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) |
protected void |
eMigrate() |
void |
eSet(int featureID,
Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
EList<VariableChoice> |
getChoices() |
String |
getDefaultValue() |
String |
getLabel() |
String |
getName() |
Object |
getOverrideToken()
Subclasses may override to indicate that this task overrides another task with the same token.
|
URI |
getStorageURI() |
VariableType |
getType() |
String |
getValue() |
boolean |
isNeeded(SetupTaskContext context) |
boolean |
isStorePromptedValue() |
void |
overrideFor(SetupTask overriddenSetupTask) |
void |
perform(SetupTaskContext context) |
void |
setDefaultValue(String newDefaultValue) |
void |
setLabel(String newLabel) |
void |
setName(String newName) |
void |
setStorageURI(URI newStorageURI) |
void |
setStorePromptedValue(boolean newStorePromptedValue) |
void |
setType(VariableType newType) |
void |
setValue(String newValue) |
String |
toString() |
createResolvedURI, createToken, dispose, getDescription, getExcludedTriggers, getID, getPredecessors, getPriority, getRestrictions, getScope, getScopeType, getSuccessors, getTriggers, getValidTriggers, isDisabled, performUI, requires, setDescription, setDisabled, setExcludedTriggers, setExcludedTriggersGen, setIDeInverseAdd, eInvoke, getAnnotation, getAnnotationseBasicSetContainer, eInternalContainerdynamicGet, 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, eSettingseAddVirtualValue, 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, eVirtualValueseNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdispose, getDescription, getExcludedTriggers, getID, getPredecessors, getPriority, getRestrictions, getScope, getScopeType, getSuccessors, getTriggers, getValidTriggers, isDisabled, requires, setDescription, setDisabled, setExcludedTriggers, setIDgetAnnotation, getAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivereNotificationRequiredprotected static final VariableType TYPE_EDEFAULT
Type' attribute.
getType()protected VariableType type
Type' attribute.
getType()protected static final String NAME_EDEFAULT
Name' attribute.
getName()protected String name
Name' attribute.
getName()protected static final String VALUE_EDEFAULT
Value' attribute.
getValue()protected String value
Value' attribute.
getValue()protected static final String DEFAULT_VALUE_EDEFAULT
Default Value' attribute.
getDefaultValue()protected String defaultValue
Default Value' attribute.
getDefaultValue()protected static final boolean STORE_PROMPTED_VALUE_EDEFAULT
Store Prompted Value' attribute.
isStorePromptedValue(),
Constant Field Valuesprotected static final URI STORAGE_URI_EDEFAULT
Storage URI' attribute.
getStorageURI()protected URI storageURI
Storage URI' attribute.
getStorageURI()protected static final String LABEL_EDEFAULT
Label' attribute.
getLabel()protected String label
Label' attribute.
getLabel()protected EList<VariableChoice> choices
Choices' containment reference list.
getChoices()protected EClass eStaticClass()
eStaticClass in class SetupTaskImplpublic VariableType getType()
getType in interface VariableTaskVariableType,
VariableTask.setType(VariableType),
SetupPackage.getVariableTask_Type()public void setType(VariableType newType)
setType in interface VariableTasknewType - the new value of the 'Type' attribute.VariableType,
VariableTask.getType()public String getName()
getName in interface VariableTaskVariableTask.setName(String),
SetupPackage.getVariableTask_Name()public void setName(String newName)
setName in interface VariableTasknewName - the new value of the 'Name' attribute.VariableTask.getName()public String getValue()
getValue in interface VariableTaskVariableTask.setValue(String),
SetupPackage.getVariableTask_Value()public void setValue(String newValue)
setValue in interface VariableTasknewValue - the new value of the 'Value' attribute.VariableTask.getValue()public String getDefaultValue()
getDefaultValue in interface VariableTaskVariableTask.setDefaultValue(String),
SetupPackage.getVariableTask_DefaultValue()public void setDefaultValue(String newDefaultValue)
setDefaultValue in interface VariableTasknewDefaultValue - the new value of the 'Default Value' attribute.VariableTask.getDefaultValue()public String getLabel()
getLabel in interface VariableTaskVariableTask.setLabel(String),
SetupPackage.getVariableTask_Label()public void setLabel(String newLabel)
setLabel in interface VariableTasknewLabel - the new value of the 'Label' attribute.VariableTask.getLabel()public EList<VariableChoice> getChoices()
getChoices in interface VariableTaskSetupPackage.getVariableTask_Choices()public boolean isStorePromptedValue()
public void setStorePromptedValue(boolean newStorePromptedValue)
public URI getStorageURI()
getStorageURI in interface VariableTaskVariableTask.setStorageURI(URI),
SetupPackage.getVariableTask_StorageURI()public void setStorageURI(URI newStorageURI)
setStorageURI in interface VariableTasknewStorageURI - the new value of the 'Storage URI' attribute.VariableTask.getStorageURI()public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove in class ModelElementImplpublic Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface InternalEObjecteGet in class SetupTaskImplpublic void eSet(int featureID,
Object newValue)
eSet in interface InternalEObjecteSet in class SetupTaskImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class SetupTaskImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class SetupTaskImplpublic String toString()
toString in class SetupTaskImplpublic Object getOverrideToken()
SetupTaskImplgetOverrideToken in interface SetupTaskgetOverrideToken in class SetupTaskImplSetupTaskImpl.createToken(String)public void overrideFor(SetupTask overriddenSetupTask)
overrideFor in interface SetupTaskoverrideFor in class SetupTaskImplpublic boolean isNeeded(SetupTaskContext context) throws Exception
public void consolidate()
consolidate in interface SetupTaskconsolidate in class SetupTaskImplpublic void perform(SetupTaskContext context) throws Exception
protected void eMigrate()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html