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.EScannableAdapterList
Nested 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_FLAG
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
Fields inherited from interface org.enterprisedomain.classmaker.SCMOperator
MASTER_BRANCH
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
abstract void
abstract void
checkoutOrphan
(String branch, long timestamp) abstract String
abstract long
decodeTimestamp
(String commitMessage) abstract org.osgi.framework.Version
decodeVersion
(String commitMessage) abstract void
eGet
(int featureID, boolean resolve, boolean coreType) boolean
eIsSet
(int featureID) abstract String
encodeCommitMessage
(State state) void
void
eUnset
(int featureID) abstract T
void
setProjectName
(String newProjectName) void
setRegistry
(SCMRegistry<T> newRegistry) toString()
abstract void
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
Methods 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, eVirtualUnset
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getProjectName
- Specified by:
getProjectName
in interfaceSCMOperator<T>
- Returns:
- the value of the 'Project Name' attribute.
- See Also:
-
setProjectName
- Specified by:
setProjectName
in interfaceSCMOperator<T>
- Parameters:
newProjectName
- the new value of the 'Project Name' attribute.- See Also:
-
getRegistry
- Specified by:
getRegistry
in interfaceSCMOperator<T>
- Returns:
- the value of the 'Registry' reference.
- See Also:
-
basicGetRegistry
-
setRegistry
- Specified by:
setRegistry
in interfaceSCMOperator<T>
- Parameters:
newRegistry
- the new value of the 'Registry' reference.- See Also:
-
getRepositorySCM
- Specified by:
getRepositorySCM
in interfaceSCMOperator<T>
- Throws:
Exception
-
ungetRepositorySCM
- Specified by:
ungetRepositorySCM
in interfaceSCMOperator<T>
- Throws:
Exception
-
add
- Specified by:
add
in interfaceSCMOperator<T>
- Throws:
Exception
-
commit
- Specified by:
commit
in interfaceSCMOperator<T>
- Throws:
Exception
-
decodeTimestamp
- Specified by:
decodeTimestamp
in interfaceSCMOperator<T>
-
decodeVersion
- Specified by:
decodeVersion
in interfaceSCMOperator<T>
-
encodeCommitMessage
- Specified by:
encodeCommitMessage
in interfaceSCMOperator<T>
-
deleteProject
public abstract void deleteProject()- Specified by:
deleteProject
in interfaceSCMOperator<T>
-
checkout
public abstract void checkout(String branch, String commitId, boolean forced) throws Exception, IOException - Specified by:
checkout
in interfaceSCMOperator<T>
- Parameters:
branch
- the branch namecommitId
- the commit identifier- Throws:
Exception
IOException
-
checkoutOrphan
- Specified by:
checkoutOrphan
in interfaceSCMOperator<T>
- Parameters:
branch
- the branch namecommitId
- the commit identifier- Throws:
Exception
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-