Package org.eclipse.emf.cdo.lm.server
Klasse AbstractLifecycleManager
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.emf.cdo.lm.server.AbstractLifecycleManager
- Alle implementierten Schnittstellen:
LMPackage.Literals,org.eclipse.net4j.util.event.INotifier,org.eclipse.net4j.util.event.INotifier.INotifier2,org.eclipse.net4j.util.lifecycle.IDeactivateable,org.eclipse.net4j.util.lifecycle.ILifecycle,org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
- Bekannte direkte Unterklassen:
XMLLifecycleManager
public abstract class AbstractLifecycleManager
extends org.eclipse.net4j.util.lifecycle.Lifecycle
implements LMPackage.Literals
- Autor:
- Eike Stepper
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interfacestatic classfinal classstatic final classfinal classfinal classstatic interfaceVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivationVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2 -
Feldübersicht
Von Klasse geerbte Felder org.eclipse.net4j.util.lifecycle.Lifecycle
USE_LABELVon Schnittstelle geerbte Felder org.eclipse.emf.cdo.lm.LMPackage.Literals
BASE_POINT, BASELINE, BASELINE___GET_BASE_TIME_STAMP, BASELINE___GET_BRANCH_POINT, BASELINE___GET_NAME, BASELINE__FLOATING, BASELINE__STREAM, CHANGE, CHANGE__BASE, CHANGE__BRANCH, CHANGE__DELIVERIES, CHANGE__IMPACT, CHANGE__LABEL, DELIVERY, DELIVERY__CHANGE, DELIVERY__MERGE_SOURCE, DELIVERY__MERGE_TARGET, DEPENDENCY, DEPENDENCY__TARGET, DEPENDENCY__VERSION_RANGE, DROP, DROP___GET_BASED_STREAMS, DROP___IS_RELEASE, DROP__BRANCH_POINT, DROP__LABEL, DROP__TYPE, DROP_TYPE, DROP_TYPE__NAME, DROP_TYPE__PROCESS, DROP_TYPE__RELEASE, FIXED_BASELINE, FIXED_BASELINE___GET_BASED_CHANGES, FIXED_BASELINE__DEPENDENCIES, FIXED_BASELINE__VERSION, FLOATING_BASELINE, FLOATING_BASELINE___GET_BASE, FLOATING_BASELINE___GET_BRANCH, FLOATING_BASELINE___GET_DELIVERIES, FLOATING_BASELINE__CLOSED, IMPACT, MODULE, MODULE__NAME, MODULE__STREAMS, MODULE__SYSTEM, MODULE__TYPE, MODULE_ELEMENT, MODULE_ELEMENT___GET_MODULE, MODULE_TYPE, MODULE_TYPE__NAME, MODULE_TYPE__PROCESS, PROCESS, PROCESS__DROP_TYPES, PROCESS__INITIAL_MODULE_VERSION, PROCESS__MODULE_DEFINITION_PATH, PROCESS__MODULE_TYPES, PROCESS__SYSTEM, PROCESS_ELEMENT, PROCESS_ELEMENT___GET_PROCESS, STREAM, STREAM___GET_BASED_CHANGES, STREAM___GET_BRANCH_POINT__LONG, STREAM___GET_FIRST_RELEASE, STREAM___GET_LAST_RELEASE, STREAM___GET_RELEASES, STREAM___INSERT_CONTENT__BASELINE, STREAM__ALLOWED_CHANGES, STREAM__BASE, STREAM__CODE_NAME, STREAM__CONTENTS, STREAM__DEVELOPMENT_BRANCH, STREAM__MAINTENANCE_BRANCH, STREAM__MAINTENANCE_TIME_STAMP, STREAM__MAJOR_VERSION, STREAM__MINOR_VERSION, STREAM__MODE, STREAM__MODULE, STREAM__START_TIME_STAMP, STREAM_ELEMENT, STREAM_ELEMENT___GET_STREAM, STREAM_MODE, SYSTEM, SYSTEM___GET_MODULE__STRING, SYSTEM__MODULES, SYSTEM__NAME, SYSTEM__PROCESS, SYSTEM_ELEMENT, SYSTEM_ELEMENT___GET_SYSTEM -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidaddFingerPrint(IStoreAccessor.CommitContext commitContext, InternalCDORevision fixedBaseline) protected voidVeraltet.protected voidvoidprotected abstract InternalRepositorycreateModuleRepository(String moduleName) protected voidcreateNewModule(String moduleName) Veraltet.As of 1.2 usecreateNewModule(String, String).protected voidcreateNewModule(String moduleName, String moduleTypeName) protected voidcreateNewModuleInfos(IStoreAccessor.CommitContext commitContext, List<AbstractLifecycleManager.ModuleInfo> newModules) protected voidcreateNewModules(IStoreAccessor.CommitContext commitContext, List<org.eclipse.net4j.util.collection.Pair<String, CDOID>> newModules) Veraltet.As of 1.2 usecreateNewModuleInfos(CommitContext, List).protected CDONet4jSessionConfigurationcreateSessionConfiguration(String repositoryName) protected voidprotected voidprotected voidstatic CDOBranchRefgetBranch(CDORevision floatingBaseline) Veraltet.As of 1.4 not used anymore.final org.eclipse.net4j.jvm.IJVMConnectororg.eclipse.net4j.util.container.IManagedContainerorg.eclipse.net4j.util.security.IPasswordCredentialsfinal Map<String, InternalRepository> final CDOSessiongetModuleSession(String moduleName) final CDOSessiongetModuleSession(Module module) final Systemprotected voidhandleBaselineAddition(IStoreAccessor.CommitContext commitContext, InternalCDORevision addedContent) protected voidhandleBaselineDeletion(IStoreAccessor.CommitContext commitContext, CDORevisionDelta revisionDelta, CDORemoveFeatureDelta removeFeatureDelta) protected voidhandleCommit(IStoreAccessor.CommitContext commitContext) protected voidhandleModuleAddition(InternalCDORevision addedModule, Consumer<AbstractLifecycleManager.ModuleInfo> newModulesInfoConsumer) protected voidhandleModuleAddition(InternalCDORevision addedModule, List<org.eclipse.net4j.util.collection.Pair<String, CDOID>> newModules) Veraltet.As of 1.2 usehandleModuleAddition(InternalCDORevision, Consumer).protected voidhandleModuleDeletion(IStoreAccessor.CommitContext commitContext, InternalCDORevisionDelta systemRevisionDelta, CDORemoveFeatureDelta removeModuleDelta) protected voidinitProcess(Process process) initSystemRepository(CDOSession session) Veraltet.As of 1.2 useinitSystemRepository(CDOSession, BiConsumer).protected voidinitSystemRepository(CDOSession session, BiConsumer<String, String> moduleInfoComsumer) booleanbooleanprotected booleanisValidModuleName(String moduleName) static AbstractLifecycleManagerstatic AbstractLifecycleManagerof(org.eclipse.net4j.util.container.IManagedContainer container, IRepository repository) protected CDONet4jSessionopenModuleSession(InternalRepository moduleRepository) voidvoidsetAutoFingerPrinting(boolean autoFingerPrinting) voidsetCredentials(org.eclipse.net4j.util.security.IPasswordCredentials credentials) voidsetCredentialsBasedLogin(boolean credentialsBasedLogin) voidsetFingerPrinter(CDOFingerPrinter fingerPrinter) voidsetModuleDefinitionPath(String moduleDefinitionPath) voidsetProcessInitializer(Consumer<Process> processInitializer) voidsetSystemName(String systemName) voidsetSystemRepository(InternalRepository repository) toString()Von Klasse geerbte Methoden org.eclipse.net4j.util.lifecycle.Lifecycle
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeDeactivate, dump, getLifecycleState, isActive, isDeferredActivationVon Klasse geerbte Methoden org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListenerVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Konstruktordetails
-
AbstractLifecycleManager
public AbstractLifecycleManager()
-
-
Methodendetails
-
getContainer
public org.eclipse.net4j.util.container.IManagedContainer getContainer() -
getConnector
public final org.eclipse.net4j.jvm.IJVMConnector getConnector() -
getSystem
- Seit:
- 1.4
-
getSystemRepository
-
setSystemRepository
-
getSystemName
-
setSystemName
-
getProcessInitializer
-
setProcessInitializer
-
getFingerPrinter
- Seit:
- 1.7
-
setFingerPrinter
- Seit:
- 1.7
-
isAutoFingerPrinting
public boolean isAutoFingerPrinting()- Seit:
- 1.7
-
setAutoFingerPrinting
public void setAutoFingerPrinting(boolean autoFingerPrinting) - Seit:
- 1.7
-
isCredentialsBasedLogin
public boolean isCredentialsBasedLogin()- Seit:
- 1.6
-
setCredentialsBasedLogin
public void setCredentialsBasedLogin(boolean credentialsBasedLogin) - Seit:
- 1.6
-
getCredentials
public org.eclipse.net4j.util.security.IPasswordCredentials getCredentials()- Seit:
- 1.3
-
setCredentials
public void setCredentials(org.eclipse.net4j.util.security.IPasswordCredentials credentials) - Seit:
- 1.3
-
getModuleDefinitionPath
-
setModuleDefinitionPath
-
getModuleRepositories
-
getModuleSession
- Seit:
- 1.7
-
getModuleSession
-
addSystemCommitHandler
- Seit:
- 1.5
-
removeSystemCommitHandler
- Seit:
- 1.5
-
toString
- Setzt außer Kraft:
toStringin Klasseorg.eclipse.net4j.util.lifecycle.Lifecycle
-
doBeforeActivate
- Setzt außer Kraft:
doBeforeActivatein Klasseorg.eclipse.net4j.util.lifecycle.Lifecycle- Löst aus:
Exception
-
doActivate
- Setzt außer Kraft:
doActivatein Klasseorg.eclipse.net4j.util.lifecycle.Lifecycle- Löst aus:
Exception
-
doDeactivate
- Setzt außer Kraft:
doDeactivatein Klasseorg.eclipse.net4j.util.lifecycle.Lifecycle- Löst aus:
Exception
-
initSystemRepository
protected void initSystemRepository(CDOSession session, BiConsumer<String, String> moduleInfoComsumer) throws Exception- Löst aus:
Exception- Seit:
- 1.2
-
initProcess
-
getInitialModuleTypes
- Seit:
- 1.2
-
getInitialDropTypes
- Seit:
- 1.2
-
handleCommit
-
handleModuleAddition
protected void handleModuleAddition(InternalCDORevision addedModule, Consumer<AbstractLifecycleManager.ModuleInfo> newModulesInfoConsumer) - Seit:
- 1.2
-
handleModuleDeletion
protected void handleModuleDeletion(IStoreAccessor.CommitContext commitContext, InternalCDORevisionDelta systemRevisionDelta, CDORemoveFeatureDelta removeModuleDelta) -
handleBaselineAddition
protected void handleBaselineAddition(IStoreAccessor.CommitContext commitContext, InternalCDORevision addedContent) -
addFingerPrint
protected void addFingerPrint(IStoreAccessor.CommitContext commitContext, InternalCDORevision fixedBaseline) - Seit:
- 1.7
-
handleBaselineDeletion
protected void handleBaselineDeletion(IStoreAccessor.CommitContext commitContext, CDORevisionDelta revisionDelta, CDORemoveFeatureDelta removeFeatureDelta) - Seit:
- 1.1
-
createNewModuleInfos
protected void createNewModuleInfos(IStoreAccessor.CommitContext commitContext, List<AbstractLifecycleManager.ModuleInfo> newModules) - Seit:
- 1.2
-
createNewModule
- Löst aus:
Exception- Seit:
- 1.2
-
isValidModuleName
-
addModule
- Löst aus:
Exception- Seit:
- 1.2
-
createModuleRepository
protected abstract InternalRepository createModuleRepository(String moduleName) throws CoreException - Löst aus:
CoreException
-
openModuleSession
-
createSessionConfiguration
-
of
public static AbstractLifecycleManager of(org.eclipse.net4j.util.container.IManagedContainer container, String systemName) - Seit:
- 1.4
-
of
public static AbstractLifecycleManager of(org.eclipse.net4j.util.container.IManagedContainer container, IRepository repository) - Seit:
- 1.4
-
initSystemRepository
Veraltet.As of 1.2 useinitSystemRepository(CDOSession, BiConsumer).- Löst aus:
Exception
-
handleModuleAddition
@Deprecated protected void handleModuleAddition(InternalCDORevision addedModule, List<org.eclipse.net4j.util.collection.Pair<String, CDOID>> newModules) Veraltet.As of 1.2 usehandleModuleAddition(InternalCDORevision, Consumer). -
createNewModules
@Deprecated protected void createNewModules(IStoreAccessor.CommitContext commitContext, List<org.eclipse.net4j.util.collection.Pair<String, CDOID>> newModules) Veraltet.As of 1.2 usecreateNewModuleInfos(CommitContext, List). -
createNewModule
Veraltet.As of 1.2 usecreateNewModule(String, String).- Löst aus:
Exception
-
addModule
Veraltet.As of 1.2 useaddModule(String, String).- Löst aus:
Exception
-
getBranch
Veraltet.As of 1.4 not used anymore. Doesn't work with DeliveryReviews.
-
addModule(String, String).