Package edu.wisc.game.rest
Class CheckPlanService
java.lang.Object
edu.wisc.game.rest.GameService2
edu.wisc.game.rest.CheckPlanService
The "Check my experiment plan" service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbasicCheck(String exp) A simpler testing used when we generate the list of names of all available plans and want to exclude those that have no rule set files.checkPlanHtml(String exp) checkRulesHtml(String rulesText) static voidCommand-line interface to the validator.Methods inherited from class edu.wisc.game.rest.GameService2
activateBonus, colorMap, display, findPlans, getVersion, giveUp, guess, listShapes, mostRecentEpisode, move, move, newEpisode, player, registerUser
-
Constructor Details
-
CheckPlanService
public CheckPlanService()
-
-
Method Details
-
checkRulesHtml
-
checkPlanHtml
-
clearTables
@POST @Path("/clearTables") @Consumes("application/x-www-form-urlencoded") @Produces("text/html") public String clearTables() -
basicCheck
A simpler testing used when we generate the list of names of all available plans and want to exclude those that have no rule set files.- Returns:
- true if none of the most obvious problems have occurred
-
main
Command-line interface to the validator. The command-line arguments can be names of experiment plans or names of rule set files.- Throws:
Exception
-