test_class.declarator: TOTAL_PROJECTS_FOR_BATCH_READING = 10
test_class.modifier: private static final
test_class.original_string: private static final int TOTAL_PROJECTS_FOR_BATCH_READING = 10;
test_class.type: int
test_class.var_name: TOTAL_PROJECTS_FOR_BATCH_READING
test_class.declarator: multitenant = false
test_class.modifier: private
test_class.original_string: private boolean multitenant = false;
test_class.type: boolean
test_class.var_name: multitenant
test_class.declarator: requestFactory
test_class.modifier: private
test_class.original_string: private ActorRequestFactory requestFactory;
test_class.type: ActorRequestFactory
test_class.var_name: requestFactory
test_class.declarator: FIRST_NAMES = ImmutableList.of(
              "Emma", "Liam", "Mary", "John"
      )
test_class.modifier: private static final
test_class.original_string: private static final ImmutableList<String> FIRST_NAMES = ImmutableList.of(
              "Emma", "Liam", "Mary", "John"
      );
test_class.type: ImmutableList<String>
test_class.var_name: FIRST_NAMES
test_class.declarator: LAST_NAMES = ImmutableList.of(
              "Smith", "Doe", "Steward", "Lee"
      )
test_class.modifier: private static final
test_class.original_string: private static final ImmutableList<String> LAST_NAMES = ImmutableList.of(
              "Smith", "Doe", "Steward", "Lee"
      );
test_class.type: ImmutableList<String>
test_class.var_name: LAST_NAMES
test_class.file: server/src/test/java/io/spine/server/stand/StandTest.java
test_class.identifier: StandTest
test_class.superclass: extends TenantAwareTest
test_case.body: @Test
      @DisplayName("not trigger subscription callbacks in case of another type criterion mismatch")
      void notTriggerOnTypeMismatch() {
          CustomerAggregateRepository repository = new CustomerAggregateRepository();
          StandTestProjectionRepository projectionRepository = new StandTestProjectionRepository();
          Stand stand = createStand(repository, projectionRepository);
          Target allProjects = Targets.allOf(Project.class);
          MemoizeSubscriptionCallback callback = subscribeWithCallback(stand, allProjects);
          Customer customer = fillSampleCustomers(1)
                  .iterator()
                  .next();
          CustomerId customerId = customer.getId();
          int version = 1;
          CustomerAggregate entity = aggregateOfClass(CustomerAggregate.class)
                  .withId(customerId)
                  .withState(customer)
                  .withVersion(version)
                  .build();
          stand.post(entity, repository.lifecycleOf(customerId));
  
          assertEquals(0, callback.countAcceptedUpdates());
      }
