A B C D E F G I L M N O P R S T U

A

AbstractEventHandler - class lcanals.tc.web.event.AbstractEventHandler.
Base class for event handlers.
AbstractEventHandler() - Constructor for class lcanals.tc.web.event.AbstractEventHandler
 

B

Break - class lcanals.tc.core.Break.
Description of a break
Break() - Constructor for class lcanals.tc.core.Break
Builds an empty break description

C

createPlan(String, String) - Method in interface lcanals.tc.core.Factory
Creates new empty plan
createPlan(String, String) - Method in class lcanals.tc.model.file.FactoryFile
Builds a new plan which will be stored automatically into a file for each access to each member function.
createPlanTask(Estimator, int, int, String) - Method in interface lcanals.tc.core.Factory
Creates a task to be used with plans with the given descriptions
createPlanTask(Estimator, int, int, String) - Method in class lcanals.tc.model.file.FactoryFile
Build a plan task setting time units to 1 minute

D

DEFAULT_EVENT - Static variable in interface lcanals.tc.web.event.EventHandler
Event when no event is said
dispatch(ServletContext, String, HttpServletRequest, HttpServletResponse) - Method in class lcanals.tc.web.event.AbstractEventHandler
Dispatch to the given NAME
doGet(HttpServletRequest, HttpServletResponse) - Method in class lcanals.tc.web.PersonalPlanController
Does not get any event, only permforms the default event
doGet(HttpServletRequest, HttpServletResponse) - Method in class lcanals.tc.web.ManageEstimatorController
Does not get any event, only permforms the default event which shows the page for managing an estimator
doPost(HttpServletRequest, HttpServletResponse) - Method in class lcanals.tc.web.PersonalPlanController
Receives the "event" parameter and executes it
doPost(HttpServletRequest, HttpServletResponse) - Method in class lcanals.tc.web.ManageEstimatorController
Updates the managed estimator, invoking update event.

E

equals(Object) - Method in interface lcanals.tc.core.Task
True if and only if the Tasks have the same id
equals(Object) - Method in class lcanals.tc.model.TaskBean
 
equals(Object) - Method in class lcanals.tc.model.PlanTaskBean
Two beans of this type are equals if and only if their ids are the same
ERROR_EVENT - Static variable in interface lcanals.tc.web.event.EventHandler
Event when an error occurs
ErrorEvent - class lcanals.tc.web.event.ErrorEvent.
Redirect to error page.
ErrorEvent() - Constructor for class lcanals.tc.web.event.ErrorEvent
 
estimateOnlineTask(PlanTask) - Method in class lcanals.tc.core.ManualEstimator
The same as estimateTask but updating user data if task is finished
estimateOnlineTask(PlanTask) - Method in interface lcanals.tc.core.Estimator
Calculates an estimation for the current task according to the given timming
estimateOnlineTask(PlanTask) - Method in class lcanals.tc.core.FixedEstimator
The same as estimateTask but updating user data if task is finished
estimateOnlineTask(PlanTask) - Method in class lcanals.tc.core.LinearRegressionEstimator
The same as estimateTask but updating user data if task is finished
estimateTask(Task) - Method in class lcanals.tc.core.ManualEstimator
 
estimateTask(Task) - Method in interface lcanals.tc.core.Estimator
Calculates a forecast estimation for the given task
estimateTask(Task) - Method in class lcanals.tc.core.FixedEstimator
 
estimateTask(Task) - Method in class lcanals.tc.core.LinearRegressionEstimator
estimatedProjectTime = f(d) where f(x)=a+bx maximumEstimatedProjectTime = (1+ r/4)·f(d)
Estimation - class lcanals.tc.core.Estimation.
Estimations about a task (duration, maximum duration)
Estimation(long, long, float) - Constructor for class lcanals.tc.core.Estimation
 
Estimator - interface lcanals.tc.core.Estimator.
Control class which calculates durations for tasks and plans
EstimatorInformation - interface lcanals.tc.core.EstimatorInformation.
Marker interface for objects with internal information about each estimator.
EventHandler - interface lcanals.tc.web.event.EventHandler.
Interface for the handlers of web events.
EventHandlerException - exception lcanals.tc.web.event.EventHandlerException.
Exception thrown when an EventHandler does any incorrect operation.
EventHandlerException(String) - Constructor for class lcanals.tc.web.event.EventHandlerException
 
