Class VoidStub0


  • public class VoidStub0
    extends MissionStub0<java.lang.Void>
    Represents a Mission which does not accept any parameter and does not return a value
    • Constructor Summary

      Constructors 
      Constructor Description
      VoidStub0​(io.molr.commons.domain.Mission mission)  
      VoidStub0​(java.lang.String missionName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <R> MissionStub0<R> returning​(java.lang.Class<R> returnType)
      Constructs a representation of Mission which does not accept any parameter and returns a value
      <P1> VoidStub1<P1> withParameters​(io.molr.commons.domain.Placeholder<P1> p1)
      Constructs a representation of Mission which accepts one parameter and does not return any value
      <P1,​P2>
      VoidStub2<P1,​P2>
      withParameters​(io.molr.commons.domain.Placeholder<P1> p1, io.molr.commons.domain.Placeholder<P2> p2)
      Constructs a representation of Mission which accepts two parameters and does not return any value
      <P1,​P2,​P3>
      VoidStub3<P1,​P2,​P3>
      withParameters​(io.molr.commons.domain.Placeholder<P1> p1, io.molr.commons.domain.Placeholder<P2> p2, io.molr.commons.domain.Placeholder<P3> p3)  
      • Methods inherited from class java.lang.Object

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

      • VoidStub0

        public VoidStub0​(io.molr.commons.domain.Mission mission)
        Parameters:
        mission - the Mission being represented
      • VoidStub0

        public VoidStub0​(java.lang.String missionName)
        Parameters:
        missionName - the mission name
    • Method Detail

      • returning

        public <R> MissionStub0<R> returning​(java.lang.Class<R> returnType)
        Constructs a representation of Mission which does not accept any parameter and returns a value
        Type Parameters:
        R - the return type
        Parameters:
        returnType - the type for return value of Mission being represented
        Returns:
        an instance of MissionStub0
      • withParameters

        public <P1> VoidStub1<P1> withParameters​(io.molr.commons.domain.Placeholder<P1> p1)
        Constructs a representation of Mission which accepts one parameter and does not return any value
        Overrides:
        withParameters in class MissionStub0<java.lang.Void>
        Type Parameters:
        P1 - the type of parameter 1
        Parameters:
        p1 - the Placeholder for parameter 1
        Returns:
        an instance of VoidStub1
      • withParameters

        public <P1,​P2> VoidStub2<P1,​P2> withParameters​(io.molr.commons.domain.Placeholder<P1> p1,
                                                                   io.molr.commons.domain.Placeholder<P2> p2)
        Constructs a representation of Mission which accepts two parameters and does not return any value
        Overrides:
        withParameters in class MissionStub0<java.lang.Void>
        Type Parameters:
        P1 - the type of parameter 1
        P2 - the type of parameter 1
        Parameters:
        p1 - the Placeholder for parameter 1
        p2 - the Placeholder for parameter 2
        Returns:
        an instance of VoidStub2
      • withParameters

        public <P1,​P2,​P3> VoidStub3<P1,​P2,​P3> withParameters​(io.molr.commons.domain.Placeholder<P1> p1,
                                                                                     io.molr.commons.domain.Placeholder<P2> p2,
                                                                                     io.molr.commons.domain.Placeholder<P3> p3)