|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| RescueMissionExploration.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
package org.durhamrescuemission;
|
|
| 2 |
|
|
| 3 |
import org.nakedobjects.Exploration;
|
|
| 4 |
import org.nakedobjects.object.NakedClassList;
|
|
| 5 |
|
|
| 6 |
/**
|
|
| 7 |
* @author <a href="mailto:matthew.todd@alumni.duke.edu">Matthew Todd</a>
|
|
| 8 |
*/
|
|
| 9 |
public class RescueMissionExploration extends Exploration { |
|
| 10 | 0 |
public static void main(String[] args) { |
| 11 | 0 |
new RescueMissionExploration();
|
| 12 |
} |
|
| 13 |
|
|
| 14 | 0 |
protected String configurationFile() {
|
| 15 |
// The default is "nakedobjects.properties", without the slash.
|
|
| 16 |
// Prepending the slash allows us to load as a resource from the
|
|
| 17 |
// classpath, so there's not an extra properties file lying around.
|
|
| 18 |
// See o.n.u.ConfigurationParameters#load and Class#getResource.
|
|
| 19 | 0 |
return "/nakedobjects.properties"; |
| 20 |
} |
|
| 21 |
|
|
| 22 | 0 |
public void classSet(NakedClassList classes) { |
| 23 | 0 |
classes.addClass(CheckIn.class);
|
| 24 | 0 |
classes.addClass(Resident.class);
|
| 25 |
} |
|
| 26 |
} |
|
| 27 |
|
|
||||||||||