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 java.lang.Object
Represents aMission
which accepts thre parameters and returns a value
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.molr.commons.domain.Mission
mission()
protected io.molr.commons.domain.Placeholder<?>
parameterAt(int index)
java.util.Map<java.lang.String,java.lang.Object>
parameters(P1 p1, P2 p2, P3 p3)
The parameter map required by the representedMission
is constructed by the arguments provided.java.lang.Class<R>
returnType()
-
-
-
Method Detail
-
mission
public io.molr.commons.domain.Mission mission()
- Returns:
- the
Mission
being represented
-
returnType
public java.lang.Class<R> returnType()
- Returns:
- the type for return value of
Mission
being represented
-
parameters
public java.util.Map<java.lang.String,java.lang.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 2- Returns:
- the parameter map constructed with the arguments provided
-
parameterAt
protected io.molr.commons.domain.Placeholder<?> parameterAt(int index)
- Parameters:
index
- the index of parameter- Returns:
- the
Placeholder
for parameter at given index
-
-