@ParametersAreNonnullByDefault public interface BackendFactory
Backend instances.
The creation can be configured using Resource.save(java.util.Map)
and Resource.load(java.util.Map) option maps.
Config| Modifier and Type | Method and Description |
|---|---|
Backend |
createBackend(org.eclipse.emf.common.util.URI uri,
ImmutableConfig baseConfig)
Creates a new
Backend located by the uri. |
String |
name()
Returns the literal description of the created
Backend. |
boolean |
supportsTransient()
Returns whether the
Backends created by this factory support the transient state. |
@MatchesPattern(value="^[a-z]+$") String name()
Backend.Backendboolean supportsTransient()
Backends created by this factory support the transient state.true if the Backends created by this factory support the transient state, false
otherwise@Nonnull Backend createBackend(org.eclipse.emf.common.util.URI uri, ImmutableConfig baseConfig)
Backend located by the uri.uri - the URI where to store the back-endbaseConfig - the base configuration that defines the behaviour of the back-endInvalidBackendException - if an error occurs during the back-end initializationCopyright © 2013–2019 Atlanmod. All rights reserved.