5.7.163. Bugzilla::Extension::ExternalBugs::Type¶
5.7.163.1. NAME¶
Bugzilla::Extension::ExternalBugs::Type - External Bug Type class.
5.7.163.2. SYNOPSIS¶
use Bugzilla::Extension::ExternalBugs::Type;
my $tracker = Bugzilla::Extension::ExternalBugs::Type->new(1);
my $tracker = Bugzilla::Extension::ExternalBugs::Type->new({ name => 'AcmeProduct' });
my $id = $tracker->id;
my $url = $tracker->url;
my $description = $tracker->description;
my $full_url = $tracker->full_url;
my $type = $tracker->type;
5.7.163.3. DESCRIPTION¶
Type represents a bug tracker object. It is an implementation of Bugzilla::Object, and thus provides all methods that Bugzilla::Object provides.
The methods that are specific to Bugzilla::Extension::ExternalBugs::Type
are listed
below.
5.7.163.4. ATTRIBUTES¶
- always_private:
- Links for this tracker will always be marked as private and thus limited to the group[s] specified.
- can_get:
- The tracker will attempt to get data from the remote site when a link is created or an update triggered.
- can_send:
- Can this type send data to remotes sites? False, must be overridden by sub-classes.
- description:
- Short text describing this Tracker. Used as name.
- ext_bz_regex_id:
- Do IDs for this type need to match a regular expression? If so this is it.
- format:
- sprintf format to use when displaying links as anchors.
- full_url:
- The full path to get REST or RPC results from.
- matchrx:
- A regex used to split up the ID for use in formatting.
- must_get:
- If a link cannot be synced it will be rejected.
- must_send:
- Force changes to be sent to a Tracker that supports push even if there is a reason not to send it.
- send_once:
- Only sends the first update to this tracker if there are multiple instances of this Tracker on the bug being changed.
- type:
- Sub-class of this Tracker. Used to specify syncing behavior and requirements.
- url:
- The root URL for this site.
5.7.163.5. METHODS¶
- TODO