Menu

[r181]: / javaontracks / src / net / jot / web / JOTFlowDirective.java  Maximize  Restore  History

Download this file

63 lines (50 with data), 1.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package net.jot.web;
import java.util.Vector;
public class JOTFlowDirective extends Vector
{
/**
*
*/
private static final long serialVersionUID = 1L;
public static final int UNSET=0;
public static final int DIRECTIVE_REQUEST=1;
public static final int DIRECTIVE_ACTION=2;
public static final int DIRECTIVE_ACTION_BUNDLE=3;
public int type=UNSET;
public String[] args=null;
public Vector markersToKeep=new Vector();
public Vector markers=new Vector();
public JOTFlowDirective(int type, String[] args)
{
this.type=type;
this.args=args;
}
public int getType()
{
return type;
}
public String[] getArgs()
{
return args;
}
public void keepMarker(String markerName)
{
markersToKeep.add(markerName);
}
public Vector getMarkers()
{
return markers;
}
public Vector getMarkersToKeep()
{
return markersToKeep;
}
public void setMarker(String markerName)
{
markers.add(markerName);
}
public String toString()
{
return getClass().getSimpleName()+" : "+super.toString();
}
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.