public class VoidStub0 extends MissionStub0<java.lang.Void>
Mission
which does not accept any parameter and does not return a valueConstructor and Description |
---|
VoidStub0(io.molr.commons.domain.Mission mission) |
VoidStub0(java.lang.String missionName) |
Modifier and Type | Method and Description |
---|---|
<R> MissionStub0<R> |
returning(java.lang.Class<R> returnType)
Constructs a representation of
Mission which does not accept any parameter and returns a value |
<P1> VoidStub1<P1> |
withParameters(io.molr.commons.domain.Placeholder<P1> p1)
Constructs a representation of
Mission which accepts one parameter and does not return any value |
<P1,P2> VoidStub2<P1,P2> |
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 does not return any value |
mission, parameters, returnType
public VoidStub0(io.molr.commons.domain.Mission mission)
mission
- the Mission
being representedpublic VoidStub0(java.lang.String missionName)
missionName
- the mission namepublic <R> MissionStub0<R> returning(java.lang.Class<R> returnType)
Mission
which does not accept any parameter and returns a valueR
- the return typereturnType
- the type for return value of Mission
being representedMissionStub0
public <P1> VoidStub1<P1> withParameters(io.molr.commons.domain.Placeholder<P1> p1)
Mission
which accepts one parameter and does not return any valuewithParameters
in class MissionStub0<java.lang.Void>
P1
- the type of parameter 1p1
- the Placeholder
for parameter 1VoidStub1
public <P1,P2> VoidStub2<P1,P2> withParameters(io.molr.commons.domain.Placeholder<P1> p1, io.molr.commons.domain.Placeholder<P2> p2)
Mission
which accepts two parameters and does not return any valuewithParameters
in class MissionStub0<java.lang.Void>
P1
- the type of parameter 1P2
- the type of parameter 1p1
- the Placeholder
for parameter 1p2
- the Placeholder
for parameter 2VoidStub2