|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectix.iplan.ChecksimPlanEvaluation
public class ChecksimPlanEvaluation
A plan-evaluation that runs the plan-checking simulator. It's also an illustration of an evaluation that's just a place-holder until the user requests that the actual evaluation be produced. The value is initially "run". The simulator isn't run until the user requests the details. Then the simulator's output is displayed in a new window, and the value becomes either "ok" or "n problems", where n is the number of problems found by the simulator. If the details are requested again, the simulator's output (which was saved) is displayed again.
Constructor Summary | |
---|---|
ChecksimPlanEvaluation(Ip2 ip2,
java.lang.String optionName)
|
Method Summary | |
---|---|
void |
detailsRequested()
Tells the evaluation that the user has requested more information. |
java.lang.Object |
getValue()
Returns the current value of this evaluation. |
boolean |
hasDetails()
Indicates whether or not more information is available if the used requests it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChecksimPlanEvaluation(Ip2 ip2, java.lang.String optionName)
Method Detail |
---|
public java.lang.Object getValue()
PlanEvaluation
getValue
in interface PlanEvaluation
PlanEvaluation.detailsRequested()
public boolean hasDetails()
PlanEvaluation
hasDetails
in interface PlanEvaluation
PlanEvaluation.detailsRequested()
public void detailsRequested()
PlanEvaluation
PlanEvaluation.getValue()
will just be a place-holder that indicates that more information
is available. This method will then typically change that value
to show the real result of the evalutaion.
It is recommended that any evaluations that require a substantial amount of computation be handled in that delayed, "when requested" fashion.
detailsRequested
in interface PlanEvaluation
PlanEvaluation.hasDetails()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |