task4/solution14/src/org/apidesign/apifest08/currency/CurrencyRate.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sat, 18 Oct 2008 08:40:32 +0200
changeset 74 c2585d97e1e3
parent 54 1b300c79f4ce
permissions -rw-r--r--
We need to remove XML files describing the result of test run in case of successful build (e.g. there was a test failure) as that prevents Hudson from claiming the build is unstable.
     1 package org.apidesign.apifest08.currency;
     2 
     3 /**
     4  * This is interface for creating currency rates. The rate can be static or can change in time.
     5  * Implement this interface to inform the Convertor about the actual exchange rate between two currencies.
     6  */
     7 public interface CurrencyRate {
     8     public String getCurrency1();
     9     public String getCurrency2();
    10     public Rate getRate();
    11 }