Part of lp.code.interfaces.codeimport View In Hierarchy
Method | new | Create a new CodeImport. |
Method | get | Get a CodeImport by its id. |
Method | getByBranch | Get the CodeImport, if any, associated with a Branch. |
Method | getByGitRepository | Get the CodeImport, if any, associated with a GitRepository. |
Method | getByCVSDetails | Get the CodeImport with the specified CVS details. |
Method | getByURL | Get the CodeImport with the URL and target RCS type. |
Method | delete | Delete a CodeImport given its id. |
Method | search | Find the CodeImports of the given status and type. |
Parameters | context | An IHasCodeImports that the code is associated with. |
owner | The IPerson to set as the owner of the branch, or
None to use registrant. registrant must be a member of owner to
do this. |
Parameters | review_status | An entry from the CodeImportReviewStatus
schema, or None, which signifies 'any status'. |
rcs_type | An entry from the RevisionControlSystems
schema, or None, which signifies 'any type'. | |
target_rcs_type | An entry from the
TargetRevisionControlSystems schema, or None, which signifies
'any type'. |