5.7.213. Bugzilla::Extension::RuleEngine::FlagGroupDetail

5.7.213.1. NAME

Bugzilla::Extension::RuleEngine::FlagGroupDetail - Bugzilla Flag Group Detail class.

5.7.213.2. SYNOPSIS

use Bugzilla::Extension::RuleEngine::FlagGroupDetail;

my $flag_group_detail = new Bugzilla::Extension::RuleEngine::FlagGroupDetail(1);

my $id          = $rule_group->id;
my $flag_group  = $flag_group_detail->flag_group;
my $creation_ts = $flag_group_detail->creation_ts;
my $creator     = $flag_group_detail->creator;
my $theregexp   = $flag_group_detail->theregexp;
my $flag_types  = $flag_group_detail->flag_types;

5.7.213.3. DESCRIPTION

Bugzilla::Extension::RuleEngine::FlagGroupDetail represents a version of a flag group 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::RuleEngine::FlagGroupDetail are listed below.

theregexp is a Perl regular expression string used to include any matching flags.

e.g. to create a flag group that would include all flags that start with bugzilla_ you could set this to:

^bugzilla_.*

5.7.213.4. METHODS

  • creator
  • Description
The person that created this version of the flag group.
  • Params
none.
  • Returns
A Bugzilla::User object.
  • flag_group
  • Description
Returns the flag_group that this detail belongs to.
  • Params
none.
  • Returns
A Bugzilla::Extension::RuleEngine::FlagGroup object.
  • flag_types
  • Description
Returns the flag types for this flag group detail
  • Params
none.
  • Returns
An arrayref of Bugzilla::FlagType object.
  • flag_ids
  • Description
Returns the flag type ids for this flag group detail
  • Params
none.
  • Returns
An array of integers (representing Bugzilla::FlagType’s).

This documentation undoubtedly has bugs; if you find some, please file them here.