NAME Activity.pm

Object oriented interface to UCM Activities

VERSION

Author

Andrew DeFaria <Andrew@DeFaria.com>

Revision

$Revision: 1.10 $

Created

Fri May 14 18:16:16 PDT 2010

Modified

$Date: 2011/11/15 01:56:40 $

SYNOPSIS

Provides access to information about Clearcase Activites.

my $activity = new Clearcase::UCM::Activity ($name, $pvob);

my @changeset = $activity->changeset;

for my $element (@changeset) {
  print "Element name: "    . $element->pname . "\n";
  print "Element verison: " . $element->version . "\n";
} # for

DESCRIPTION

This module implements a UCM Activity object

ROUTINES

The following routines are exported:

new

Construct a new Clearcase Activity object.

Parameters:

activity name

Name of activity

Returns:

Clearcase Activity object

name

Returns the name of the activity

Parameters:

none

Returns:

activity's name

pvob

Returns the pvob of the activity

Parameters:

none

Returns:

activity's pvob

type

Returns the type of the activity

Parameters:

none

Returns:

activity's type

contrib_acts

Returns the contributing activities

Parameters:

none

Returns:

Array of contributing activities

crm_record_id

Returns the crm_record_id of the activity

Parameters:

none

Returns:

activity's crm_record_id

crm_record_type

Returns the crm_record_type of the activity

Parameters:

none

Returns:

activity's crm_record_type

crm_state

Returns the crm_state of the activity

Parameters:

none

Returns:

activity's crm_state

headline

Returns the headline of the activity

Parameters:

none

Returns:

activity's headline

name_resolver_view

Returns the name_resolver_view of the activity

Parameters:

none

Returns:

activity's name_resolver_view

stream

Returns the stream of the activity

Parameters:

none

Returns:

activity's stream

changeset

Returns the changeset of the activity

Parameters:

none

Returns:

An array containing Clearcase::Element objects.

create

Creates a new UCM Activity

Parameters:

UCM Stream(required)

UCM stream this activities is to be created on

PVOB (Required)

Project Vob

headline

Headline to associate with this activity

Returns:

$status

Status from cleartool

@output

Ouput from cleartool

remove

Removes UCM Activity

Parameters:

none

Returns:

$status

Status from cleartool

@output

Ouput from cleartool

attributes

Returns a hash of the attributes associated with an activity

Parameters:

none

Returns:

%attributes

Hash of attributes for this activity

updateActivityInfo()

Update the activity info

Parameters:

none

Returns:

nothing

updateActivityInfo()

Update the activity info

Parameters:

none

Returns:

nothing

DEPENDENCIES

Modules

Clearcase

INCOMPATABILITIES

None

BUGS AND LIMITATIONS

There are no known bugs in this module.

Please report problems to Andrew DeFaria <Andrew@DeFaria.com>.

COPYRIGHT AND LICENSE

Copyright (C) 2020 by Andrew@DeFaria.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.38.0 or, at your option, any later version of Perl 5 you may have available.