Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

net::trac::ticket(3pm) [debian man page]

Net::Trac::Ticket(3pm)					User Contributed Perl Documentation				    Net::Trac::Ticket(3pm)

Net::Trac::Ticket - Create, read, and update tickets on a remote Trac instance SYNOPSIS
my $ticket = Net::Trac::Ticket->new( connection => $trac ); $ticket->load( 1 ); print $ticket->summary, " "; DESCRIPTION
This class represents a ticket on a remote Trac instance. It provides methods for creating, reading, and updating tickets and their history as well as adding comments and getting attachments. timestamp_to_datetime $stamp Accept's a timestamp in Trac's somewhat idiosyncratic format and returns a DateTime object METHODS
new HASH Takes a key "connection" with a value of a Net::Trac::Connection. Returns an empty ticket object. load ID Loads up the ticket with the specified ID. Returns the ticket ID loaded on success and undef on failure. load_from_hashref HASHREF [SKIP] You should never need to use this method yourself. Loads a ticket from a hashref of data, optionally skipping metadata loading (values of "valid_*" accessors). create HASH Creates and loads a new ticket with the values specified. Returns undef on failure and the new ticket ID on success. update HASH Updates the current ticket with the specified values. Returns undef on failure, and the ID of the current ticket on success. comment TEXT Adds a comment to the current ticket. Returns undef on failure, true on success. history Returns a Net::Trac::TicketHistory object for this ticket. comments Returns an array or arrayref (depending on context) of history entries which have comments included. This will include history entries representing attachments if they have descriptions. attach PARAMHASH Attaches the specified "file" with an optional "description". Returns undef on failure and the new Net::Trac::TicketAttachment object on success. attachments Returns an array or arrayref (depending on context) of all the Net::Trac::TicketAttachment objects for this ticket. ACCESSORS
connection id summary type status priority severity resolution owner reporter cc description keywords component milestone version created Returns a DateTime object last_modified Returns a DateTime object basic_statuses Returns a list of the basic statuses available for a ticket. Others may be defined by the remote Trac instance, but we have no way of easily getting them. valid_props Returns a list of the valid properties of a ticket. add_custom_props Adds custom properties to valid properties list. valid_create_props Returns a list of the valid properties specifiable when creating a ticket. valid_update_props Returns a list of the valid updatable properties. Valid property values These accessors are loaded from the remote Trac instance with the valid values for the properties upon instantiation of a ticket object. valid_milestones valid_types valid_components valid_priorities valid_resolutions - Only loaded when a ticket is loaded. valid_severities - May not be provided by the Trac instance. LICENSE
Copyright 2008-2009 Best Practical Solutions. This package is licensed under the same terms as Perl 5.8.8. perl v5.12.3 2011-04-02 Net::Trac::Ticket(3pm)

Check Out this Related Man Page

KLIST(1)						    BSD General Commands Manual 						  KLIST(1)

klist -- list Kerberos credentials SYNOPSIS
klist [-c cache | --cache=cache] [-s | -t | --test] [-T | --tokens] [-5 | --v5] [-v | --verbose] [-l | --list-caches] [-f] [--version] [--help] DESCRIPTION
klist reads and displays the current tickets in the credential cache (also known as the ticket file). Options supported: -c cache, --cache=cache credential cache to list -s, -t, --test Test for there being an active and valid TGT for the local realm of the user in the credential cache. -T, --tokens display AFS tokens -5, --v5 display v5 cred cache (this is the default) -f Include ticket flags in short form, each character stands for a specific flag, as follows: F forwardable f forwarded P proxiable p proxied D postdate-able d postdated R renewable I initial i invalid A pre-authenticated H hardware authenticated This information is also output with the --verbose option, but in a more verbose way. -v, --verbose Verbose output. Include all possible information: Server the principal the ticket is for Ticket etype the encryption type used in the ticket, followed by the key version of the ticket, if it is available Session key the encryption type of the session key, if it's different from the encryption type of the ticket Auth time the time the authentication exchange took place Start time the time that this ticket is valid from (only printed if it's different from the auth time) End time when the ticket expires, if it has already expired this is also noted Renew till the maximum possible end time of any ticket derived from this one Ticket flags the flags set on the ticket Addresses the set of addresses from which this ticket is valid -l, --list-caches List the credential caches for the current users, not all cache types supports listing multiple caches. SEE ALSO
kdestroy(1), kinit(1) HEIMDAL
October 6, 2005 HEIMDAL
Man Page

Featured Tech Videos