|
|||||||||||||||||||
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 | |||||||||||||||
ExecuteContext.java | - | 66,7% | 66,7% | 66,7% |
|
1 |
/* |
|
2 |
* Angkor Web Framework |
|
3 |
* |
|
4 |
* Distributable under LGPL license. |
|
5 |
* See terms of license at gnu.org. |
|
6 |
*/ |
|
7 |
|
|
8 |
package com.tirsen.angkor.process; |
|
9 |
|
|
10 |
/** |
|
11 |
* <!-- $Id: ExecuteContext.java,v 1.3 2002/10/09 21:37:37 tirsen Exp $ --> |
|
12 |
* <!-- $Author: tirsen $ --> |
|
13 |
* |
|
14 |
* @author Jon Tirs´n (tirsen@users.sourceforge.net) |
|
15 |
* @version $Revision: 1.3 $ |
|
16 |
*/ |
|
17 |
public interface ExecuteContext |
|
18 |
{ |
|
19 |
public static class Attribute |
|
20 |
{ |
|
21 |
private String name; |
|
22 |
|
|
23 | 33 |
public Attribute(String name) |
24 |
{ |
|
25 | 33 |
this.name = name; |
26 |
} |
|
27 |
|
|
28 | 16 |
String getName() |
29 |
{ |
|
30 | 16 |
return name; |
31 |
} |
|
32 |
|
|
33 | 0 |
public String toString() |
34 |
{ |
|
35 | 0 |
return "ExecuteContext.Attribute[" + name + "]"; |
36 |
} |
|
37 |
} |
|
38 |
|
|
39 |
public static final Attribute RenderContextAttribute = new Attribute("RenderContext"); |
|
40 |
public static final Attribute ApplicationAttribute = new Attribute("Application"); |
|
41 |
public static final Attribute CurrentViewAttribute = new Attribute("CurrentView"); |
|
42 |
|
|
43 |
void executeNext() throws Exception; |
|
44 |
|
|
45 |
void setAttribute(Attribute attribute, Object value); |
|
46 |
|
|
47 |
Object getAttribute(Attribute attribute); |
|
48 |
} |
|
49 |
|
|