Job Class Reference

The Job defines the job parameters. More...

Public Member Functions

 Job (const String &environmentname, const String &name)
 Defines a job object associated to the given environment. More...
 

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 &  environmentname,
const String &  name 
)

Defines a job object associated to the given environment.

Parameters
environmentnamename of existing environment
namename

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