{"size": 1819, "ext": "js", "max_stars_repo_path": "lib.in/jobs/job.js", "max_stars_repo_name": "RomanSaveljev/jenkins-job-builder-js", "max_stars_repo_stars_event_min_datetime": "2015-08-08T13:32:38.000Z", "max_stars_repo_stars_event_max_datetime": "2015-08-08T13:32:38.000Z", "max_issues_repo_path": "lib.in/jobs/job.js", "max_issues_repo_name": "RomanSaveljev/jenkins-job-builder-js", "max_issues_repo_issues_event_min_datetime": "2015-08-08T18:46:19.000Z", "max_issues_repo_issues_event_max_datetime": "2016-01-17T15:46:31.000Z", "max_forks_repo_path": "lib.in/jobs/job.js", "max_forks_repo_name": "RomanSaveljev/jenkins-job-builder-js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 94, "max_forks_count": null, "avg_line_length": 37.1224489796, "max_line_length": 63, "alphanum_fraction": 0.7163276526}
"use strict";

var util = require('../misc/util.js');
var Wrappers = require('./job/wrappers.js');
var Builders = require('./job/builders.js');
var HipChat = require('./job/hipchat.js');
var LogRotate = require('./job/logrotate.js');
var Maven = require('./job/maven.js');
var ExecutionStrategy = require('./job/execution-strategy.js');
var Axes = require('./job/axes.js');
var Metadata = require('./job/metadata.js');
var Notifications = require('./job/notifications.js');
var Parameters = require('./job/parameters.js');
var Properties = require('./job/properties.js');
var Publishers = require('./job/publishers.js');
var Reporters = require('./job/reporters.js');
var Scm = require('./job/scm.js');
var Triggers = require('./job/triggers.js');

uppableObjectProxy(Job)
Job.prototype.clone = function() {
  var job = new Job();
  job.job = fancyDeepClone(this.job);
  return job;
}
primitive(util, Job, 'name')
primitive(util, Job, 'description')
primitive(util, Job, 'node')
primitive(util, Job, 'project-type')
primitive(util, Job, 'dsl')
primitive(util, Job, 'needs-workspace')
primitive(util, Job, 'dsl-file')
object(util, Job, 'logrotate', LogRotate)
object(util, Job, 'maven', Maven)
customArray(util, Job, 'wrappers', Wrappers)
customArray(util, Job, 'builders', Builders)
object(util, Job, 'hipchat', HipChat)
object(util, Job, 'execution-strategy', ExecutionStrategy)
customArray(util, Job, 'axes', Axes)
customArray(util, Job, 'metadata', Metadata)
customArray(util, Job, 'notifications', Notifications)
customArray(util, Job, 'parameters', Parameters)
customArray(util, Job, 'properties', Properties)
customArray(util, Job, 'publishers', Publishers)
customArray(util, Job, 'reporters', Reporters)
customArray(util, Job, 'scm', Scm)
customArray(util, Job, 'triggers', Triggers)
primitive(util, Job, 'raw')
