|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectActionImpl
ActionTemplateShowAndApply
hirondelle.web4jtools.metrics.base.BaseInfoAction
public final class BaseInfoAction
Override base project information configured in web.xml, and show high level metrics to user.
Scans the local file system under the given base directory. Various statistics and listings are extracted.
Field Summary | |
---|---|
static RequestParameter |
BASE_DIRECTORY
|
static RequestParameter |
BASE_URI_FOR_FETCHING_IMAGES
|
static String |
FILE_INFO_LIST_KEY
Key for List stored in session scope. |
static String |
FILE_INFO_MAP_KEY
Key for Map stored in session scope. |
static RequestParameter |
PROJECT_NAME
|
Fields inherited from class ActionTemplateShowAndApply |
---|
SUPPORTED_OPERATION |
Fields inherited from class ActionImpl |
---|
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID |
Constructor Summary | |
---|---|
BaseInfoAction(RequestParser aRequestParser)
|
Method Summary | |
---|---|
protected void |
apply()
Save the changes to current settings, and recursively scan the files under the base directory. |
protected void |
show()
Show a form reflecting current settings. |
protected void |
validateUserInput()
Validate changes to current settings. |
Methods inherited from class ActionTemplateShowAndApply |
---|
execute |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final RequestParameter BASE_DIRECTORY
public static final RequestParameter PROJECT_NAME
public static final RequestParameter BASE_URI_FOR_FETCHING_IMAGES
public static final String FILE_INFO_MAP_KEY
This Map style retains directory information.
public static final String FILE_INFO_LIST_KEY
This List style removes directory information, and is useful for file listings. When the user changes the sorting, the re-sorted list should overwrite the object in session scope. That way, the latest sort used by the user will be retained.
Constructor Detail |
---|
public BaseInfoAction(RequestParser aRequestParser)
Method Detail |
---|
protected void show() throws AppException
show
in class ActionTemplateShowAndApply
AppException
protected void validateUserInput() throws AppException
validateUserInput
in class ActionTemplateShowAndApply
AppException
protected void apply() throws AppException
Creates an internal data structure to represent your application's source code.
apply
in class ActionTemplateShowAndApply
AppException
|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |