test_class.declarator: serverEnvironment = ServerEnvironment.instance()
test_class.modifier: private static final
test_class.original_string: private static final ServerEnvironment serverEnvironment = ServerEnvironment.instance();
test_class.type: ServerEnvironment
test_class.var_name: serverEnvironment
test_class.file: server/src/test/java/io/spine/server/ServerEnvironmentTest.java
test_class.identifier: ServerEnvironmentTest
test_case.body: @Test
      @DisplayName("tell when not running without any specific server environment")
      void tellIfStandalone() {
          // Tests are not run by AppEngine by default.
          assertEquals(STANDALONE, serverEnvironment.deploymentType());
      }
test_case.class_method_signature: ServerEnvironmentTest.tellIfStandalone()
test_case.full_signature: @Test @DisplayName("tell when not running without any specific server environment") void tellIfStandalone()
test_case.identifier: tellIfStandalone
test_case.invocations: assertEquals deploymentType
test_case.modifiers: @Test @DisplayName("tell when not running without any specific server environment")
test_case.parameters: ()
test_case.return: void
test_case.signature: void tellIfStandalone()
focal_class.declarator: INSTANCE = new ServerEnvironment()
focal_class.modifier: private static final
focal_class.original_string: private static final ServerEnvironment INSTANCE = new ServerEnvironment();
focal_class.type: ServerEnvironment
focal_class.var_name: INSTANCE
focal_class.declarator: deploymentDetector = DeploymentDetector.newInstance()
focal_class.modifier: private
focal_class.original_string: private Supplier<DeploymentType> deploymentDetector = DeploymentDetector.newInstance();
focal_class.type: Supplier<DeploymentType>
focal_class.var_name: deploymentDetector
focal_class.declarator: nodeId
focal_class.modifier: private final
focal_class.original_string: private final NodeId nodeId;
focal_class.type: NodeId
focal_class.var_name: nodeId
focal_class.declarator: delivery = new EnvSetting<>()
focal_class.modifier: private final
focal_class.original_string: private final EnvSetting<Delivery> delivery = new EnvSetting<>();
focal_class.type: EnvSetting<Delivery>
focal_class.var_name: delivery
focal_class.declarator: storageFactory =
              new EnvSetting<>(Tests.class, () -> wrap(InMemoryStorageFactory.newInstance()))
focal_class.modifier: private final
focal_class.original_string: private final EnvSetting<StorageFactory> storageFactory =
              new EnvSetting<>(Tests.class, () -> wrap(InMemoryStorageFactory.newInstance()));
focal_class.type: EnvSetting<StorageFactory>
focal_class.var_name: storageFactory
focal_class.declarator: tracerFactory = new EnvSetting<>()
focal_class.modifier: private final
focal_class.original_string: private final EnvSetting<TracerFactory> tracerFactory = new EnvSetting<>();
focal_class.type: EnvSetting<TracerFactory>
focal_class.var_name: tracerFactory
focal_class.declarator: transportFactory =
              new EnvSetting<>(Tests.class, InMemoryTransportFactory::newInstance)
focal_class.modifier: private final
focal_class.original_string: private final EnvSetting<TransportFactory> transportFactory =
              new EnvSetting<>(Tests.class, InMemoryTransportFactory::newInstance);
