KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > tests > jfun > models > CopyCommand


1 /*****************************************************************************
2  * Copyright (C) Zephyr Business Solution. All rights reserved. *
3  * ------------------------------------------------------------------------- *
4  * The software in this package is published under the terms of the BSD *
5  * style license a copy of which has been included with this distribution in *
6  * the LICENSE.txt file. *
7  *****************************************************************************/

8
9 /*
10  * Created on Jun 20, 2005
11  *
12  * Author Ben Yu
13  * ZBS
14  */

15 package tests.jfun.models;
16
17 /**
18  * Zephyr Business Solution
19  *
20  * @author Ben Yu
21  *
22  */

23 public class CopyCommand {
24   private final String JavaDoc source;
25   private final String JavaDoc dest;
26   private boolean force = false;
27   private String JavaDoc options = "";
28   
29   public CopyCommand(final String JavaDoc source, final String JavaDoc dest) {
30     this.source = source;
31     this.dest = dest;
32   }
33   
34   public boolean isForce() {
35     return force;
36   }
37   public void setForce(boolean force) {
38     this.force = force;
39   }
40   public String JavaDoc getOptions() {
41     return options;
42   }
43   public void setOptions(String JavaDoc options) {
44     this.options = options;
45   }
46   public String JavaDoc getDest() {
47     return dest;
48   }
49   public String JavaDoc getSource() {
50     return source;
51   }
52 }
53
Popular Tags