Package edu.wisc.game.rest
Class PregameService.PregameResponseBase
java.lang.Object
edu.wisc.game.rest.ResponseBase
edu.wisc.game.rest.PregameService.PregameResponseBase
- Direct Known Subclasses:
PregameService.BookletSize
,PregameService.Page
- Enclosing class:
- PregameService
public static class PregameService.PregameResponseBase extends ResponseBase
Some info + error code
-
Constructor Summary
Constructors Constructor Description PregameResponseBase(String pid)
Identifies and tests the pregame experience directory for the player's experiment plan. -
Method Summary
Modifier and Type Method Description File[]
_getBookletPages()
int
getBookletSize()
double
getGoodnessScore()
String
getPath()
void
setBookletSize(int _bookletSize)
void
setGoodnessScore(double _goodnessScore)
-
Constructor Details
-
PregameResponseBase
Identifies and tests the pregame experience directory for the player's experiment plan. The main parameter for that is "pregame", but for legacy (pre ver. 6.*) plans we also look at "init".- Parameters:
pid
- playerId. The server will look up the pregame experience directory for that player's experiment plan.name
- The pregame experience file to retrieve from the PGE directory, e.g. "consent.html"
-
-
Method Details
-
getBookletSize
public int getBookletSize() -
setBookletSize
public void setBookletSize(int _bookletSize) -
getPath
-
_getBookletPages
-
getGoodnessScore
public double getGoodnessScore() -
setGoodnessScore
public void setGoodnessScore(double _goodnessScore)
-