test_case.class_method_signature: StandTest.notTriggerOnTypeMismatch()
test_case.full_signature: @Test @DisplayName("not trigger subscription callbacks in case of another type criterion mismatch") void notTriggerOnTypeMismatch()
test_case.identifier: notTriggerOnTypeMismatch
test_case.invocations: createStand allOf subscribeWithCallback next iterator fillSampleCustomers getId build withVersion withState withId aggregateOfClass post lifecycleOf assertEquals countAcceptedUpdates
test_case.modifiers: @Test @DisplayName("not trigger subscription callbacks in case of another type criterion mismatch")
test_case.parameters: ()
test_case.return: void
test_case.signature: void notTriggerOnTypeMismatch()
focal_class.declarator: NO_OP_PROCESSOR = new NoOpQueryProcessor()
focal_class.modifier: private static final
focal_class.original_string: private static final QueryProcessor NO_OP_PROCESSOR = new NoOpQueryProcessor();
focal_class.type: QueryProcessor
focal_class.var_name: NO_OP_PROCESSOR
focal_class.declarator: subscriptionRegistry
focal_class.modifier: private final
focal_class.original_string: private final SubscriptionRegistry subscriptionRegistry;
focal_class.type: SubscriptionRegistry
focal_class.var_name: subscriptionRegistry
focal_class.declarator: typeRegistry
focal_class.modifier: private final
focal_class.original_string: private final TypeRegistry typeRegistry;
focal_class.type: TypeRegistry
focal_class.var_name: typeRegistry
focal_class.declarator: eventRegistry
focal_class.modifier: private final
focal_class.original_string: private final EventRegistry eventRegistry;
focal_class.type: EventRegistry
focal_class.var_name: eventRegistry
focal_class.declarator: multitenant
focal_class.modifier: private final
focal_class.original_string: private final boolean multitenant;
focal_class.type: boolean
focal_class.var_name: multitenant
focal_class.declarator: topicValidator
focal_class.modifier: private final
focal_class.original_string: private final TopicValidator topicValidator;
focal_class.type: TopicValidator
focal_class.var_name: topicValidator
focal_class.declarator: queryValidator
focal_class.modifier: private final
focal_class.original_string: private final QueryValidator queryValidator;
focal_class.type: QueryValidator
focal_class.var_name: queryValidator
focal_class.declarator: subscriptionValidator
focal_class.modifier: private final
focal_class.original_string: private final SubscriptionValidator subscriptionValidator;
focal_class.type: SubscriptionValidator
focal_class.var_name: subscriptionValidator
focal_class.declarator: aggregateQueryProcessor
focal_class.modifier: private final
focal_class.original_string: private final AggregateQueryProcessor aggregateQueryProcessor;
focal_class.type: AggregateQueryProcessor
focal_class.var_name: aggregateQueryProcessor
focal_class.declarator: eventTap
focal_class.modifier: private final
focal_class.original_string: private final EventTap eventTap;
focal_class.type: EventTap
focal_class.var_name: eventTap
focal_class.file: server/src/main/java/io/spine/server/stand/Stand.java
focal_class.identifier: Stand
focal_class.interfaces: implements AutoCloseable
focal_class.class_method_signature: Stand.Stand(Builder builder)
focal_class.full_signature: private  Stand(Builder builder)
focal_class.identifier: Stand
focal_class.modifiers: private
focal_class.parameters: (Builder builder)
focal_class.signature:  Stand(Builder builder)
focal_class.class_method_signature: Stand.newBuilder()
focal_class.full_signature: public static Builder newBuilder()
focal_class.identifier: newBuilder
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Builder
focal_class.signature: Builder newBuilder()
focal_class.class_method_signature: Stand.post(Entity<?, ?> entity, EntityLifecycle lifecycle)
focal_class.full_signature: @VisibleForTesting void post(Entity<?, ?> entity, EntityLifecycle lifecycle)
focal_class.identifier: post
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: (Entity<?, ?> entity, EntityLifecycle lifecycle)
focal_class.return: void
focal_class.signature: void post(Entity<?, ?> entity, EntityLifecycle lifecycle)
focal_class.class_method_signature: Stand.isMultitenant()
focal_class.full_signature: @Internal @VisibleForTesting public boolean isMultitenant()
focal_class.identifier: isMultitenant
focal_class.modifiers: @Internal @VisibleForTesting public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isMultitenant()
focal_class.class_method_signature: Stand.subscribe(Topic topic, StreamObserver<Subscription> responseObserver)
focal_class.full_signature: public void subscribe(Topic topic, StreamObserver<Subscription> responseObserver)
focal_class.identifier: subscribe
focal_class.modifiers: public
focal_class.parameters: (Topic topic, StreamObserver<Subscription> responseObserver)
focal_class.return: void
focal_class.signature: void subscribe(Topic topic, StreamObserver<Subscription> responseObserver)
focal_class.class_method_signature: Stand.subscribe(Subscription subscription)
focal_class.full_signature: public void subscribe(Subscription subscription)
focal_class.identifier: subscribe
focal_class.modifiers: public
focal_class.parameters: (Subscription subscription)
focal_class.return: void
focal_class.signature: void subscribe(Subscription subscription)
focal_class.class_method_signature: Stand.activate(Subscription subscription,
                           SubscriptionCallback callback,
                           StreamObserver<Response> responseObserver)
focal_class.full_signature: public void activate(Subscription subscription,
                           SubscriptionCallback callback,
                           StreamObserver<Response> responseObserver)
focal_class.identifier: activate
focal_class.modifiers: public
focal_class.parameters: (Subscription subscription,
                           SubscriptionCallback callback,
                           StreamObserver<Response> responseObserver)
focal_class.return: void
focal_class.signature: void activate(Subscription subscription,
                           SubscriptionCallback callback,
                           StreamObserver<Response> responseObserver)
focal_class.class_method_signature: Stand.cancel(Subscription subscription, StreamObserver<Response> responseObserver)
focal_class.full_signature: public void cancel(Subscription subscription, StreamObserver<Response> responseObserver)
focal_class.identifier: cancel
focal_class.modifiers: public
focal_class.parameters: (Subscription subscription, StreamObserver<Response> responseObserver)
focal_class.return: void
focal_class.signature: void cancel(Subscription subscription, StreamObserver<Response> responseObserver)
focal_class.class_method_signature: Stand.eventListener()
focal_class.full_signature: public Listener<EventEnvelope> eventListener()
focal_class.identifier: eventListener
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Listener<EventEnvelope>
focal_class.signature: Listener<EventEnvelope> eventListener()
focal_class.class_method_signature: Stand.exposedTypes()
focal_class.full_signature: public ImmutableSet<TypeUrl> exposedTypes()
focal_class.identifier: exposedTypes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ImmutableSet<TypeUrl>
focal_class.signature: ImmutableSet<TypeUrl> exposedTypes()
focal_class.class_method_signature: Stand.exposedEventTypes()
focal_class.full_signature: public ImmutableSet<TypeUrl> exposedEventTypes()
focal_class.identifier: exposedEventTypes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ImmutableSet<TypeUrl>
focal_class.signature: ImmutableSet<TypeUrl> exposedEventTypes()
focal_class.class_method_signature: Stand.exposedAggregateTypes()
focal_class.full_signature: public ImmutableSet<TypeUrl> exposedAggregateTypes()
focal_class.identifier: exposedAggregateTypes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ImmutableSet<TypeUrl>
focal_class.signature: ImmutableSet<TypeUrl> exposedAggregateTypes()
focal_class.class_method_signature: Stand.execute(Query query, StreamObserver<QueryResponse> responseObserver)
focal_class.full_signature: public void execute(Query query, StreamObserver<QueryResponse> responseObserver)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (Query query, StreamObserver<QueryResponse> responseObserver)
focal_class.return: void
focal_class.signature: void execute(Query query, StreamObserver<QueryResponse> responseObserver)
focal_class.class_method_signature: Stand.registerTypeSupplier(Repository<?, ?> repository)
focal_class.full_signature: public void registerTypeSupplier(Repository<?, ?> repository)
focal_class.identifier: registerTypeSupplier
focal_class.modifiers: public
focal_class.parameters: (Repository<?, ?> repository)
focal_class.return: void
focal_class.signature: void registerTypeSupplier(Repository<?, ?> repository)
focal_class.class_method_signature: Stand.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: Stand.processorFor(TypeUrl type)
focal_class.full_signature: private QueryProcessor processorFor(TypeUrl type)
focal_class.identifier: processorFor
focal_class.modifiers: private
focal_class.parameters: (TypeUrl type)
focal_class.return: QueryProcessor
focal_class.signature: QueryProcessor processorFor(TypeUrl type)
focal_class.class_method_signature: Stand.aggregateProcessor()
focal_class.full_signature: private QueryProcessor aggregateProcessor()
focal_class.identifier: aggregateProcessor
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: QueryProcessor
focal_class.signature: QueryProcessor aggregateProcessor()
focal_method.body: @VisibleForTesting
      void post(Entity<?, ?> entity, EntityLifecycle lifecycle) {
          Any id = Identifier.pack(entity.id());
          Any state = AnyPacker.pack(entity.state());
          EntityRecord record = EntityRecord
                  .newBuilder()
                  .setEntityId(id)
                  .setState(state)
                  .vBuild();
          EntityRecordChange change = EntityRecordChange
                  .newBuilder()
                  .setNewValue(record)
                  .vBuild();
          MessageId origin = Identity.byString("Stand-received-entity-update");
          lifecycle.onStateChanged(change,
                                   ImmutableSet.of(origin),
                                   Origin.getDefaultInstance());
      }
focal_method.class_method_signature: Stand.post(Entity<?, ?> entity, EntityLifecycle lifecycle)
focal_method.full_signature: @VisibleForTesting void post(Entity<?, ?> entity, EntityLifecycle lifecycle)
focal_method.identifier: post
focal_method.invocations: pack id pack state vBuild setState setEntityId newBuilder vBuild setNewValue newBuilder byString onStateChanged of getDefaultInstance
focal_method.modifiers: @VisibleForTesting
focal_method.parameters: (Entity<?, ?> entity, EntityLifecycle lifecycle)
focal_method.return: void
focal_method.signature: void post(Entity<?, ?> entity, EntityLifecycle lifecycle)