App::Sqitch::Plan::Tag3pm
Sqitch deployment plan tag
Usage
my $plan = App::Sqitch::Plan->new( sqitch => $sqitch );for my $line ($plan->lines) {say $line->as_string;}
Overview
A App::Sqitch::Plan::Tag represents a tag as parsed from a plan file. In addition to the interface inherited from App::Sqitch::Plan::Line, it offers interfaces fetching and formatting timestamp and planner information.
Interface
See App::Sqitch::Plan::Line for the basics.
Accessors
"change"
Returns the App::Sqitch::Plan::Change object with which the tag is associated.
"timestamp"
Returns the an App::Sqitch::DateTime object representing the time at which the tag was added to the plan.
"planner_name"
Returns the name of the user who added the tag to the plan.
"planner_email"
Returns the email address of the user who added the tag to the plan.
"info"
Information about the tag, returned as a string. Includes the tag ID, the ID of the associated change, the name and email address of the user who added the tag to the plan, and the timestamp for when the tag was added to the plan.
"id"
A SHA1 hash of the data returned by info(), which can be used as a globally-unique identifier for the tag.
Instance Methods
"format_planner"
my $planner = $tag->format_planner;
Returns a string formatted with the name and email address of the user who added the tag to the plan.
Releases
6 releases since Debian 8 (Jessie); the text changed 5 times.