public static class WGPDispatcher.PathDispatchingOccasion extends java.lang.Object implements ProblemOccasion, MessageVariableProvider
| Constructor and Description |
|---|
WGPDispatcher.PathDispatchingOccasion(javax.servlet.http.HttpServletRequest req,
java.lang.String dbKey) |
| Modifier and Type | Method and Description |
|---|---|
Problem.Vars |
getDefaultMessageVariables()
Returns a map of variables (keys are variable names, values are variable values) that are to be added automatically to problem message texts.
|
java.lang.Class<?> |
getDefaultRefClass()
Returns a reference class for this occasion, normally the class whose operations may register problems of this occasion.
|
ProblemScope |
getDefaultScope()
Returns the default problem scope used by problems of this occasion
|
java.lang.Class<? extends ProblemType> |
getDefaultType()
Returns the default problem type used by problems of this occasion
|
boolean |
isClearedAutomatically()
Identifies if problems of this occasion are automatically cleared once the problem is solved.
|
public WGPDispatcher.PathDispatchingOccasion(javax.servlet.http.HttpServletRequest req,
java.lang.String dbKey)
public ProblemScope getDefaultScope()
ProblemOccasiongetDefaultScope in interface ProblemOccasionpublic java.lang.Class<? extends ProblemType> getDefaultType()
ProblemOccasiongetDefaultType in interface ProblemOccasionpublic java.lang.Class<?> getDefaultRefClass()
ProblemOccasiongetDefaultRefClass in interface ProblemOccasionpublic Problem.Vars getDefaultMessageVariables()
MessageVariableProvidergetDefaultMessageVariables in interface MessageVariableProviderpublic boolean isClearedAutomatically()
ProblemOccasionisClearedAutomatically in interface ProblemOccasion