eventHandlers - Variable in class lcanals.tc.web.GeneralController
Relationships between event string and event handler object

F

Factory - interface lcanals.tc.core.Factory.
Factory of core elements: tasks, timings and estimations.
FactoryFile - class lcanals.tc.model.file.FactoryFile.
Factory of core elements with storage into a file.
FactoryFile() - Constructor for class lcanals.tc.model.file.FactoryFile
 
FINISHED - Static variable in interface lcanals.tc.core.PlanTask
String returned by getStatus
FixedEstimator - class lcanals.tc.core.FixedEstimator.
Estimator which only considers the information about the user Particullary, it doesn't use any information about the plan or current spent of time in the task.
Updates (automatically) user data when a task is finished
FixedEstimator.Information - class lcanals.tc.core.FixedEstimator.Information.
Internal Information: performance, timeDifficulty and percentRisk.
FixedEstimator(float, float, float) - Constructor for class lcanals.tc.core.FixedEstimator
Builds an estimator for the given user data
forward(ServletContext, HttpServletRequest, HttpServletResponse) - Method in interface lcanals.tc.web.event.EventHandler
Redirects the response to a specific view.
forward(ServletContext, HttpServletRequest, HttpServletResponse) - Method in class lcanals.tc.web.event.ErrorEvent
Forward to ERROR url
forward(ServletContext, HttpServletRequest, HttpServletResponse) - Method in class lcanals.tc.web.event.estimator.SeeEstimatorEvent
Redirects the response to a specific view.
forward(ServletContext, HttpServletRequest, HttpServletResponse) - Method in class lcanals.tc.web.event.plan.NewTaskEvent
Redirects to the given URL or to an error parameters page.
forward(ServletContext, HttpServletRequest, HttpServletResponse) - Method in class lcanals.tc.web.event.plan.NewPlanEvent
Forward to nextPage parameter into the request
forward(ServletContext, HttpServletRequest, HttpServletResponse) - Method in class lcanals.tc.web.event.plan.UpdateTaskEvent
Redirects the response to a specific view.
forward(ServletContext, HttpServletRequest, HttpServletResponse) - Method in class lcanals.tc.web.event.plan.ShowPlanEvent
Forward to SHOW_PLAN url

G

GeneralController - class lcanals.tc.web.GeneralController.
Base servlet for controllers.
GeneralController() - Constructor for class lcanals.tc.web.GeneralController
 
getA() - Method in class lcanals.tc.core.LinearRegressionEstimator.Information
 
getB() - Method in class lcanals.tc.core.LinearRegressionEstimator.Information
 
getBreaksIterator() - Method in class lcanals.tc.core.Timing
Return an iterator over the list of breaks till the moment
getDescription() - Method in interface lcanals.tc.core.Plan
Returns the description of the plan
getDescription() - Method in class lcanals.tc.core.Break
Returnjs the desciprtion, null if none has been said about this break.
getDescription() - Method in interface lcanals.tc.core.Task
 
getDescription() - Method in class lcanals.tc.model.TaskBean
 
getDescription() - Method in class lcanals.tc.model.PlanTaskBean
 
getDescription() - Method in class lcanals.tc.model.file.PlanBean
Returns the description of the plan
getDifficulty() - Method in interface lcanals.tc.core.Task
 
getDifficulty() - Method in class lcanals.tc.model.TaskBean
 
getDifficulty() - Method in class lcanals.tc.model.PlanTaskBean
 
getEndTime() - Method in class lcanals.tc.core.Break
Returns the milliseconds when the break was ended, -1 if no value has been set.
getEstimatedMaximumTotalTime() - Method in interface lcanals.tc.core.PlanTask
Return the estimated maximum time to complete the task
getEstimatedMaximumTotalTime() - Method in class lcanals.tc.model.PlanTaskBean
 
getEstimatedMinimumTotalTime() - Method in interface lcanals.tc.core.PlanTask
Return the minimum estimated total time to complete the task
getEstimatedMinimumTotalTime() - Method in class lcanals.tc.model.PlanTaskBean
 
getEstimatedProjectTime() - Method in interface lcanals.tc.core.PlanTask
Return the estimated time must be used to complete the task
getEstimatedProjectTime() - Method in class lcanals.tc.model.PlanTaskBean
 
getEstimatedTotalTime() - Method in interface lcanals.tc.core.PlanTask
Return the estimated time to complete the task
getEstimatedTotalTime() - Method in class lcanals.tc.model.PlanTaskBean
 
getId() - Method in interface lcanals.tc.core.Task
 
getId() - Method in class lcanals.tc.model.TaskBean
 
getId() - Method in class lcanals.tc.model.PlanTaskBean
 
getInternalInformation() - Method in class lcanals.tc.core.ManualEstimator
 
getInternalInformation() - Method in interface lcanals.tc.core.Estimator
Returns a specific object with internal information about the estimator
getInternalInformation() - Method in class lcanals.tc.core.FixedEstimator
 
getInternalInformation() - Method in class lcanals.tc.core.LinearRegressionEstimator
 
getK() - Method in class lcanals.tc.core.LinearRegressionEstimator.Information
 
getMaximumProjectTime() - Method in interface lcanals.tc.core.PlanTask
Return the estimated maximum time must be used to complete the task
getMaximumProjectTime() - Method in class lcanals.tc.core.Estimation
Returns project_time + deviation
getMaximumProjectTime() - Method in class lcanals.tc.model.PlanTaskBean
 
getMaximumTotalTime() - Method in class lcanals.tc.core.Estimation
Returns the maximum estimated total time
getMinimumProjectTime() - Method in interface lcanals.tc.core.PlanTask
Return the estimated minimum time must be used to complete the task
getMinimumProjectTime() - Method in class lcanals.tc.core.Estimation
Returns project_time - deviation (or zero if this value is negative)
getMinimumProjectTime() - Method in class lcanals.tc.model.PlanTaskBean
 
getMinimumTotalTime() - Method in class lcanals.tc.core.Estimation
Returns the minimum estimated total time
getPercentRisk() - Method in class lcanals.tc.core.ManualEstimator.Information
 
getPercentRisk() - Method in class lcanals.tc.core.FixedEstimator.Information
 
getPerformance() - Method in class lcanals.tc.core.ManualEstimator.Information
 
getPerformance() - Method in class lcanals.tc.core.FixedEstimator.Information
 
getPerformance() - Method in class lcanals.tc.core.LinearRegressionEstimator.Information
 
getProjectTime() - Method in class lcanals.tc.core.Estimation
Returns the project_time
getRisk() - Method in interface lcanals.tc.core.Task
 
getRisk() - Method in class lcanals.tc.model.TaskBean
 
getRisk() - Method in class lcanals.tc.model.PlanTaskBean
 
getStartTime() - Method in class lcanals.tc.core.Break
Returns the milliseconds when the break was started, -1 if no value has been set.
getStatus() - Method in interface lcanals.tc.core.PlanTask
Returns a string saying the state.
getStatus() - Method in class lcanals.tc.model.PlanTaskBean
 
getTaskWithId(int) - Method in interface lcanals.tc.core.Plan
Return the PlanTaskBean with the given id, or null if not present
getTaskWithId(int) - Method in class lcanals.tc.model.file.PlanBean
Return the PlanTaskBean with the given id, or null if not present
getTimeDifficulty() - Method in class lcanals.tc.core.ManualEstimator.Information
 
getTimeDifficulty() - Method in class lcanals.tc.core.FixedEstimator.Information
 
getTimeUnit() - Method in interface lcanals.tc.core.PlanTask
Sets the number of milliseconds which represents each unit of time
getTimeUnit() - Method in class lcanals.tc.model.PlanTaskBean
Returns the unit of milliseconds in that the time functions of this bean return their values
getTiming() - Method in interface lcanals.tc.core.PlanTask
Returns the current timing related with this task
getTiming() - Method in class lcanals.tc.model.PlanTaskBean
Returns the timing related with this task
getTotalTime() - Method in class lcanals.tc.core.Estimation
Returns the total estimated time (project_time*performance)
getType() - Method in class lcanals.tc.core.ManualEstimator
 
