MyWackoSite: JobUsecases ...

Home Page | Каталог | Изменения | НовыеКомментарии | Пользователи | Регистрация | Вход:  Пароль:  
Это старая версия JobUsecases за 2009-10-05 12:44:55..

Job object

Job has fields:

Job template object

Job template has fields:

Use cases

Create/start job

Main:
  1. select config
  2. select slot
  3. select classes
  4. specify name
Conditions:
  1. unique name
  2. slot exists
  3. slot checkout/recheckout/update task is successfully over
  4. config exists
Interface:
When user creates job he or she may choose only one template. Some classes would be selected. User can add or delete selected classes. User can click on checkbox “save template” and enter the name of new template. After that user will click button “start job” and he would be redirected to web-page with list of jobs. New job would be started.

Stop job

Conditions:
1) job exists
2) job is running
Interface:
On web-page with list of jobs user can click button “stop job”. After that button will have a new title “restart job”.

Restart job

Conditions:
1) job exists
2) job is stopped
Interface:
On web-page with list of jobs user can click button “restart job”. After that user would be redirected to web-page which is used in use-case create/start job.

Delete job

Conditions:
1) job exist
2) job is not running
Interface:
On web-page with list of jobs user can select several jobs using checkboxes and click button “delete job”. Selected jobs would be deleted.

Use template

Conditions:
1) Template exists
2) Template is specified
Interface:
On web page where user create job there is a list with templates. First position in this list is <None> and others are already existing templates. User can select only one template.

Save template

Main:
1) specify classes
2) specify name
Conditions:
1) set of selected classes is not empty
2) unique name
Interface:
User clicks checkbox “save template”. A special field became available. User enters a name for template.

Delete template

Conditions:
1) template exist
Interface:
Make special web-page with list of templates where user can select several templates using checkboxes and click button “delete template”. Selected templates would be deleted.

 
Файлов нет. [Показать файлы/форму]
Комментариев нет. [Показать комментарии/форму]