Class CotaniSeasons

java.lang.Object
com.cotani.season.CotaniSeasons

public final class CotaniSeasons extends Object
Factories for the cotani-season module.
  • Method Details

    • inMemory

      public static SeasonService inMemory(com.cotani.reward.api.RewardService rewardService, com.cotani.event.api.EventBus eventBus)
      Creates an isolated in-memory season service for tests or ephemeral servers.
    • fromRepository

      public static SeasonService fromRepository(SeasonRepository repository, com.cotani.reward.api.RewardService rewardService, com.cotani.event.api.EventBus eventBus)
      Creates a service over a caller-owned repository.
    • fromRepository

      public static SeasonService fromRepository(SeasonRepository repository, com.cotani.reward.api.RewardService rewardService, com.cotani.event.api.EventBus eventBus, SeasonServiceOptions options)
      Creates a service with explicit operational policies.