/** * Constructor * * @param Transition $transition The transition the post action belongs to * @param Integer $id Id of the post action * @param Tracker_FormElement_Field $field The field the post action should modify */ public function __construct(Transition $transition, $id, $field) { parent::__construct($transition, $id); $this->field = $field; }
/** * Constructor * * @param Transition $transition The transition the post action belongs to * @param Integer $id Id of the post action * @param String $host host of the jenkins server * @param String $job_url name of the job */ public function __construct(Transition $transition, $id, $job_url, Jenkins_Client $client) { parent::__construct($transition, $id); $this->job_url = $job_url; $this->ci_client = $client; }