MCPcopy Index your code
hub / github.com/aws-samples/eb-java-scorekeep / loadGame

Method loadGame

src/main/java/scorekeep/GameModel.java:30–36  ·  view source on GitHub ↗
(String gameId)

Source from the content-addressed store, hash-verified

28 }
29
30 public Game loadGame(String gameId) throws GameNotFoundException {
31 Game game = mapper.load(Game.class, gameId);
32 if ( game == null ) {
33 throw new GameNotFoundException(gameId);
34 }
35 return game;
36 }
37
38 public List<Game> loadGames(String sessionId) throws SessionNotFoundException {
39 if ( sessionModel.loadSession(sessionId) == null ) {

Callers 5

getGameMethod · 0.80
saveMoveMethod · 0.80
loadMovesMethod · 0.80
saveStateMethod · 0.80
loadStatesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected