|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--moves.EuMove | +--moves.TestDatum
A move for passing test data Has no functionality except when run by runTestTo(). Allowed only in BEFORE_END segment, and hence should never be run.
Field Summary | |
protected fundamentals.EuArguments |
commandArguments
Contains arguments to be passed on |
protected fundamentals.EuArguments |
workArguments
ARguments are collected here in design mode |
Fields inherited from class moves.EuMove |
allowedSegments, in, out |
Constructor Summary | |
TestDatum(interagents.finalWrapper in,
interagents.finalWrapper out,
fundamentals.EuArguments args,
int beacon)
The constructor checks that no input, output or beacon is passed, that there is at most one argument |
Method Summary | |
int |
countArguments()
|
protected void |
exMacro(interagents.EuLab lab,
interagents.explicitHolder caller)
Executes core commands of the move in macro mode, possibly affecting the passed @see EuLab Send or recieve data to/from calling program as explicits in a passed explicitHolder. |
boolean |
isDummy()
|
protected int |
postMacro(interagents.EuLab lab,
librarian.ppProcessor ppp)
|
protected int |
postMain(interagents.EuLab lab,
librarian.ppProcessor ppp)
Performs various postprocessing of the move, updating the ppProcessor and changing segment. |
void |
setArgument(fundamentals.EuArguments args)
|
protected boolean |
specialSegmentOK(int segment)
Determines whether a call to this move is legal in the passed special segment. |
java.lang.String |
toString()
Document the move |
Methods inherited from class moves.EuMove |
checkSegment, ex, executeMacro, executeMain, executeSegmentOnly, exMain, getFirstOutIndex, initArguments, initBeacon, iobUsageChecks, issueBeacon, name, operationName, passExceptionDetails, passHintDetails, passSelection, postprocess, preMacro, preMain, preprocess |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected fundamentals.EuArguments commandArguments
protected fundamentals.EuArguments workArguments
Constructor Detail |
public TestDatum(interagents.finalWrapper in, interagents.finalWrapper out, fundamentals.EuArguments args, int beacon) throws DesignException
in
- the input @see finalWrapperout
- the output @see finalWrapperargs
- argumentsbeacon
- a beacon, or 0 if no such was requestedMethod Detail |
protected int postMain(interagents.EuLab lab, librarian.ppProcessor ppp) throws LeaException
postMain
in class EuMove
ppp
- the ppProcessor to be updated
LeaException
protected int postMacro(interagents.EuLab lab, librarian.ppProcessor ppp) throws LeaException
postMacro
in class EuMove
LeaException
protected void exMacro(interagents.EuLab lab, interagents.explicitHolder caller) throws LeaException
EuMove
exMacro
in class EuMove
lab
- the @see EuLab on which to workcaller
- the explicitHolder with which to communicate with
the calling program.
LeaException
public java.lang.String toString()
EuMove
toString
in class EuMove
protected boolean specialSegmentOK(int segment)
specialSegmentOK
in class EuMove
segment
- the current segment
public void setArgument(fundamentals.EuArguments args)
public boolean isDummy()
public int countArguments()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |