|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectActionImpl
hirondelle.web4jtools.metrics.base.MetricsAction
public abstract class MetricsAction
Abstract Base Class for most Actions related to metrics.
Confirms that a scan of the base directory has been performed. If not, then the user is advised to use the Summary page first.
Field Summary | |
---|---|
protected List<FileInfo> |
fFileList
If this List<FileInfo> is not in session scope, then an error message is
presented to the user. |
Fields inherited from class ActionImpl |
---|
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID |
Constructor Summary | |
---|---|
MetricsAction(ResponsePage aResponsePage,
RequestParser aRequestParser)
Full constructor. |
Method Summary | |
---|---|
protected abstract void |
calculateMetric()
Abstract method implemented by subclasses, and called by execute() . |
ResponsePage |
execute()
Template method. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<FileInfo> fFileList
List<FileInfo>
is not in session scope, then an error message is
presented to the user. This is is basic data structure used for source code statistics.
It represents data that is read in when the user 'scans the source code',
using the Summary page.
Constructor Detail |
---|
public MetricsAction(ResponsePage aResponsePage, RequestParser aRequestParser)
Method Detail |
---|
public ResponsePage execute() throws AppException
fFileList
is present in session scope as expected, then calculateMetric()
is called; otherwise, an error message is presented to the user.
execute
in interface Action
execute
in class ActionImpl
AppException
protected abstract void calculateMetric()
execute()
.
|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |