Package io.molr.mole.core.support.domain
Class StubData.Builder
- java.lang.Object
-
- io.molr.mole.core.support.domain.StubData.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StubData.Builder
addParameter(io.molr.commons.domain.Placeholder<?> param)
StubData
build()
Builds theStubData
with fields initialized by the builderStubData.Builder
setReturnType(java.lang.Class<?> returnType)
-
-
-
Method Detail
-
setReturnType
public StubData.Builder setReturnType(java.lang.Class<?> returnType)
- Parameters:
returnType
- the type of return value forMission
being represented- Returns:
- the
StubData.Builder
to buildStubData
-
addParameter
public StubData.Builder addParameter(io.molr.commons.domain.Placeholder<?> param)
- Parameters:
param
- the parameter toMission
being represented- Returns:
- the
StubData.Builder
to buildStubData
-
-