Part of lp.code.interfaces.codeimportresult View In Hierarchy
Method | new | Create a CodeImportResult with the given details. |
The date the job finished is assumed to be now and so is not passed in as a parameter.
Parameters | code_import | The code import for which the job was run. |
machine | The machine the job ran on. | |
requesting_user | The user that requested the import, if any. If None, this means that the job was executed because it was automatically scheduled. | |
log_excerpt | The last few lines of the log. | |
log_file | A link to the log in the librarian. | |
status | A status code from CodeImportResultStatus. | |
date_job_started | The date the job started. | |
date_job_finished | The date the job finished, defaults to now. |