01: /*
02:
03: Copyright 2004 (C) John Wilson. All Rights Reserved.
04:
05: Redistribution and use of this software and associated documentation
06: ("Software"), with or without modification, are permitted provided
07: that the following conditions are met:
08:
09: 1. Redistributions of source code must retain copyright
10: statements and notices. Redistributions must also contain a
11: copy of this document.
12:
13: 2. Redistributions in binary form must reproduce the
14: above copyright notice, this list of conditions and the
15: following disclaimer in the documentation and/or other
16: materials provided with the distribution.
17:
18: 3. The name "groovy" must not be used to endorse or promote
19: products derived from this Software without prior written
20: permission of The Codehaus. For written permission,
21: please contact info@codehaus.org.
22:
23: 4. Products derived from this Software may not be called "groovy"
24: nor may "groovy" appear in their names without prior written
25: permission of The Codehaus. "groovy" is a registered
26: trademark of The Codehaus.
27:
28: 5. Due credit should be given to The Codehaus -
29: http://groovy.codehaus.org/
30:
31: THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS
32: ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
33: NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
34: FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
35: THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
36: INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
37: (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
38: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
39: HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
40: STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41: ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
42: OF THE POSSIBILITY OF SUCH DAMAGE.
43:
44: */
45:
46: package groovy.lang;
47:
48: public interface Buildable {
49: void build(GroovyObject builder);
50: }
|