DbScript
Public Member Functions | Properties | Private Attributes | List of all members
Job Class Reference

The Job defines the job parameters. The Job object can be instantiated in the scripting environment. A list of jobs can be retrieved by calling ControlCentre.jobs( environment ). A new job may be added by the following ( Note only ControlCentre modifies the database ) More...

#include <scriptojbects.h>

Inheritance diagram for Job:
Inheritance graph
[legend]
Collaboration diagram for Job:
Collaboration graph
[legend]

Public Member Functions

 Job (const String &envName, const String &name, QObject *)
 
 ~Job ()
 
String name () const
 
String envName () const
 
String tdName () const
 
void setTdName (const String &name)
 
String atdName () const
 
void setAtdName (const String &name)
 
bool automaticApprovalPolicy () const
 
void setAutomaticApprovalPolicy (bool)
 
bool inProduction () const
 
void setInProduction (bool)
 
int priority () const
 
void setPriority (int)
 

Properties

String name
 
String envName
 
String tdName
 
String atdName
 
bool automaticApprovalPolicy
 
bool inProduction
 
int priority
 

Private Attributes

String _envName
 
String _name
 
String _tdName
 
String _atdName
 
bool _automaticApprovalPolicy
 
bool _inProduction
 
int _priority
 

Detailed Description

The Job defines the job parameters. The Job object can be instantiated in the scripting environment. A list of jobs can be retrieved by calling ControlCentre.jobs( environment ). A new job may be added by the following ( Note only ControlCentre modifies the database )

var env = new Environment("TestEnv");
var job = new Job(env.name, "NewJob");

Constructor & Destructor Documentation

Job::Job ( const String &  envName,
const String &  name,
QObject *   
)
Job::~Job ( )

Member Function Documentation

String Job::atdName ( ) const
bool Job::automaticApprovalPolicy ( ) const
String Job::envName ( ) const
bool Job::inProduction ( ) const
String Job::name ( ) const
int Job::priority ( ) const
void Job::setAtdName ( const String &  name)
void Job::setAutomaticApprovalPolicy ( bool  )
void Job::setInProduction ( bool  )
void Job::setPriority ( int  )
void Job::setTdName ( const String &  name)
String Job::tdName ( ) const

Member Data Documentation

String Job::_atdName
private
bool Job::_automaticApprovalPolicy
private
String Job::_envName
private
bool Job::_inProduction
private
String Job::_name
private
int Job::_priority
private
String Job::_tdName
private

Property Documentation

String Job::atdName
readwriteprivate
bool Job::automaticApprovalPolicy
readwriteprivate
String Job::envName
readprivate
bool Job::inProduction
readwriteprivate
String Job::name
readprivate
int Job::priority
readwriteprivate
String Job::tdName
readwriteprivate

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