getType() - Method in interface lcanals.tc.core.Estimator
Says the name of this type of Estimator
getType() - Method in class lcanals.tc.core.FixedEstimator
 
getType() - Method in class lcanals.tc.core.LinearRegressionEstimator
 
getUsedProjectTime() - Method in interface lcanals.tc.core.PlanTask
Total project used time
getUsedProjectTime() - Method in class lcanals.tc.model.PlanTaskBean
 
getUsedTotalTime() - Method in interface lcanals.tc.core.PlanTask
Total used time
getUsedTotalTime() - Method in class lcanals.tc.model.PlanTaskBean
 

I

IN_PAUSE - Static variable in interface lcanals.tc.core.PlanTask
String returned by getStatus
init() - Method in class lcanals.tc.web.GeneralController
Initializes event handlers table and factory of entities.
init() - Method in class lcanals.tc.web.PersonalPlanController
Load and instantiates the event handlers according to the Event.properties file
init() - Method in class lcanals.tc.web.ManageEstimatorController
Load and instantiates the event handlers for seeing and updating an estimator.
isFinished() - Method in interface lcanals.tc.core.PlanTask
Returns if the task is already finished
isFinished() - Method in class lcanals.tc.model.PlanTaskBean
 
isInPause() - Method in class lcanals.tc.core.Timing
Says if timing is in pause (started, paused, but not stopped)
isStarted() - Method in class lcanals.tc.core.Timing
Says if timing is started but not stopped yet
isStopped() - Method in class lcanals.tc.core.Timing
Says if timing is stopped

L

lcanals.tc.core - package lcanals.tc.core
Core classes and interfaces for the time calculator.
lcanals.tc.model - package lcanals.tc.model
Concrete implementations for interfaces in package core.
lcanals.tc.model.file - package lcanals.tc.model.file
Factories and beans implementations to use filesystem as persistent storage.
lcanals.tc.web - package lcanals.tc.web
Controllers of the web layer.
lcanals.tc.web.event - package lcanals.tc.web.event
Events of the application.
lcanals.tc.web.event.estimator - package lcanals.tc.web.event.estimator
Events to manage different kind of estimators.
lcanals.tc.web.event.plan - package lcanals.tc.web.event.plan
Events to manage a plan and its tasks.
learnTask(PlanTask) - Method in class lcanals.tc.core.ManualEstimator
 
learnTask(PlanTask) - Method in interface lcanals.tc.core.Estimator
Learns from the given ended task
learnTask(PlanTask) - Method in class lcanals.tc.core.FixedEstimator
 
learnTask(PlanTask) - Method in class lcanals.tc.core.LinearRegressionEstimator
To learn a new element, the oldest one must be forgotten.
LinearRegressionEstimator - class lcanals.tc.core.LinearRegressionEstimator.
 
LinearRegressionEstimator.Information - class lcanals.tc.core.LinearRegressionEstimator.Information.
Class for internal state access
LinearRegressionEstimator(float, int, float) - Constructor for class lcanals.tc.core.LinearRegressionEstimator
Builds a new estimator

M

ManageEstimatorController - class lcanals.tc.web.ManageEstimatorController.
Controller to generate a estimator control view and take the new parameters to update it.
ManageEstimatorController() - Constructor for class lcanals.tc.web.ManageEstimatorController
 
ManualEstimator - class lcanals.tc.core.ManualEstimator.
Estimator which only considers the information given explicitly by the user
ManualEstimator.Information - class lcanals.tc.core.ManualEstimator.Information.
Class for internal state access
ManualEstimator(float, float, float) - Constructor for class lcanals.tc.core.ManualEstimator
Builds an estimator for the given user data

N

NewPlanEvent - class lcanals.tc.web.event.plan.NewPlanEvent.
Creates a new plan without tasks and stores it into the user's session.
NewPlanEvent() - Constructor for class lcanals.tc.web.event.plan.NewPlanEvent
 
