public class ActionConfigSet extends java.lang.Object implements java.lang.Comparable<ActionConfigSet>
action configs with the same action path
but with different http method.| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
actionPath |
PathMacros |
actionPathMacros |
protected ActionConfig[] |
configs |
int |
deep |
| Constructor and Description |
|---|
ActionConfigSet(java.lang.String actionPath,
PathMacros pathMacros)
Creates new action config set.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(ActionConfig cfg)
Adds action configuration.
|
int |
compareTo(ActionConfigSet set) |
java.util.List<ActionConfig> |
getActionConfigs()
Returns a new list of all action configs from this set.
|
ActionConfig |
lookup(java.lang.String method)
Lookup for action config for given method.
|
protected int |
lookupIndex(java.lang.String method) |
protected ActionConfig[] configs
public final java.lang.String actionPath
public final int deep
public final PathMacros actionPathMacros
public ActionConfigSet(java.lang.String actionPath,
PathMacros pathMacros)
ActionConfigs, i.e. Madvoc
actions, with the same action path and different http method.actionPath - action pathpathMacros - action path macros if existing any or nullpublic java.util.List<ActionConfig> getActionConfigs()
public boolean add(ActionConfig cfg)
true if
new configuration replaces existing one.public ActionConfig lookup(java.lang.String method)
protected int lookupIndex(java.lang.String method)
public int compareTo(ActionConfigSet set)
compareTo in interface java.lang.Comparable<ActionConfigSet>Copyright © 2003-2013 Jodd Team