Class StubData.Builder

  • Enclosing class:
    StubData

    public static class StubData.Builder
    extends java.lang.Object
    The Builder class to build StubData with the fields set
    • Method Detail

      • setReturnType

        public StubData.Builder setReturnType​(java.lang.Class<?> returnType)
        Parameters:
        returnType - the type of return value for Mission being represented
        Returns:
        the StubData.Builder to build StubData
      • addParameter

        public StubData.Builder addParameter​(io.molr.commons.domain.Placeholder<?> param)
        Parameters:
        param - the parameter to Mission being represented
        Returns:
        the StubData.Builder to build StubData
      • build

        public StubData build()
        Builds the StubData with fields initialized by the builder
        Returns:
        an instance of StubData