NewTaskEvent - class lcanals.tc.web.event.plan.NewTaskEvent.
Event which adds a new task to the current plan.
NewTaskEvent() - Constructor for class lcanals.tc.web.event.plan.NewTaskEvent
 
NOT_STARTED - Static variable in interface lcanals.tc.core.PlanTask
String returned by getStatus

O

obtainCurrentPlan(String) - Method in interface lcanals.tc.core.Factory
Takes the current plan for the given user name
obtainCurrentPlan(String) - Method in class lcanals.tc.model.file.FactoryFile
Takes the current plan for the given user name from file
obtainEstimator(String) - Method in interface lcanals.tc.core.Factory
Gets the estimator for the given user
obtainEstimator(String) - Method in class lcanals.tc.model.file.FactoryFile
Read the estimator for the user from file or creates if no file exists.

P

pause(String) - Method in class lcanals.tc.core.Timing
Pauses the timing, signaling a break
performance() - Method in class lcanals.tc.core.Timing
Return the current calculated performance according to the current breaks.
PersonalPlanController - class lcanals.tc.web.PersonalPlanController.
Servlet which gets information from POST and process an event.
PersonalPlanController() - Constructor for class lcanals.tc.web.PersonalPlanController
 
Plan - interface lcanals.tc.core.Plan.
Set of tasks.
PlanBean - class lcanals.tc.model.file.PlanBean.
Set of tasks.
PlanBean() - Constructor for class lcanals.tc.model.file.PlanBean
Builds a new empty plan bean For conformance with Java Beans specifications
PlanBean(int, String) - Constructor for class lcanals.tc.model.file.PlanBean
Builds a new empty plan bean with the given id
PlanTask - interface lcanals.tc.core.PlanTask.
Task data to be handled into a Plan.
PlanTaskBean - class lcanals.tc.model.PlanTaskBean.
Bean which represents a line in the plan.
PlanTaskBean(int, Task, Estimation, Timing, long) - Constructor for class lcanals.tc.model.PlanTaskBean
Builds a new task bean description.
process(ServletContext, HttpServletRequest) - Method in interface lcanals.tc.web.event.EventHandler
Process the received parameters from the request.
process(ServletContext, HttpServletRequest) - Method in class lcanals.tc.web.event.ErrorEvent
Do nothing
process(ServletContext, HttpServletRequest) - Method in class lcanals.tc.web.event.estimator.SeeEstimatorEvent
Process the received parameters from the request.
process(ServletContext, HttpServletRequest) - Method in class lcanals.tc.web.event.plan.NewTaskEvent
Creates a new task and inserts it into the user session object.
process(ServletContext, HttpServletRequest) - Method in class lcanals.tc.web.event.plan.NewPlanEvent
Stores a new plan into the session.
process(ServletContext, HttpServletRequest) - Method in class lcanals.tc.web.event.plan.UpdateTaskEvent
Update the task into the plan within the user's session.
process(ServletContext, HttpServletRequest) - Method in class lcanals.tc.web.event.plan.ShowPlanEvent
Shows the current user's plan.
processEvent(String, HttpServletRequest, HttpServletResponse) - Method in class lcanals.tc.web.GeneralController
Process the event, executing it and forwarding to the desired page (or to error page if an exception occurs).
projectTime() - Method in class lcanals.tc.core.Timing
Returns the spent time for this timing (without breaks) in milliseconds

R

