/* * Copyright (c) 2008-2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Eike Stepper - initial API and implementation */ package org.eclipse.emf.cdo.tests.config; import org.eclipse.emf.cdo.common.CDOCommonRepository.IDGenerationLocation; import org.eclipse.emf.cdo.tests.config.impl.ContainerConfig; import org.eclipse.emf.cdo.tests.config.impl.ModelConfig; import org.eclipse.emf.cdo.tests.config.impl.RepositoryConfig; import org.eclipse.emf.cdo.tests.config.impl.RepositoryConfig.MEMConfig; import org.eclipse.emf.cdo.tests.config.impl.RepositoryConfig.MEMOfflineConfig; import org.eclipse.emf.cdo.tests.config.impl.SessionConfig; import org.eclipse.emf.cdo.tests.config.impl.SessionConfig.Net4j; /** * @author Eike Stepper */ public interface IConstants { public static final ContainerConfig COMBINED = ContainerConfig.Combined.INSTANCE; public static final ContainerConfig SEPARATED = ContainerConfig.Separated.INSTANCE; public static final RepositoryConfig MEM = new MEMConfig(false, false, IDGenerationLocation.STORE); public static final RepositoryConfig MEM_AUDITS = new MEMConfig(true, false, IDGenerationLocation.STORE); public static final RepositoryConfig MEM_BRANCHES = new MEMConfig(true, true, IDGenerationLocation.STORE); public static final RepositoryConfig MEM_BRANCHES_UUIDS = new MEMConfig(true, true, IDGenerationLocation.CLIENT); public static final RepositoryConfig MEM_OFFLINE = new MEMOfflineConfig(IDGenerationLocation.CLIENT); /** * @deprecated Not yet supported. */ @Deprecated public static final SessionConfig EMBEDDED = SessionConfig.Embedded.INSTANCE; public static final SessionConfig JVM = Net4j.JVM.INSTANCE; public static final SessionConfig TCP = Net4j.TCP.INSTANCE; public static final SessionConfig SSL = Net4j.SSL.INSTANCE; public static final ModelConfig NATIVE = ModelConfig.Native.INSTANCE; public static final ModelConfig LEGACY = ModelConfig.Legacy.INSTANCE; }