MCPcopy Create free account
hub / github.com/aws-samples/eb-java-scorekeep / loadMove

Method loadMove

src/main/java/scorekeep/MoveModel.java:34–40  ·  view source on GitHub ↗
(String moveId)

Source from the content-addressed store, hash-verified

32 }
33
34 public Move loadMove(String moveId) throws MoveNotFoundException {
35 Move move = mapper.load(Move.class, moveId);
36 if ( move == null ) {
37 throw new MoveNotFoundException(moveId);
38 }
39 return move;
40 }
41
42 public List<Move> loadMoves(String sessionId, String gameId) throws SessionNotFoundException, GameNotFoundException {
43 if ( sessionModel.loadSession(sessionId) == null ) {

Callers 1

getMoveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected