3 =head1 NAME $RCSfile: Pvob.pm,v $
5 Object oriented interface to a UCM Pvob
13 Andrew DeFaria <Andrew@ClearSCM.com>
21 Fri May 14 18:16:16 PDT 2010
25 $Date: 2011/11/09 01:52:39 $
31 Provides access to information about a Clearcase Pvob.
33 my $pvob = new Clearcase::UCM::Pvob ($name);
37 This module implements a UCM Pvob object
41 The following routines are exported:
45 package Clearcase::UCM::Pvob;
50 # Would be better represented by use parent "Clearcase::Vob" but we're
51 # working with old versions of Perl here...
52 use base 'Clearcase::Vob';
57 my ($class, $tag) = @_;
63 Construct a new Clearcase Pvob object.
67 =for html <blockquote>
77 =for html </blockquote>
81 =for html <blockquote>
85 =item Clearcase Pvob object
89 =for html </blockquote>
93 croak 'Clearcase::UCM::Pvob: Must specify pvob tag' unless $tag;
99 $class->updateVobInfo;
105 my ($self, $host, $vbs, $comment, %opts) = @_;
115 =for html <blockquote>
123 =for html </blockquote>
127 =for html <blockquote>
135 =for html </blockquote>
139 $opts{ucmproject} = undef;
141 return $self->SUPER::create ($host, $vbs, $comment, %opts);
151 Returns the tag of the pvob
155 =for html <blockquote>
163 =for html </blockquote>
167 =for html <blockquote>
175 =for html </blockquote>
194 Returns an array of stream objects in the pvob
198 =for html <blockquote>
206 =for html </blockquote>
210 =for html <blockquote>
214 =item array of stream objects in the pvob
218 =for html </blockquote>
222 my $cmd = "lsstream -short -invob $self->{name}";
224 $Clearcase::CC->execute ($cmd);
226 return if $Clearcase::CC->status;
230 push @streams, Clearcase::UCM::Stream->new ($_, $self->{name})
231 for ($Clearcase::CC->output);
240 =head2 ClearSCM Perl Modules
242 =for html <p><a href="/php/scm_man.php?file=lib/Clearcase.pm">Clearcase</a></p>
244 =for html <p><a href="/php/scm_man.php?file=lib/Clearcase/UCM/Baseline.pm">Clearcase::UCM::Baseline</a></p>
246 =head1 INCOMPATABILITIES
250 =head1 BUGS AND LIMITATIONS
252 There are no known bugs in this module.
254 Please report problems to Andrew DeFaria <Andrew@ClearSCM.com>.
256 =head1 LICENSE AND COPYRIGHT
258 Copyright (c) 2007, ClearSCM, Inc. All rights reserved.