|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.bundle.ActionConfiguration
public final class ActionConfiguration
contains the method configurations for an action.
| Constructor Summary | |
|---|---|
ActionConfiguration(java.lang.String a)
creates a new ActionConfiguration for the given action. |
|
| Method Summary | |
|---|---|
void |
add(ControllerMethodConfiguration conf)
adds a method configuration to the action configuration. |
boolean |
equals(java.lang.Object obj)
returns whether the given object is equal to this ActionConfiguration. |
java.lang.String |
getAction()
returns the name of the action. |
java.util.Set<ControllerMethodConfiguration> |
getMethodConfigurations()
returns the method configurations. |
Action.Security |
getSecurity()
returns the required level of security. |
int |
hashCode()
returns the hash code of the ActionConfiguration, which is based
upon the action's name. |
boolean |
isGenerate()
returns whether the actions is to be generated. |
boolean |
isStripSitemapId()
returns whether the sitemap-id shall be stripped from generated actions. |
boolean |
isStripSuffix()
returns whether the suffix shall be stripped from generated actions. |
boolean |
isUploadAllowed()
returns whether uploads are allowed for the action. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionConfiguration(java.lang.String a)
ActionConfiguration for the given action.
a - the action| Method Detail |
|---|
public void add(ControllerMethodConfiguration conf)
conf - the method configuration to addpublic java.lang.String getAction()
public java.util.Set<ControllerMethodConfiguration> getMethodConfigurations()
public boolean isGenerate()
public boolean isStripSitemapId()
public boolean isStripSuffix()
public boolean isUploadAllowed()
public Action.Security getSecurity()
public int hashCode()
ActionConfiguration, which is based
upon the action's name.
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object obj)
ActionConfiguration.
Two ActionConfigurations are considered equal, if they belong to
the same action.
equals in class java.lang.Objectobj - the object to check against
true, if and only if the given object is a
ActionConfiguration and the action matches this action.Object.equals(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||