Package io.molr.mole.core.support
Interface MissionStubSupport
-
- All Known Implementing Classes:
MissionControlSupport
public interface MissionStubSupport
Methods required byMissionControlSupport
to trigger missions using stubs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <R> OngoingReturningMissionRun<R>
start(MissionStub0<R> stub)
Initiates the mission represented by the stub and returns control to the runningMission
<P1,R>
OngoingReturningMissionRun<R>start(MissionStub1<P1,R> stub, P1 p1)
Initiates the mission represented by the stub and returns control to the runningMission
<P1,P2,R>
OngoingReturningMissionRun<R>start(MissionStub2<P1,P2,R> stub, P1 p1, P2 p2)
Initiates the mission represented by the stub and returns control to the runningMission
OngoingMissionRun
start(VoidStub0 stub)
Initiates the mission represented by the stub and returns control to the runningMission
<P1> OngoingMissionRun
start(VoidStub1<P1> stub, P1 p1)
Initiates the mission represented by the stub and returns control to the runningMission
<P1,P2>
OngoingMissionRunstart(VoidStub2<P1,P2> stub, P1 p1, P2 p2)
Initiates the mission represented by the stub and returns control to the runningMission
-
-
-
Method Detail
-
start
OngoingMissionRun start(VoidStub0 stub)
Initiates the mission represented by the stub and returns control to the runningMission
- Parameters:
stub
- theVoidStub0
- Returns:
- control to the running
Mission
-
start
<R> OngoingReturningMissionRun<R> start(MissionStub0<R> stub)
Initiates the mission represented by the stub and returns control to the runningMission
- Type Parameters:
R
- the return type ofMission
- Parameters:
stub
- theMissionStub0
- Returns:
- control to the running
Mission
-
start
<P1> OngoingMissionRun start(VoidStub1<P1> stub, P1 p1)
Initiates the mission represented by the stub and returns control to the runningMission
- Type Parameters:
P1
- the type of parameter 1- Parameters:
stub
- theVoidStub1
p1
- the parameter 1 ofMission
- Returns:
- control to the running
Mission
-
start
<P1,R> OngoingReturningMissionRun<R> start(MissionStub1<P1,R> stub, P1 p1)
Initiates the mission represented by the stub and returns control to the runningMission
- Type Parameters:
P1
- the type of parameter 1R
- the return type ofMission
- Parameters:
stub
- theMissionStub1
p1
- the parameter 1 ofMission
- Returns:
- control to the running
Mission
-
start
<P1,P2> OngoingMissionRun start(VoidStub2<P1,P2> stub, P1 p1, P2 p2)
Initiates the mission represented by the stub and returns control to the runningMission
- Type Parameters:
P1
- the type of parameter 1P2
- the type of parameter 2- Parameters:
stub
- theVoidStub2
p1
- the parameter 1 ofMission
p2
- the parameter 2 ofMission
- Returns:
- control to the running
Mission
-
start
<P1,P2,R> OngoingReturningMissionRun<R> start(MissionStub2<P1,P2,R> stub, P1 p1, P2 p2)
Initiates the mission represented by the stub and returns control to the runningMission
- Type Parameters:
P1
- the type of parameter 1P2
- the type of parameter 2R
- the return type ofMission
- Parameters:
stub
- theMissionStub2
p1
- the parameter 1 ofMission
p2
- the parameter 2 ofMission
- Returns:
- control to the running
Mission
-
-