Interface IPirateHunter

    • Method Detail

      • getClientName

        java.lang.String getClientName()
        Name of the client
        Returns:
        name of the citizen issueing the request
      • getPirateName

        java.lang.String getPirateName()
        Retrieve the name of the client.
        Returns:
        name of the pirate
      • getPremium

        int getPremium()
        Retrieve the promissed premium.
        Returns:
        premium when the pirate is defeated.
      • setClientName

        void setClientName​(java.lang.String clientName)
        Set the name of the client
        Parameters:
        clientName - name of the requester
      • setPirateName

        void setPirateName​(java.lang.String pirateName)
        Set the name of the pirate
        Parameters:
        pirateName - name of hte pirate
      • setPremium

        void setPremium​(int premium)
        Set the premium
        Parameters:
        premium - to be paid after completion.