Job object
Job has fields:
-  Config
 -  Slot
 -  Selected classes
 -  Name
 -  List of tasks
 -  Status
 -  Failed methods
 
Job template object
Job template has fields:
Job use cases
Create/start job
Main: 
-  select config
 -  select slot
 -  select classes
 -  specify name
 
Conditions:
-  unique name
 -  slot exists
 -  slot checkout/recheckout/update task is successfully over
 -  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:
-  job exists
 -  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:
-  job exists
 -  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:
-  job exist
 -  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.
Job template use cases
Use template
Conditions:
-  Template exists
 -  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:
-  specify classes
 -  specify name
 
Conditions:
-  set of selected classes is not empty
 -  unique name
 
Interface:
User clicks checkbox save template. A special field became available. User enters a name for template.  
Delete template
Conditions:
-  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.