![]() |
![]() |
![]() |
![]() |
This chapter describes which states a project can be in and which transitions between these states can be done. The semantics of each state and each transition are also described.
A project can have three states. Here the semantics of each state are described. See chapter 6, "Directory structure" for more information about directories.
When a project is in dynamic state, it means that it is under development. The administrator can freely create, import and delete tests etc. in it.
When the administrator feels that the project is ready for the test participants, the project can be moved into active state. Active state means that results originating from clients that have completed the project in question, will be accepted by the administrator program.
A project in active state is located in the "active" directory of AudioJuryAdministrator. Also, if a writable shared folder is defined and exists, a copy of the project is located there.
When the administrator feels that enough test results have been generated, the test can be moved into closed state. Incoming results for closed projects will be discarded by the administrator program.
Just as the states themselves have a certain semantic, so do the transitions between them. When a project goes from one state to another, a number of things happen. This section describes that.
1. When a project is activated, the project directory is copied from the "dynamic" directory to the "active" directory. The name of the copy is extended with a tag. The tag consists of the date and an extra integer on the form " (N.yyyy-mm-DD)". Where n is a positive integer that starts at 1 and gets incremented if there already is an activated copy of this project with the same date.
2. If a writable shared folder is defined and exists, the project copy is also copied to the shared folder.
Example: A project is called "Mayhem" and the current date is the 22:nd of February 2002. When the project gets activated the copy gets the name "Mayhem (1.2002-02-22)". Further assume that on the same day the dynamic project "Mayhem" gets edited further and is then activated again. A new copy with the name "Mayhem (2.2002-02-22)" will be created.
1. If a shared folder exists and a copy of the project is located there, all contents of the result directory of that project are copied into the results directory of the local active project directory.
3. If a writable shared folder is defined and exists and a copy of the project is located there, that copy is removed.
![]() Quadralay Corporation http://www.webworks.com Voice: (512) 719-3399 Fax: (512) 719-3606 sales@webworks.com |
![]() |
![]() |
![]() |
![]() |