01: /*
02: * Project: BeautyJ - Customizable Java Source Code Transformer
03: * Class: de.gulden.util.javasource.sourclet.SourcletOptions
04: * Version: 1.1
05: *
06: * Date: 2004-09-29
07: *
08: * Note: Contains auto-generated Javadoc comments created by BeautyJ.
09: *
10: * This is licensed under the GNU General Public License (GPL)
11: * and comes with NO WARRANTY. See file license.txt for details.
12: *
13: * Author: Jens Gulden
14: * Email: beautyj@jensgulden.de
15: */
16:
17: package de.gulden.util.javasource.sourclet;
18:
19: /**
20: * Class SourcletOptions.
21: *
22: * @author Jens Gulden
23: * @version 1.1
24: */
25: public interface SourcletOptions {
26:
27: // ------------------------------------------------------------------------
28: // --- methods ---
29: // ------------------------------------------------------------------------
30:
31: /**
32: * Gets a string value option.
33: */
34: public String getOption(String option);
35:
36: /**
37: * Gets an integer value option.
38: */
39: public int getIntOption(String option);
40:
41: /**
42: * Tests if a boolean option is selected.
43: */
44: public boolean isOption(String option);
45:
46: /**
47: * Tests if an option has the specified value.
48: */
49: public boolean isOption(String option, String value);
50:
51: /**
52: * Tests if a multi-value option has a specified value in its set of values.
53: */
54: public boolean hasOption(String option, String value);
55:
56: } // end SourcletOptions
|