|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.j2ee.WarValidator org.apache.maven.struts.Struts10WarValidator
public class Struts10WarValidator
A class that validates a Struts 1.0 War File. Specific validations performed are:
type
and
className
that exist in the war
type
, className
that exist in the war
name
s must refer to a <form-bean> in the
struts configuraion
scope
must be either request
or
session
unknown
and validate
must be
true
or false
type
must be a class in the war
redirect
must be true
or
false
path
must refer to either a file in the war
(e.g. a jsp), or an action defined in the struts configuration
Constructor Summary | |
---|---|
Struts10WarValidator()
Creates a new instance of Struts10WarValidator |
Method Summary | |
---|---|
String |
getConfig()
Getter for Struts config location within the war (no leading slash). |
void |
setConfig(String config)
Setter for config location within the war (no leading slash) |
protected void |
validateWarContents()
Validate struts specific war features here |
Methods inherited from class org.apache.maven.j2ee.WarValidator |
---|
addFormatter, addValidationListener, endValidation, error, execute, getBroadcaster, getStatus, getWarFileName, info, isFailOnError, removeValidationListener, setFailOnError, setWarFileName, startValidation, toString, validate, validateClass, validateErrorPages, validateFormLoginConfig, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Struts10WarValidator()
Method Detail |
---|
public void setConfig(String config)
config
- New value of property config.public String getConfig()
WEB-INF/struts-config.xml
protected void validateWarContents()
validateWarContents
in class org.apache.maven.j2ee.WarValidator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |