/php/bitbucket_external_repository_changeset.class.php
https://bitbucket.org/chamilo/chamilo-ext-repo-bitbucket-dev/ · PHP · 94 lines · 73 code · 16 blank · 5 comment · 0 complexity · a5162da7621b82165864171d6c750a64 MD5 · raw file
- <?php
- namespace common\extensions\external_repository_manager\implementation\bitbucket;
-
- /**
- *
- * @author magali.gillard
- *
- */
- class BitbucketExternalRepositoryChangeset
- {
- private $author;
- private $time;
- private $message;
- private $branch;
- private $revision;
- private $id;
- private $repository;
-
- function get_author()
- {
- return $this->author;
- }
-
- function set_author($author)
- {
- $this->author = $author;
- }
-
- function get_time()
- {
- return $this->time;
- }
-
- function set_time($time)
- {
- $this->time = $time;
- }
-
- function get_message()
- {
- return $this->message;
- }
-
- function set_message($message)
- {
- $this->message = $message;
- }
-
- function get_branch()
- {
- return $this->branch;
- }
-
- function set_branch($branch)
- {
- $this->branch = $branch;
- }
-
- function get_revision()
- {
- return $this->revision;
- }
-
- function set_revision($revision)
- {
- $this->revision = $revision;
- }
-
- function get_repository()
- {
- return $this->repository;
- }
-
- function set_repository($repository)
- {
- $this->repository = $repository;
- }
-
- function get_id()
- {
- return $this->id;
- }
-
- function set_id($id)
- {
- $this->id = $id;
- }
-
- function get_download_link()
- {
- return sprintf(BitbucketExternalRepositoryManagerConnector :: BASIC_DOWNLOAD_URL, $this->repository, $this->id);
- }
- }
- ?>