BrightSide Workbench Full Report + Source Code
org.turro.dossier.project.ProjectPhaseWrapper Class Reference
Inheritance diagram for org.turro.dossier.project.ProjectPhaseWrapper:
Collaboration diagram for org.turro.dossier.project.ProjectPhaseWrapper:

Public Member Functions

 ProjectPhaseWrapper (Project project)
 
- Public Member Functions inherited from org.turro.phase.Phase
 Phase (PhaseDefinition current)
 
PhaseDefinition getCurrent ()
 
boolean isAutoChanging ()
 
boolean isChanged ()
 
synchronized void checkStatus (Date now)
 
synchronized void changeTo (PhaseDefinition newPhase)
 
boolean canChangeTo (PhaseDefinition newPhase)
 
String getName ()
 
SortedSet< PhaseDefinitiongetPossiblePhases ()
 

Protected Member Functions

PhaseDefinition doCheckPhase (Date now)
 
PhaseDefinition doChangeTo (PhaseDefinition newPhase)
 
- Protected Member Functions inherited from org.turro.phase.Phase
void onChanging (PhaseDefinition newStatus)
 
void onChanged (PhaseDefinition newStatus)
 
SortedSet< PhaseDefinitionallPhases ()
 

Additional Inherited Members

- Protected Attributes inherited from org.turro.phase.Phase
PhaseDefinition current
 
boolean autoChanging = false
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 31 of file ProjectPhaseWrapper.java.

Constructor & Destructor Documentation

◆ ProjectPhaseWrapper()

org.turro.dossier.project.ProjectPhaseWrapper.ProjectPhaseWrapper ( Project  project)

Definition at line 35 of file ProjectPhaseWrapper.java.

35  {
36  super(PhaseDefinitions.instance().get(project.getPhase()));
37  this.project = project;
38  }
Here is the call graph for this function:

Member Function Documentation

◆ doChangeTo()

PhaseDefinition org.turro.dossier.project.ProjectPhaseWrapper.doChangeTo ( PhaseDefinition  newPhase)
protected

Reimplemented from org.turro.phase.Phase.

Definition at line 46 of file ProjectPhaseWrapper.java.

46  {
47  project.setPhase(newPhase.getIndex());
48  return PhaseDefinitions.instance().get(project.getPhase());
49  }
Here is the call graph for this function:

◆ doCheckPhase()

PhaseDefinition org.turro.dossier.project.ProjectPhaseWrapper.doCheckPhase ( Date  now)
protected

Reimplemented from org.turro.phase.Phase.

Definition at line 41 of file ProjectPhaseWrapper.java.

41  {
42  return current;
43  }
PhaseDefinition current
Definition: Phase.java:31

The documentation for this class was generated from the following file: