Class StubData


  • public final class StubData
    extends Object
    Provides capabilities to Missions Stubs for accessing data and generating parameters
    Author:
    HimanshuSahu31
    • Method Detail

      • mission

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

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

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

        public Map<String,​Object> parameters​(Object... objects)
        The parameter map required by the represented Mission is constructed by the arguments provided.
        Parameters:
        objects - the paramters to Mission being represented
        Returns:
        the parameter map constructed with the arguments provided