recalculateTasks(Estimator) - Method in interface lcanals.tc.core.Plan
Updates the estimations for the tasks (only for those one aren't finished)
recalculateTasks(Estimator) - Method in class lcanals.tc.model.file.PlanBean
Recalculates currently not finished tasks
removeTask(PlanTask) - Method in interface lcanals.tc.core.Plan
Removes a task
removeTask(PlanTask) - Method in class lcanals.tc.model.file.PlanBean
Removes a task
resume() - Method in class lcanals.tc.core.Timing
Resumes the timing, signaling the end of the pause
RUNNING - Static variable in interface lcanals.tc.core.PlanTask
String returned by getStatus

S

SeeEstimatorEvent - class lcanals.tc.web.event.estimator.SeeEstimatorEvent.
Event to see information about user's estimator.
SeeEstimatorEvent() - Constructor for class lcanals.tc.web.event.estimator.SeeEstimatorEvent
 
setA(float) - Method in class lcanals.tc.core.LinearRegressionEstimator.Information
 
setB(float) - Method in class lcanals.tc.core.LinearRegressionEstimator.Information
 
setDescription(String) - Method in class lcanals.tc.core.Break
Sets the description.
setEndTime(long) - Method in class lcanals.tc.core.Break
Sets the time (in millisecons from 1-1-1970) when the break has been started
setEstimation(Estimation) - Method in interface lcanals.tc.core.PlanTask
Changes the estimation
setEstimation(Estimation) - Method in class lcanals.tc.model.PlanTaskBean
Updates estimation
setK(float) - Method in class lcanals.tc.core.LinearRegressionEstimator.Information
 
setPercentRisk(float) - Method in class lcanals.tc.core.ManualEstimator.Information
 
setPerformance(float) - Method in class lcanals.tc.core.ManualEstimator.Information
 
setPerformance(float) - Method in class lcanals.tc.core.LinearRegressionEstimator.Information
 
setStartTime(long) - Method in class lcanals.tc.core.Break
Sets the time (in millisecons from 1-1-1970) when the break has been started
setTask(PlanTask) - Method in interface lcanals.tc.core.Plan
Adds a task to the plan (or changes a present task with the same id)
setTask(PlanTask) - Method in class lcanals.tc.model.file.PlanBean
Adds new task to the plan or substitutes a task
setTimeDifficulty(float) - Method in class lcanals.tc.core.ManualEstimator.Information
 
setTimeUnit(long) - Method in interface lcanals.tc.core.PlanTask
Returns the number of milliseconds which represents each unit of time.
setTimeUnit(long) - Method in class lcanals.tc.model.PlanTaskBean
Sets the unit of milliseconds in that the time functions of this bean will return their values
ShowPlanEvent - class lcanals.tc.web.event.plan.ShowPlanEvent.
Shows the plan for the given user reading data from a file.
ShowPlanEvent() - Constructor for class lcanals.tc.web.event.plan.ShowPlanEvent
 
signalPlayPause(String) - Method in interface lcanals.tc.core.PlanTask
Receives a play/pause signal (ignored if task is finished yet)
signalPlayPause(String) - Method in class lcanals.tc.model.PlanTaskBean
Receives a play/pause signal (ignored if task is finished yet)
signalStop() - Method in interface lcanals.tc.core.PlanTask
Receives a stop signal, which ends the task
signalStop() - Method in class lcanals.tc.model.PlanTaskBean
Receives a stop signal, which ends the task
start() - Method in class lcanals.tc.core.Timing
Signals the start of the timing
stop() - Method in class lcanals.tc.core.Timing
Signals the end of the timing

T

Task - interface lcanals.tc.core.Task.
Task data, inserted by the user.
TaskBean - class lcanals.tc.model.TaskBean.
Task data, inserted by the user.
TaskBean(int, int, int, String) - Constructor for class lcanals.tc.model.TaskBean
Builds a new task, according to the immutable pattern
tasksIterator() - Method in interface lcanals.tc.core.Plan
Returns an iterator over the set of the all tasks which conform this plan.
tasksIterator() - Method in class lcanals.tc.model.file.PlanBean
Returns an iterator over the tasks of this plan
timeInBreaks() - Method in class lcanals.tc.core.Timing
Returns total amount of time spent in breaks (in millis)
Timing - class lcanals.tc.core.Timing.
Information about the use of the time for a task
Timing(int) - Constructor for class lcanals.tc.core.Timing
Builds an empty new timing
totalTime() - Method in class lcanals.tc.core.Timing
Returns the total amount of time spent in this timing

U

UpdateTaskEvent - class lcanals.tc.web.event.plan.UpdateTaskEvent.
Updates a task with new signals.
UpdateTaskEvent() - Constructor for class lcanals.tc.web.event.plan.UpdateTaskEvent
 

A B C D E F G I L M N O P R S T U

Luis F. Canals. Supported by www.sourceforge.net