Package io.molr.mole.core.support.domain
Class VoidStub0
- java.lang.Object
-
- io.molr.mole.core.support.domain.MissionStub0<java.lang.Void>
-
- io.molr.mole.core.support.domain.VoidStub0
-
public class VoidStub0 extends MissionStub0<java.lang.Void>
Represents aMission
which does not accept any parameter and does not return a value
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> MissionStub0<R>
returning(java.lang.Class<R> returnType)
Constructs a representation ofMission
which does not accept any parameter and returns a value<P1> VoidStub1<P1>
withParameters(io.molr.commons.domain.Placeholder<P1> p1)
Constructs a representation ofMission
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 ofMission
which accepts two parameters and does not return any value<P1,P2,P3>
VoidStub3<P1,P2,P3>withParameters(io.molr.commons.domain.Placeholder<P1> p1, io.molr.commons.domain.Placeholder<P2> p2, io.molr.commons.domain.Placeholder<P3> p3)
-
Methods inherited from class io.molr.mole.core.support.domain.MissionStub0
mission, parameters, returnType
-
-
-
-
Method Detail
-
returning
public <R> MissionStub0<R> returning(java.lang.Class<R> returnType)
Constructs a representation ofMission
which does not accept any parameter and returns a value- Type Parameters:
R
- the return type- Parameters:
returnType
- the type for return value ofMission
being represented- Returns:
- an instance of
MissionStub0
-
withParameters
public <P1> VoidStub1<P1> withParameters(io.molr.commons.domain.Placeholder<P1> p1)
Constructs a representation ofMission
which accepts one parameter and does not return any value- Overrides:
withParameters
in classMissionStub0<java.lang.Void>
- Type Parameters:
P1
- the type of parameter 1- Parameters:
p1
- thePlaceholder
for parameter 1- Returns:
- an instance of
VoidStub1
-
withParameters
public <P1,P2> VoidStub2<P1,P2> withParameters(io.molr.commons.domain.Placeholder<P1> p1, io.molr.commons.domain.Placeholder<P2> p2)
Constructs a representation ofMission
which accepts two parameters and does not return any value- Overrides:
withParameters
in classMissionStub0<java.lang.Void>
- Type Parameters:
P1
- the type of parameter 1P2
- the type of parameter 1- Parameters:
p1
- thePlaceholder
for parameter 1p2
- thePlaceholder
for parameter 2- Returns:
- an instance of
VoidStub2
-
withParameters
public <P1,P2,P3> VoidStub3<P1,P2,P3> withParameters(io.molr.commons.domain.Placeholder<P1> p1, io.molr.commons.domain.Placeholder<P2> p2, io.molr.commons.domain.Placeholder<P3> p3)
-
-