Class MissionStub1<P1,​R>

  • Type Parameters:
    P1 - the type for parameter 1
    R - the type for return value of Mission being represented
    Direct Known Subclasses:
    VoidStub1

    public class MissionStub1<P1,​R>
    extends Object
    Represents a Mission which accepts one parameter and returns a value
    Author:
    HimanshuSahu31
    • Method Detail

      • mission

        public Mission mission()
        Returns:
        the Mission being represented
      • returnType

        public Class<R> returnType()
        Returns:
        the type for return value of Mission being represented
      • parameters

        public Map<String,​Object> parameters​(P1 p1)
        The parameter map required by the represented Mission is constructed by the arguments provided.
        Parameters:
        p1 - the parameter 1
        Returns:
        the parameter map constructed with the arguments provided
      • parameterAt

        protected Placeholder<?> parameterAt​(int index)
        Parameters:
        index - the index of parameter
        Returns:
        the Placeholder for parameter at given index