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 interface
static class
final class
static final class
final class
final class
static interface
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
Von 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_LABEL
Von 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 void
addFingerPrint
(IStoreAccessor.CommitContext commitContext, InternalCDORevision fixedBaseline) protected void
Veraltet.protected void
void
protected abstract InternalRepository
createModuleRepository
(String moduleName) protected void
createNewModule
(String moduleName) Veraltet.As of 1.2 usecreateNewModule(String, String)
.protected void
createNewModule
(String moduleName, String moduleTypeName) protected void
createNewModuleInfos
(IStoreAccessor.CommitContext commitContext, List<AbstractLifecycleManager.ModuleInfo> newModules) protected void
createNewModules
(IStoreAccessor.CommitContext commitContext, List<org.eclipse.net4j.util.collection.Pair<String, CDOID>> newModules) Veraltet.As of 1.2 usecreateNewModuleInfos(CommitContext, List)
.protected CDONet4jSessionConfiguration
createSessionConfiguration
(String repositoryName) protected void
protected void
protected void
static CDOBranchRef
getBranch
(CDORevision floatingBaseline) Veraltet.As of 1.4 not used anymore.final org.eclipse.net4j.jvm.IJVMConnector
org.eclipse.net4j.util.container.IManagedContainer
org.eclipse.net4j.util.security.IPasswordCredentials
final Map
<String, InternalRepository> final CDOSession
getModuleSession
(String moduleName) final CDOSession
getModuleSession
(Module module) final System
protected void
handleBaselineAddition
(IStoreAccessor.CommitContext commitContext, InternalCDORevision addedContent) protected void
handleBaselineDeletion
(IStoreAccessor.CommitContext commitContext, CDORevisionDelta revisionDelta, CDORemoveFeatureDelta removeFeatureDelta) protected void
handleCommit
(IStoreAccessor.CommitContext commitContext) protected void
handleModuleAddition
(InternalCDORevision addedModule, Consumer<AbstractLifecycleManager.ModuleInfo> newModulesInfoConsumer) protected void
handleModuleAddition
(InternalCDORevision addedModule, List<org.eclipse.net4j.util.collection.Pair<String, CDOID>> newModules) Veraltet.As of 1.2 usehandleModuleAddition(InternalCDORevision, Consumer)
.protected void
handleModuleDeletion
(IStoreAccessor.CommitContext commitContext, InternalCDORevisionDelta systemRevisionDelta, CDORemoveFeatureDelta removeModuleDelta) protected void
initProcess
(Process process) initSystemRepository
(CDOSession session) Veraltet.As of 1.2 useinitSystemRepository(CDOSession, BiConsumer)
.protected void
initSystemRepository
(CDOSession session, BiConsumer<String, String> moduleInfoComsumer) boolean
boolean
protected boolean
isValidModuleName
(String moduleName) static AbstractLifecycleManager
static AbstractLifecycleManager
of
(org.eclipse.net4j.util.container.IManagedContainer container, IRepository repository) protected CDONet4jSession
openModuleSession
(InternalRepository moduleRepository) void
void
setAutoFingerPrinting
(boolean autoFingerPrinting) void
setCredentials
(org.eclipse.net4j.util.security.IPasswordCredentials credentials) void
setCredentialsBasedLogin
(boolean credentialsBasedLogin) void
setFingerPrinter
(CDOFingerPrinter fingerPrinter) void
setModuleDefinitionPath
(String moduleDefinitionPath) void
setProcessInitializer
(Consumer<Process> processInitializer) void
setSystemName
(String systemName) void
setSystemRepository
(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, isDeferredActivation
Von Klasse geerbte Methoden org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListener
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Von 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:
toString
in Klasseorg.eclipse.net4j.util.lifecycle.Lifecycle
-
doBeforeActivate
- Setzt außer Kraft:
doBeforeActivate
in Klasseorg.eclipse.net4j.util.lifecycle.Lifecycle
- Löst aus:
Exception
-
doActivate
- Setzt außer Kraft:
doActivate
in Klasseorg.eclipse.net4j.util.lifecycle.Lifecycle
- Löst aus:
Exception
-
doDeactivate
- Setzt außer Kraft:
doDeactivate
in 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)
.