focal_class.type: EnvSetting<TransportFactory>
focal_class.var_name: transportFactory
focal_class.declarator: commandScheduler
focal_class.modifier: private
focal_class.original_string: private Supplier<CommandScheduler> commandScheduler;
focal_class.type: Supplier<CommandScheduler>
focal_class.var_name: commandScheduler
focal_class.file: server/src/main/java/io/spine/server/ServerEnvironment.java
focal_class.identifier: ServerEnvironment
focal_class.interfaces: implements AutoCloseable
focal_class.class_method_signature: ServerEnvironment.ServerEnvironment()
focal_class.full_signature: private  ServerEnvironment()
focal_class.identifier: ServerEnvironment
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ServerEnvironment()
focal_class.class_method_signature: ServerEnvironment.instance()
focal_class.full_signature: public static ServerEnvironment instance()
focal_class.identifier: instance
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: ServerEnvironment
focal_class.signature: ServerEnvironment instance()
focal_class.class_method_signature: ServerEnvironment.deploymentType()
focal_class.full_signature: public DeploymentType deploymentType()
focal_class.identifier: deploymentType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DeploymentType
focal_class.signature: DeploymentType deploymentType()
focal_class.class_method_signature: ServerEnvironment.configureDelivery(Delivery delivery)
focal_class.full_signature: @Deprecated public synchronized void configureDelivery(Delivery delivery)
focal_class.identifier: configureDelivery
focal_class.modifiers: @Deprecated public synchronized
focal_class.parameters: (Delivery delivery)
focal_class.return: void
focal_class.signature: void configureDelivery(Delivery delivery)
focal_class.class_method_signature: ServerEnvironment.delivery()
focal_class.full_signature: public synchronized Delivery delivery()
focal_class.identifier: delivery
focal_class.modifiers: public synchronized
focal_class.parameters: ()
focal_class.return: Delivery
focal_class.signature: Delivery delivery()
focal_class.class_method_signature: ServerEnvironment.newCommandScheduler()
focal_class.full_signature: public CommandScheduler newCommandScheduler()
focal_class.identifier: newCommandScheduler
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CommandScheduler
focal_class.signature: CommandScheduler newCommandScheduler()
focal_class.class_method_signature: ServerEnvironment.scheduleCommandsUsing(Supplier<CommandScheduler> commandScheduler)
focal_class.full_signature: public void scheduleCommandsUsing(Supplier<CommandScheduler> commandScheduler)
focal_class.identifier: scheduleCommandsUsing
focal_class.modifiers: public
focal_class.parameters: (Supplier<CommandScheduler> commandScheduler)
focal_class.return: void
focal_class.signature: void scheduleCommandsUsing(Supplier<CommandScheduler> commandScheduler)
focal_class.class_method_signature: ServerEnvironment.nodeId()
focal_class.full_signature: public NodeId nodeId()
focal_class.identifier: nodeId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: NodeId
focal_class.signature: NodeId nodeId()
focal_class.class_method_signature: ServerEnvironment.resetDeploymentType()
focal_class.full_signature: private void resetDeploymentType()
focal_class.identifier: resetDeploymentType
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void resetDeploymentType()
focal_class.class_method_signature: ServerEnvironment.configureDeployment(Supplier<DeploymentType> supplier)
focal_class.full_signature: @VisibleForTesting public void configureDeployment(Supplier<DeploymentType> supplier)
focal_class.identifier: configureDeployment
focal_class.modifiers: @VisibleForTesting public
focal_class.parameters: (Supplier<DeploymentType> supplier)
focal_class.return: void
focal_class.signature: void configureDeployment(Supplier<DeploymentType> supplier)
focal_class.class_method_signature: ServerEnvironment.use(StorageFactory factory, EnvironmentType envType)
focal_class.full_signature: @CanIgnoreReturnValue public ServerEnvironment use(StorageFactory factory, EnvironmentType envType)
focal_class.identifier: use
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (StorageFactory factory, EnvironmentType envType)
focal_class.return: ServerEnvironment
focal_class.signature: ServerEnvironment use(StorageFactory factory, EnvironmentType envType)
focal_class.class_method_signature: ServerEnvironment.use(StorageFactory factory, Class<? extends EnvironmentType> type)
focal_class.full_signature: @CanIgnoreReturnValue public ServerEnvironment use(StorageFactory factory, Class<? extends EnvironmentType> type)
focal_class.identifier: use
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (StorageFactory factory, Class<? extends EnvironmentType> type)
focal_class.return: ServerEnvironment
focal_class.signature: ServerEnvironment use(StorageFactory factory, Class<? extends EnvironmentType> type)
focal_class.class_method_signature: ServerEnvironment.use(Delivery delivery, EnvironmentType envType)
focal_class.full_signature: @CanIgnoreReturnValue public ServerEnvironment use(Delivery delivery, EnvironmentType envType)
focal_class.identifier: use
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (Delivery delivery, EnvironmentType envType)
focal_class.return: ServerEnvironment
focal_class.signature: ServerEnvironment use(Delivery delivery, EnvironmentType envType)
focal_class.class_method_signature: ServerEnvironment.use(Delivery delivery, Class<? extends EnvironmentType> envType)
focal_class.full_signature: @CanIgnoreReturnValue public ServerEnvironment use(Delivery delivery, Class<? extends EnvironmentType> envType)
focal_class.identifier: use
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (Delivery delivery, Class<? extends EnvironmentType> envType)
focal_class.return: ServerEnvironment
focal_class.signature: ServerEnvironment use(Delivery delivery, Class<? extends EnvironmentType> envType)
focal_class.class_method_signature: ServerEnvironment.use(TracerFactory factory, EnvironmentType envType)
focal_class.full_signature: @CanIgnoreReturnValue public ServerEnvironment use(TracerFactory factory, EnvironmentType envType)
focal_class.identifier: use
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (TracerFactory factory, EnvironmentType envType)
focal_class.return: ServerEnvironment
focal_class.signature: ServerEnvironment use(TracerFactory factory, EnvironmentType envType)
focal_class.class_method_signature: ServerEnvironment.use(TracerFactory factory, Class<? extends EnvironmentType> envType)
focal_class.full_signature: @CanIgnoreReturnValue public ServerEnvironment use(TracerFactory factory, Class<? extends EnvironmentType> envType)
focal_class.identifier: use
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (TracerFactory factory, Class<? extends EnvironmentType> envType)
focal_class.return: ServerEnvironment
focal_class.signature: ServerEnvironment use(TracerFactory factory, Class<? extends EnvironmentType> envType)
focal_class.class_method_signature: ServerEnvironment.use(TransportFactory factory, EnvironmentType envType)
focal_class.full_signature: @CanIgnoreReturnValue public ServerEnvironment use(TransportFactory factory, EnvironmentType envType)
focal_class.identifier: use
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (TransportFactory factory, EnvironmentType envType)
focal_class.return: ServerEnvironment
focal_class.signature: ServerEnvironment use(TransportFactory factory, EnvironmentType envType)
focal_class.class_method_signature: ServerEnvironment.use(TransportFactory factory, Class<? extends EnvironmentType> type)
focal_class.full_signature: @CanIgnoreReturnValue public ServerEnvironment use(TransportFactory factory, Class<? extends EnvironmentType> type)
focal_class.identifier: use
focal_class.modifiers: @CanIgnoreReturnValue public
focal_class.parameters: (TransportFactory factory, Class<? extends EnvironmentType> type)
focal_class.return: ServerEnvironment
focal_class.signature: ServerEnvironment use(TransportFactory factory, Class<? extends EnvironmentType> type)
focal_class.class_method_signature: ServerEnvironment.configureStorageForTests(StorageFactory factory)
focal_class.full_signature: @Deprecated public void configureStorageForTests(StorageFactory factory)
focal_class.identifier: configureStorageForTests
focal_class.modifiers: @Deprecated public
focal_class.parameters: (StorageFactory factory)
focal_class.return: void
focal_class.signature: void configureStorageForTests(StorageFactory factory)
focal_class.class_method_signature: ServerEnvironment.configureStorage(StorageFactory factory)
focal_class.full_signature: @Deprecated public void configureStorage(StorageFactory factory)
focal_class.identifier: configureStorage
focal_class.modifiers: @Deprecated public
focal_class.parameters: (StorageFactory factory)
focal_class.return: void
focal_class.signature: void configureStorage(StorageFactory factory)
focal_class.class_method_signature: ServerEnvironment.tracing()
focal_class.full_signature: public Optional<TracerFactory> tracing()
focal_class.identifier: tracing
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<TracerFactory>
focal_class.signature: Optional<TracerFactory> tracing()
focal_class.class_method_signature: ServerEnvironment.storageFactory()
focal_class.full_signature: public StorageFactory storageFactory()
focal_class.identifier: storageFactory
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: StorageFactory
focal_class.signature: StorageFactory storageFactory()
focal_class.class_method_signature: ServerEnvironment.optionalStorageFactory()
focal_class.full_signature: @Internal public Optional<StorageFactory> optionalStorageFactory()
focal_class.identifier: optionalStorageFactory
focal_class.modifiers: @Internal public
focal_class.parameters: ()
focal_class.return: Optional<StorageFactory>
focal_class.signature: Optional<StorageFactory> optionalStorageFactory()
focal_class.class_method_signature: ServerEnvironment.transportFactory()
focal_class.full_signature: public TransportFactory transportFactory()
focal_class.identifier: transportFactory
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: TransportFactory
focal_class.signature: TransportFactory transportFactory()
focal_class.class_method_signature: ServerEnvironment.environment()
focal_class.full_signature: private static Environment environment()
focal_class.identifier: environment
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: Environment
focal_class.signature: Environment environment()
focal_class.class_method_signature: ServerEnvironment.reset()
focal_class.full_signature: @VisibleForTesting public void reset()
focal_class.identifier: reset
focal_class.modifiers: @VisibleForTesting public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void reset()
focal_class.class_method_signature: ServerEnvironment.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: ServerEnvironment.use(V value, EnvSetting<V> setting, EnvironmentType type)
focal_class.full_signature: private static void use(V value, EnvSetting<V> setting, EnvironmentType type)
focal_class.identifier: use
focal_class.modifiers: private static
focal_class.parameters: (V value, EnvSetting<V> setting, EnvironmentType type)
focal_class.return: void
focal_class.signature: void use(V value, EnvSetting<V> setting, EnvironmentType type)
focal_class.class_method_signature: ServerEnvironment.use(V value,
                                  EnvSetting<V> setting,
                                  Class<? extends EnvironmentType> type)
focal_class.full_signature: private static void use(V value,
                                  EnvSetting<V> setting,
                                  Class<? extends EnvironmentType> type)
focal_class.identifier: use
focal_class.modifiers: private static
focal_class.parameters: (V value,
                                  EnvSetting<V> setting,
                                  Class<? extends EnvironmentType> type)
focal_class.return: void
focal_class.signature: void use(V value,
                                  EnvSetting<V> setting,
                                  Class<? extends EnvironmentType> type)
focal_method.body: public DeploymentType deploymentType() {
          return deploymentDetector.get();
      }
focal_method.class_method_signature: ServerEnvironment.deploymentType()
focal_method.full_signature: public DeploymentType deploymentType()
focal_method.identifier: deploymentType
focal_method.invocations: get
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: DeploymentType
focal_method.signature: DeploymentType deploymentType()