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 java.lang.Object
    Represents a Mission which accepts one parameter and returns a value
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.molr.commons.domain.Mission mission()  
      protected io.molr.commons.domain.Placeholder<?> parameterAt​(int index)  
      java.util.Map<java.lang.String,​java.lang.Object> parameters​(P1 p1)
      The parameter map required by the represented Mission is constructed by the arguments provided.
      java.lang.Class<R> returnType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • mission

        public io.molr.commons.domain.Mission mission()
        Returns:
        the Mission being represented
      • returnType

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

        public java.util.Map<java.lang.String,​java.lang.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 io.molr.commons.domain.Placeholder<?> parameterAt​(int index)
        Parameters:
        index - the index of parameter
        Returns:
        the Placeholder for parameter at given index