R
- the type for return value of Mission
being representedpublic class MissionStub0<R>
extends java.lang.Object
Mission
which does not accept parameters and returns a valueConstructor and Description |
---|
MissionStub0(io.molr.commons.domain.Mission mission,
java.lang.Class<R> returnType) |
MissionStub0(java.lang.String missionName,
java.lang.Class<R> returnType) |
Modifier and Type | Method and Description |
---|---|
io.molr.commons.domain.Mission |
mission() |
java.util.Map<java.lang.String,java.lang.Object> |
parameters()
The parameter map required by the represented
Mission is constructed by the arguments provided. |
java.lang.Class<R> |
returnType() |
<P1> MissionStub1<P1,R> |
withParameters(io.molr.commons.domain.Placeholder<P1> p1)
Constructs a representation of
Mission which accepts one parameter and returns a value |
<P1,P2> MissionStub2<P1,P2,R> |
withParameters(io.molr.commons.domain.Placeholder<P1> p1,
io.molr.commons.domain.Placeholder<P2> p2)
Constructs a representation of
Mission which accepts two parameters and returns a value |
public MissionStub0(io.molr.commons.domain.Mission mission, java.lang.Class<R> returnType)
mission
- the Mission
being representedreturnType
- the type for return value of Mission
being representedpublic MissionStub0(java.lang.String missionName, java.lang.Class<R> returnType)
missionName
- the mission namereturnType
- the type for return value of Mission
being representedpublic <P1> MissionStub1<P1,R> withParameters(io.molr.commons.domain.Placeholder<P1> p1)
Mission
which accepts one parameter and returns a valueP1
- the type of parameter 1p1
- the Placeholder
for parameter 1MissionStub1
public <P1,P2> MissionStub2<P1,P2,R> withParameters(io.molr.commons.domain.Placeholder<P1> p1, io.molr.commons.domain.Placeholder<P2> p2)
Mission
which accepts two parameters and returns a valueP1
- the type of parameter 1P2
- the type of parameter 2p1
- the Placeholder
for parameter 1p2
- the Placeholder
for parameter 2MissionStub1
public io.molr.commons.domain.Mission mission()
Mission
being representedpublic java.lang.Class<R> returnType()
Mission
being representedpublic java.util.Map<java.lang.String,java.lang.Object> parameters()
Mission
is constructed by the arguments provided.