public final class MissionStubs
extends java.lang.Object
Constructor and Description |
---|
MissionStubs() |
Modifier and Type | Method and Description |
---|---|
static VoidStub0 |
stub(java.lang.String missionName)
Constructs a
VoidStub0 which has zero arguments and no return type |
static <R> MissionStub0<R> |
stub(java.lang.String missionName,
java.lang.Class<R> returnType)
Constructs a
MissionStub0 which has zero arguments and a return type |
public static VoidStub0 stub(java.lang.String missionName)
VoidStub0
which has zero arguments and no return typemissionName
- the name of the Mission
VoidStub0
public static <R> MissionStub0<R> stub(java.lang.String missionName, java.lang.Class<R> returnType)
MissionStub0
which has zero arguments and a return typeR
- the type for return value of the Mission
missionName
- the name of the Mission
returnType
- the return type of the Mission
MissionStub0