Class SCMOperatorImpl<T>
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.enterprisedomain.classmaker.impl.SCMOperatorImpl<T>
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject,SCMOperator<T>
- Direct Known Subclasses:
GitSCMOperator
public abstract class SCMOperatorImpl<T>
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements SCMOperator<T>
An implementation of the model object 'SCM
Operator'. An API gateway.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAGFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASEFields inherited from interface org.enterprisedomain.classmaker.SCMOperator
MASTER_BRANCH -
Method Summary
Modifier and TypeMethodDescriptionabstract voidabstract voidabstract voidcheckoutOrphan(String branch, long timestamp) abstract Stringabstract longdecodeTimestamp(String commitMessage) abstract org.osgi.framework.VersiondecodeVersion(String commitMessage) abstract voideGet(int featureID, boolean resolve, boolean coreType) booleaneIsSet(int featureID) abstract StringencodeCommitMessage(State state) voidvoideUnset(int featureID) abstract TvoidsetProjectName(String newProjectName) voidsetRegistry(SCMRegistry<T> newRegistry) toString()abstract voidMethods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnsetMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getProjectName
- Specified by:
getProjectNamein interfaceSCMOperator<T>- Returns:
- the value of the 'Project Name' attribute.
- See Also:
-
setProjectName
- Specified by:
setProjectNamein interfaceSCMOperator<T>- Parameters:
newProjectName- the new value of the 'Project Name' attribute.- See Also:
-
getRegistry
- Specified by:
getRegistryin interfaceSCMOperator<T>- Returns:
- the value of the 'Registry' reference.
- See Also:
-
basicGetRegistry
-
setRegistry
- Specified by:
setRegistryin interfaceSCMOperator<T>- Parameters:
newRegistry- the new value of the 'Registry' reference.- See Also:
-
getRepositorySCM
- Specified by:
getRepositorySCMin interfaceSCMOperator<T>- Throws:
Exception
-
ungetRepositorySCM
- Specified by:
ungetRepositorySCMin interfaceSCMOperator<T>- Throws:
Exception
-
add
- Specified by:
addin interfaceSCMOperator<T>- Throws:
Exception
-
commit
- Specified by:
commitin interfaceSCMOperator<T>- Throws:
Exception
-
decodeTimestamp
- Specified by:
decodeTimestampin interfaceSCMOperator<T>
-
decodeVersion
- Specified by:
decodeVersionin interfaceSCMOperator<T>
-
encodeCommitMessage
- Specified by:
encodeCommitMessagein interfaceSCMOperator<T>
-
deleteProject
public abstract void deleteProject()- Specified by:
deleteProjectin interfaceSCMOperator<T>
-
checkout
public abstract void checkout(String branch, String commitId, boolean forced) throws Exception, IOException - Specified by:
checkoutin interfaceSCMOperator<T>- Parameters:
branch- the branch namecommitId- the commit identifier- Throws:
ExceptionIOException
-
checkoutOrphan
- Specified by:
checkoutOrphanin interfaceSCMOperator<T>- Parameters:
branch- the branch namecommitId- the commit identifier- Throws:
Exception
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-