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...

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
 

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::Job ( const String &  envName,
const String &  name,
QObject *   
)

◆ ~Job()

Job::~Job ( )

Member Function Documentation

◆ atdName()

String Job::atdName ( ) const

◆ automaticApprovalPolicy()

bool Job::automaticApprovalPolicy ( ) const

◆ envName()

String Job::envName ( ) const

◆ inProduction()

bool Job::inProduction ( ) const

◆ name()

String Job::name ( ) const

◆ priority()

int Job::priority ( ) const

◆ setAtdName()

void Job::setAtdName ( const String &  name)

◆ setAutomaticApprovalPolicy()

void Job::setAutomaticApprovalPolicy ( bool  )

◆ setInProduction()

void Job::setInProduction ( bool  )

◆ setPriority()

void Job::setPriority ( int  )

◆ setTdName()

void Job::setTdName ( const String &  name)

◆ tdName()

String Job::tdName ( ) const

Property Documentation

◆ atdName

String Job::atdName
readwrite

◆ automaticApprovalPolicy

bool Job::automaticApprovalPolicy
readwrite

◆ envName

String Job::envName
read

◆ inProduction

bool Job::inProduction
readwrite

◆ name

String Job::name
read

◆ priority

int Job::priority
readwrite

◆ tdName

String Job::tdName
readwrite