Object MongoOrchestrationRepository
-
- All Implemented Interfaces:
-
ai.tock.bot.orchestration.bot.primary.OrchestrationRepository
public class MongoOrchestrationRepository implements OrchestrationRepository
-
-
Field Summary
Fields Modifier and Type Field Description public final static MongoOrchestrationRepositoryINSTANCE
-
Method Summary
Modifier and Type Method Description Orchestrationcreate(PlayerId playerId, OrchestrationMetaData targetMetadata, OrchestrationTargetedBot target, List<SecondaryBotAction> actions)Orchestrationget(PlayerId playerId)Unitupdate(Id<Orchestration> id, SecondaryBotAction action)Unitend(PlayerId playerId)-
-
Method Detail
-
create
Orchestration create(PlayerId playerId, OrchestrationMetaData targetMetadata, OrchestrationTargetedBot target, List<SecondaryBotAction> actions)
-
get
Orchestration get(PlayerId playerId)
-
update
Unit update(Id<Orchestration> id, SecondaryBotAction action)
-
-
-
-