public static class OverlayDesignProvider.ApplyOverlayDesignOccasion extends java.lang.Object implements ProblemOccasion, UseSpecialProblemImplementation, MessageVariableProvider
Constructor and Description |
---|
OverlayDesignProvider.ApplyOverlayDesignOccasion(java.lang.String dbKey,
java.lang.String baseDesign,
java.lang.String overlayDesign) |
Modifier and Type | Method and Description |
---|---|
Problem |
createProblem(ProblemPath problemPath,
ProblemText text,
ProblemSeverity severity,
ProblemOccasion occasion,
java.lang.Throwable throwable,
java.util.List<MessageVariableProvider> providers) |
boolean |
equals(java.lang.Object obj) |
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
|
int |
hashCode() |
boolean |
isClearedAutomatically()
Identifies if problems of this occasion are automatically cleared once the problem is solved.
|
public OverlayDesignProvider.ApplyOverlayDesignOccasion(java.lang.String dbKey, java.lang.String baseDesign, java.lang.String overlayDesign)
public ProblemScope getDefaultScope()
ProblemOccasion
getDefaultScope
in interface ProblemOccasion
public java.lang.Class<? extends ProblemType> getDefaultType()
ProblemOccasion
getDefaultType
in interface ProblemOccasion
public java.lang.Class<?> getDefaultRefClass()
ProblemOccasion
getDefaultRefClass
in interface ProblemOccasion
public boolean isClearedAutomatically()
ProblemOccasion
isClearedAutomatically
in interface ProblemOccasion
public Problem createProblem(ProblemPath problemPath, ProblemText text, ProblemSeverity severity, ProblemOccasion occasion, java.lang.Throwable throwable, java.util.List<MessageVariableProvider> providers)
createProblem
in interface UseSpecialProblemImplementation
public Problem.Vars getDefaultMessageVariables()
MessageVariableProvider
getDefaultMessageVariables
in interface MessageVariableProvider
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object