Package io.molr.mole.core.support.domain
Class MissionStub3<P1,P2,P3,R>
- java.lang.Object
-
- io.molr.mole.core.support.domain.MissionStub3<P1,P2,P3,R>
-
- Type Parameters:
P1
- the type for parameter 1P2
- the type for parameter 2P3
- the type for parameter 3R
- the type for return value ofMission
being represented
- Direct Known Subclasses:
VoidStub3
public class MissionStub3<P1,P2,P3,R> extends Object
Represents aMission
which accepts thre parameters and returns a value- Author:
- HimanshuSahu31
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mission
mission()
protected Placeholder<?>
parameterAt(int index)
Map<String,Object>
parameters(P1 p1, P2 p2, P3 p3)
The parameter map required by the representedMission
is constructed by the arguments provided.Class<R>
returnType()
-
-
-
Method Detail
-
returnType
public Class<R> returnType()
- Returns:
- the type for return value of
Mission
being represented
-
parameters
public Map<String,Object> parameters(P1 p1, P2 p2, P3 p3)
The parameter map required by the representedMission
is constructed by the arguments provided.- Parameters:
p1
- the parameter 1p2
- the parameter 2p3
- the parameter 3- Returns:
- the parameter map constructed with the arguments provided
-
parameterAt
protected Placeholder<?> parameterAt(int index)
- Parameters:
index
- the index of parameter- Returns:
- the
Placeholder
for parameter at given index
-
-