1 /***
2 * DependencyContext.java
3 *
4 * Project: Dependency Tool
5 *
6 * WHEN WHO WHAT
7 * 06.06.2003 pko initial public release
8 * 04.10.2002 pko creation
9 *
10 * Copyright 2003 ELCA Informatique SA
11 * Av. de la Harpe 22-24, 1000 Lausanne 13, Switzerland
12 * www.elca.ch
13 *
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public License
16 * as published by the Free Software Foundation; either version 2.1 of
17 * the License, or (at your option) any later version.
18 *
19 * This library is distributed in the hope that it will be useful, but
20 * WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
23 *
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with this library; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
27 * USA
28 */
29
30 package ch.elca.dependency.core;
31
32 import java.util.Hashtable;
33
34 /***
35 * <code>DependencyContext</code> used as a Context in which to create
36 * a DependencyModel. It means that this class serves the Analyzer all
37 * necessary informations for creation of a DependencyModel.
38 *
39 * @author Pawel Kowalski
40 * @version 1.0-beta
41 */
42 public class DependencyContext extends Hashtable {
43
44 /***
45 * Key to store and retrieve the Root of the Project to be analyzed.
46 */
47 public static final String ROOT_FILE_KEY = "root-file-key";
48
49 /***
50 * Key to store and retrieve the location of a Report configuration.
51 */
52 public static final String REPORT_CONFIG_KEY = "report-config-key";
53
54 /***
55 * Key to store and retrieve the Basic Filter.
56 */
57 public static final String BASIC_FILTER_KEY = "basic-filter-key";
58
59 /***
60 * Key to store and retrieve the location of a Perspective config.
61 */
62 public static final String PERSPECTIVES_KEY = "perspectives-key";
63
64 /***
65 * Key to store and retrieve the NO-WIN property.
66 */
67 public static final String NOWIN_KEY = "nowin-key";
68
69 /***
70 * Key to store and retrieve the PROXY property.
71 */
72 public static final String PROXY_KEY = "proxy-key";
73
74 /***
75 * Key to request a cmd-line usage information of the DependencyTool.
76 */
77 public static final String HELP_KEY = "help-key";
78
79 /***
80 * With this method the user can check, whether this
81 * DependencyContext is sufficient for creation of a
82 * DependencyModel.
83 *
84 * @return a <code>boolean</code> value
85 */
86 public boolean suffices() {
87 return true;
88 }
89 }
This page was automatically generated by Maven