Class GitSCMOperator
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<org.eclipse.jgit.api.Git>
org.enterprisedomain.classmaker.scm.GitSCMOperator
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject,SCMOperator<org.eclipse.jgit.api.Git>
-
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidcheckoutOrphan(String branch, long timestamp) longdecodeTimestamp(String commitMessage) org.osgi.framework.VersiondecodeVersion(String commitMessage) voidencodeCommitMessage(State state) org.eclipse.jgit.api.Gitstatic org.eclipse.jgit.api.GitgetRepositorySCM(File dir, SCMRegistry<org.eclipse.jgit.api.Git> scmRegistry) voidMethods inherited from class org.enterprisedomain.classmaker.impl.SCMOperatorImpl
basicGetRegistry, eGet, eIsSet, eSet, eUnset, getProjectName, getRegistry, setProjectName, setRegistry, toStringMethods 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
-
Constructor Details
-
GitSCMOperator
public GitSCMOperator()
-
-
Method Details
-
getRepositorySCM
Description copied from class:SCMOperatorImpl- Specified by:
getRepositorySCMin interfaceSCMOperator<org.eclipse.jgit.api.Git>- Specified by:
getRepositorySCMin classSCMOperatorImpl<org.eclipse.jgit.api.Git>- Throws:
Exception
-
getRepositorySCM
public static org.eclipse.jgit.api.Git getRepositorySCM(File dir, SCMRegistry<org.eclipse.jgit.api.Git> scmRegistry) throws Exception - Throws:
Exception
-
ungetRepositorySCM
Description copied from class:SCMOperatorImpl- Specified by:
ungetRepositorySCMin interfaceSCMOperator<org.eclipse.jgit.api.Git>- Specified by:
ungetRepositorySCMin classSCMOperatorImpl<org.eclipse.jgit.api.Git>- Throws:
Exception
-
add
Description copied from class:SCMOperatorImpl- Specified by:
addin interfaceSCMOperator<org.eclipse.jgit.api.Git>- Specified by:
addin classSCMOperatorImpl<org.eclipse.jgit.api.Git>- Throws:
Exception
-
commit
Description copied from class:SCMOperatorImpl- Specified by:
commitin interfaceSCMOperator<org.eclipse.jgit.api.Git>- Specified by:
commitin classSCMOperatorImpl<org.eclipse.jgit.api.Git>- Throws:
Exception
-
decodeTimestamp
Description copied from class:SCMOperatorImpl- Specified by:
decodeTimestampin interfaceSCMOperator<org.eclipse.jgit.api.Git>- Specified by:
decodeTimestampin classSCMOperatorImpl<org.eclipse.jgit.api.Git>
-
decodeVersion
Description copied from class:SCMOperatorImpl- Specified by:
decodeVersionin interfaceSCMOperator<org.eclipse.jgit.api.Git>- Specified by:
decodeVersionin classSCMOperatorImpl<org.eclipse.jgit.api.Git>
-
encodeCommitMessage
Description copied from class:SCMOperatorImpl- Specified by:
encodeCommitMessagein interfaceSCMOperator<org.eclipse.jgit.api.Git>- Specified by:
encodeCommitMessagein classSCMOperatorImpl<org.eclipse.jgit.api.Git>
-
deleteProject
public void deleteProject()Description copied from class:SCMOperatorImpl- Specified by:
deleteProjectin interfaceSCMOperator<org.eclipse.jgit.api.Git>- Specified by:
deleteProjectin classSCMOperatorImpl<org.eclipse.jgit.api.Git>
-
checkout
Description copied from class:SCMOperatorImpl- Specified by:
checkoutin interfaceSCMOperator<org.eclipse.jgit.api.Git>- Specified by:
checkoutin classSCMOperatorImpl<org.eclipse.jgit.api.Git>- Parameters:
branch- the branch namecommitId- the commit identifier- Throws:
Exception
-
checkoutOrphan
Description copied from class:SCMOperatorImpl- Specified by:
checkoutOrphanin interfaceSCMOperator<org.eclipse.jgit.api.Git>- Specified by:
checkoutOrphanin classSCMOperatorImpl<org.eclipse.jgit.api.Git>- Parameters:
branch- the branch name- Throws:
Exception
-