/usr/lib/pegasus/perl/Pegasus/DAX/ADAG.pm is in pegasus-wms 4.4.0+dfsg-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 | #
# License: (atend)
# $Id$
#
package Pegasus::DAX::ADAG;
use 5.006;
use strict;
use Carp;
use Pegasus::DAX::Base qw(:xml);
use Pegasus::DAX::AbstractJob;
use Exporter;
our @ISA = qw(Pegasus::DAX::AbstractJob Exporter);
use constant SCHEMA_NAMESPACE => 'http://pegasus.isi.edu/schema/DAX';
use constant SCHEMA_LOCATION => 'http://pegasus.isi.edu/schema/dax-3.3.xsd';
use constant SCHEMA_VERSION => 3.3;
our $VERSION = '3.3';
our @EXPORT = ();
our @EXPORT_OK = qw(SCHEMA_NAMESPACE SCHEMA_LOCATION SCHEMA_VERSION);
our %EXPORT_TAGS = (
schema => [ @EXPORT_OK ],
all => [ @EXPORT_OK ] );
# one AUTOLOAD to rule them all
BEGIN { *AUTOLOAD = \&Pegasus::DAX::Base::AUTOLOAD }
sub new {
my $proto = shift;
my $class = ref($proto) || $proto;
my $self = $class->SUPER::new();
$self->{index} = 0;
$self->{count} = 1;
$self->{version} = SCHEMA_VERSION;
if ( @_ > 1 ) {
# called with a=>b,c=>d list
%{$self} = ( %{$self}, @_ );
} elsif ( @_ == 1 && ref $_[0] eq 'HASH' ) {
# called with { a=>b, c=>d } hashref
%{$self} = ( %{$self}, %{ shift() } );
}
bless $self, $class;
}
# forward declarations
sub name;
sub index;
sub count;
use Pegasus::DAX::File;
sub addFile {
my $self = shift;
my $name = shift;
if ( ref $name ) {
if ( $name->isa('Pegasus::DAX::File') ) {
# files uses LFN to distinguish files
carp( 'Warning: ', __PACKAGE__, '->addFile(', $name->name
, ") already exists, REPLACING existing file!" )
if exists $self->{files}->{ $name->name };
$self->{files}->{ $name->name } = $name->clone();
} else {
croak( "Instance of ", ref($name), " is an invalid argument" );
}
} else {
croak "invalid argument";
}
}
sub hasFile {
my $self = shift;
return undef unless exists $self->{files};
my $name = shift;
my $key = undef;
if ( ! ref $name ) {
$key = $name;
} elsif ( $name->can('name') ) {
$key = $name->name;
} else {
croak "invalid argument";
}
exists $self->{files}->{$key};
}
sub getFile {
my $self = shift;
return undef unless exists $self->{files};
my $name = shift;
my $key = undef;
if ( ! ref $name ) {
$key = $name;
} elsif ( $name->can('name') ) {
$key = $name->name;
} else {
croak( 'getFile requires string or Pegasus::DAX::File argument' );
}
# avoid auto-vivification
exists $self->{files}->{$key} ? $self->{files}->{$key} : undef;
}
sub addExecutable {
my $self = shift;
my $name = shift;
if ( ref $name ) {
if ( $name->isa('Pegasus::DAX::Executable') ) {
my $key = $name->key;
carp( 'Warning: ', __PACKAGE__, '->addExecutable('
, ($name->namespace || ''), ',', $name->name, ','
, ($name->version || '')
, ",...) already exists, REPLACING existing executable!" )
if exists $self->{executables}->{$key};
$self->{executables}->{$key} = $name->clone();
} else {
croak( "Instance of ", ref($name), " is an invalid argument" );
}
} else {
croak "invalid argument";
}
}
sub hasExecutable {
my $self = shift;
return undef unless exists $self->{executables};
my $name = shift;
my $key = undef;
if ( ref $name ) {
if ( $name->isa('Pegasus::DAX::Executable') ) {
$key = $name->key;
} elsif ( ref $name eq 'HASH' ) {
$key = Pegasus::DAX::Executable->new($name)->key;
} else {
croak "invalid argument";
}
} else {
croak "invalid argument";
}
exists $self->{executables}->{$key};
}
sub addTransformation {
my $self = shift;
my $name = shift;
if ( ref $name ) {
if ( $name->isa('Pegasus::DAX::Transformation') ) {
my $key = $name->key;
carp( 'Warning: ', __PACKAGE__, '->addTransformation('
, ($name->namespace || ''), ',', $name->name, ','
, ($name->version || '')
, ") already exists, REPLACING existing transformation!" )
if exists $self->{transformation}->{$key};
$self->{transformations}->{$key} = $name->clone();
} else {
croak( "Instance of ", ref($name), " is an invalid argument" );
}
} else {
croak "invalid argument";
}
}
sub hasTransformation {
my $self = shift;
return undef unless exists $self->{transformation};
my $what = shift;
my $key = undef;
if ( ref $what && $what->isa('Pegasus::DAX::Transformation') ) {
# using Transformation as argument
$key = $what->key;
} elsif ( ! ref $what && @_ == 2 ) {
# using (ns,id,vs) tuple as argument
my $id = shift;
my $vs = shift;
$key = join( $;, $what, $id, $vs );
} else {
# not a valid argument
croak( "Invalid argument to ", __PACKAGE__, "->hasTransformation" );
}
exists $self->{transformation}->{$key};
}
sub getTransformation {
my $self = shift;
my $what = shift;
my $key = undef;
if ( ref $what && $what->isa('Pegasus::DAX::Transformation') ) {
# using Transformation as argument
$key = $what->key;
} elsif ( ! ref $what && @_ == 2 ) {
# using (ns,id,vs) tuple as argument
my $id = shift;
my $vs = shift;
$key = join( $;, $what, $id, $vs );
} else {
# not a valid argument
croak( "Invalid call of ", __PACKAGE__, "->getTransformation" );
}
# avoid auto-vivification
return undef unless exists $self->{transformation};
exists $self->{transformation}->{$key} ? $self->{transformation}->{$key} : undef;
}
sub addJob {
my $self = shift;
my $job = shift;
if ( ref $job ) {
if ( $job->isa('Pegasus::DAX::AbstractJob') ) {
my $id = $job->id ||
croak( "Instance of ", ref($job), " does not have an 'id' attribute" );
carp( "Warning: job identifier $id already exists, REPLACING existing job!" )
if exists $self->{jobs}->{$id};
$self->{jobs}->{$id} = $job->clone();
} else {
croak( "Instance of ", ref($job), " is an invalid argument" );
}
} else {
croak "invalid argument";
}
}
sub hasJob {
my $self = shift;
return undef unless exists $self->{jobs};
my $job = shift; # job id
my $key = undef;
if ( ref $job && $job->isa('Pegasus::DAX::AbstractJob') ) {
$key = $job->id;
} elsif ( ! ref $job ) {
$key = $job;
} else {
croak( "Instance of ", ref($job), " is an invalid argument" );
}
exists $self->{jobs}->{$key};
}
sub getJob {
my $self = shift;
my $job = shift; # job id
my $key = undef;
if ( ref $job && $job->isa('Pegasus::DAX::AbstractJob') ) {
$key = $job->id;
} elsif ( ! ref $job ) {
$key = $job;
} else {
croak( "Instance of ", ref($job), " is an invalid argument" );
}
# avoid auto-vivification
return undef unless exists $self->{jobs};
exists $self->{jobs}->{$key} ? $self->{jobs}->{$key} : undef;
}
sub addDependency {
my $self = shift;
my $parent = shift;
# we only need the job identifier string
if ( ref $parent ) {
if ( $parent->isa('Pegasus::DAX::AbstractJob') ) {
$parent = $parent->id;
croak( "parent does not have a valid job-id" )
unless ( defined $parent && $parent );
} else {
croak "parent is not a job type";
}
}
while ( @_ ) {
my $child = shift;
# we only need the job identifier string
if ( ref $child ) {
if ( $child->isa('Pegasus::DAX::AbstractJob') ) {
$child = $child->id;
croak( "child does not have a valid job-id" )
unless ( defined $child && length($child) );
} else {
croak "child is not a job type";
}
}
# plain string is a label
my $label = ( ref $_[0] ? undef : shift );
# spring into existence -- store undef, if necessary
$self->{deps}->{$child}->{$parent} = $label;
}
}
sub addDependencyById {
my $self = shift;
my $parent = shift || croak "need a parent as first argument";
if ( ref $parent ) {
if ( $parent->isa('Pegasus::DAX::AbstractJob') ) {
$parent = $parent->id;
} else {
croak( "instance of ", ref($parent),
" is an invalid parent argument" );
}
}
croak "parent does not have a valid job-id"
unless ( defined $parent && length($parent) );
while ( @_ ) {
my $child = shift;
# we only need the job identifier string
if ( ref $child ) {
if ( $child->isa('Pegasus::DAX::AbstractJob') ) {
$child = $child->id;
} else {
croak( "Instance of ", ref($child),
" is an invalid child argument" );
}
}
croak "child does not have a valid job-id"
unless ( defined $child && length($child) );
# spring into existence -- store undef, if necessary
$self->{deps}->{$child}->{$parent} = undef;
}
}
sub addInverse {
my $self = shift;
my $child = shift;
# we only need the job identifier string
if ( ref $child ) {
if ( $child->isa('Pegasus::DAX::AbstractJob') ) {
$child = $child->id;
croak( "child does not have a valid job-id" )
unless ( defined $child && $child );
} else {
croak "child is not a job type";
}
}
while ( @_ ) {
my $parent = shift;
# we only need the job identifier string
if ( ref $parent ) {
if ( $parent->isa('Pegasus::DAX::AbstractJob') ) {
$parent = $parent->id;
croak( "parent does not have a valid job-id" )
unless ( defined $parent && $parent );
} else {
croak "parent is not a job type";
}
}
# plain string is a label
my $label = ( ref $_[0] ? undef : shift );
# spring into existence -- store undef, if necessary
$self->{deps}->{$child}->{$parent} = $label;
}
}
sub topo_sort {
my $self = shift;
# determine start nodes (no incoming edges), jobid only
my (%start,%p,%c) = map { $_ => 1 } keys %{ $self->{jobs} };
foreach my $c ( keys %{ $self->{deps} } ) {
foreach my $p ( keys %{ $self->{deps}->{$c} } ) {
$p{$c}{$p} = 1;
$c{$p}{$c} = 1;
delete $start{$c};
}
}
# compute topological sort order
my %topo = ();
my @topo = ();
my @q = sort keys %start;
while ( @q ) {
my $n = shift(@q);
push( @topo, $n ) unless exists $topo{$n};
$topo{$n} = 1;
foreach my $x ( sort keys %{$c{$n}} ) {
delete $c{$n}{$x};
delete $p{$x}{$n};
push( @q, $x ) if ( keys %{$p{$x}} == 0 );
}
}
@topo;
}
sub toXML {
# purpose: put self onto stream as XML
# paramtr: F (IN): perl file handle open for writing
# ident (IN): indentation level
# xmlns (opt. IN): namespace of element, if necessary
#
my $self = shift;
my $f = shift;
my $indent = shift || '';
my $xmlns = shift;
my $tag = defined $xmlns && $xmlns ? "$xmlns:adag" : 'adag';
# OK, this is slightly ugly and tricky: If there is no indentation,
# this <adag> element is the outer-most, and thus gets the XML intro.
if ( $indent eq '' ) {
$f->print( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" );
my @t = gmtime; # avoid loading POSIX
$f->printf( "<!-- generated: %04u-%02u-%02uT%02u:%02u:%02uZ -->\n",
$t[5]+1900, $t[4]+1, $t[3], $t[2], $t[1], $t[0] );
$f->print( "<!-- generator: Perl -->\n" );
}
my $ns = defined $xmlns && $xmlns ? "xmlns:$xmlns" : 'xmlns';
$f->print( "$indent<$tag"
, attribute($ns,SCHEMA_NAMESPACE)
, attribute('xmlns:xsi','http://www.w3.org/2001/XMLSchema-instance')
, attribute('xsi:schemaLocation',SCHEMA_NAMESPACE . ' ' . SCHEMA_LOCATION)
, attribute('version',SCHEMA_VERSION,$xmlns)
, attribute('name',$self->name,$xmlns)
, attribute('index',$self->index,$xmlns)
, attribute('count',$self->count,$xmlns)
, ">\n" );
#
# <invoke>
#
if ( exists $self->{invokes} ) {
$f->print( " $indent<!-- part 1.1: invocations -->\n" );
foreach my $i ( @{$self->{invokes}} ) {
$i->toXML($f," $indent",$xmlns);
}
$f->print("\n");
}
#
# <file>
#
if ( exists $self->{files} ) {
$f->print( " $indent<!-- part 1.2: included replica catalog -->\n" );
foreach my $i ( values %{ $self->{files} } ) {
$i->toXML($f," $indent",$xmlns);
}
$f->print("\n");
}
#
# <executable>
#
if ( exists $self->{executables} ) {
$f->print( " $indent<!-- part 1.3: included transformation catalog -->\n" );
foreach my $i ( values %{ $self->{executables} } ) {
$i->toXML($f," $indent",$xmlns);
}
$f->print("\n");
}
#
# <transformation>
#
if ( exists $self->{transformations} ) {
$f->print( " $indent<!-- part 1.4: included transformation abbreviations -->\n" );
foreach my $i ( values %{ $self->{transformations} } ) {
$i->toXML($f," $indent",$xmlns);
}
$f->print("\n");
}
#
# <DAG|DAX|Job|ADAG>
#
$f->print( " $indent<!-- part 2: definition of all jobs (at least one) -->\n" );
my @topo = $self->topo_sort;
foreach my $id ( $self->topo_sort ) {
$self->{jobs}->{$id}->toXML($f," $indent",$xmlns);
}
$f->print("\n");
#
# <child>
#
if ( exists $self->{deps} ) {
$f->print( " $indent<!-- part 3: list of control-flow dependencies -->\n" );
my $ctag = defined $xmlns && $xmlns ? "$xmlns:child" : 'child';
my $ptag = defined $xmlns && $xmlns ? "$xmlns:parent" : 'parent';
my %topo = map { $topo[$_] => $_ } 0 .. $#topo;
@topo = (); # free space
foreach my $child ( sort { $topo{$a} <=> $topo{$b} } keys %{$self->{deps}} ) {
$f->print( " $indent<$ctag"
, attribute('ref',$child,$xmlns)
, ">\n" );
foreach my $parent ( sort { $topo{$a} <=> $topo{$b} }
keys %{$self->{deps}->{$child}} ) {
my $label = $self->{deps}->{$child}->{$parent};
$f->print( " $indent<$ptag"
, attribute('ref',$parent,$xmlns)
, attribute('edge-label',$label,$xmlns)
, " />\n" );
}
$f->print( " $indent</$ctag>\n" );
}
}
$f->print( "$indent</$tag>\n" );
}
1;
__END__
=head1 NAME
Pegasus::DAX::ADAG - Pegasus workflow description.
=head1 SYNOPSIS
use Pegasus::DAX::ADAG;
my $d = Pegasus::DAX::ADAG->new( name => 'fubar' );
$d->addJob( $job );
$d->addDependency( $parent, $child, 'label' );
=head1 DESCRIPTION
This class stores the entire abstract directed acyclic graph (ADAG) that
is a Pegasus workflow ready to be planned out. The heavy lifting is done
in the base class L<Pegasus::DAX::AbstractJob>.
Please note that, even though the schema and API permit it, you cannot
stores an C<ADAG> within an C<ADAG>. We are hoping to add recursion at
some unspecified time in the future.
=head1 METHODS
=over 4
=item new()
=item new( a => b, c => d, ... )
=item new( { a => b, c => d, ... } )
The default constructor will create an empty instance whose scalar
attributes can be adjusted using the getters and setters provided by the
C<AUTOLOAD> inherited method.
Other means of construction is to use named lists.
=item name
Getter and setter for the job's name required string. Regardless of the
child class, any job always some form of name.
=item index
Getter and setter to the slot number, starting with 0, of this workflow
variation. This is mostly an obsolete feature that will go away.
=item count
Getter and setter to the total number of slots, a count, of all variations
of this workflow. This is mostly an obsolete feature that will go away.
=item addFile( $file_instance )
Adds an included replica catalog entry. This method will make a copy of
the instance passed.
=item hasFile( $file_instance )
Checks, if the logical object described by the L<Pegasus::DAX::File>
argument is already known to this instance.
=item hasFile( $filename )
Checks, if the logical object described by the file name is already
known to this instance.
=item getFile( $filename )
Retrieves an included replica catalog entry by a given filename. Returns
C<undef> if not found.
=item getFile( $file_instance )
Retrieves an included replica catalog entry by a given instance of
L<Pegasus::DAX::File>. Returns C<undef> if not found.
=item addExecutable( $executable_instance )
Adds a copy of an included transformation catalog entry.
=item hasExecutable( $executable_instance )
Checks, if the given L<Pegasus::DAX::Executable> object is already known
to this instance.
=item addTransformation( $transformation_instance )
Adds a copy of the L<Pegasus::DAX::Transformation> combiner to the
workflow.
=item hasTransformation( $transformation_instance )
Checks, if the given L<Pegasus::DAX::Transformation> object is already
known to this instance.
=item hasTransformation( $ns, $name, $version )
Checks, if the object described by the argument triple is already known
to this instance.
=item getTransformation( $ns, $name, $version )
Retrieves a transformation combiner instance by its namespace, name
and version tuple. Returns C<undef>, if not found.
=item getTransformation( $transformation_instance )
Retrieves a transformation combiner instance from a known instance.
Returns C<undef> if not found.
=item addJob( $dag_instance )
Adds an already concretized sub-workflow as node to the workflow
graph. The job must have a valid and unique I<id> attribute.
=item addJob( $dax_instance )
Adds a yet to be planned sub-workflow as node to the workflow graph. The
job must have a valid and unique I<id> attribute.
=item addJob( $job_instance )
Adds a regular job as node to the workflow graph. The job must have a
valid and unique I<id> attribute.
=item addJob( $adag_instance )
While not forbidden by the API, we cannot plan C<ADAG> within C<ADAG>
yet. The job must have a valid and unique I<id> attribute once this gets
implemented.
=item hasJob( $job_instance )
Checks, if the given L<Pegasus::DAX::AbstractJob> object is already
known to this instance. It uses solely the object's C<id> value to
determine existence.
=item hasJob( $jobid )
Check, if the job described by a job identifier is already known to
this instance.
=item getJob( $job_instance )
This method looks up a job by a given abstract job instance. If the
instance is not known to this instance (i.e. this job hasn't been added
yet), the method will return the C<undef> value.
=item getJob( $jobid )
This method looks up a job by its I<id>. If the I<id> is not known to
this instance (i.e. this job hasn't been added yet), the method will
return the C<undef> value.
=item addDependency( $parent, $child, .. )
=item addDependency( $parent, $child, $label, .. )
This method adds one or more children to a single parent, using each
job's C<id> attribute. In addition, an optional edge label may be stored
with each dependency. Internal structures ensure that each relationship
is only added once.
You may add any number of children to the same parent by just listing
them. Each child may be followed by a separate edge label - or not. The
proper argument form is distinguished internally by whether the argument
has a job type, or is a plain scalar (label).
Note: You must use the full job instance when adding dependencies. You
cannot use just the job's id value, because it is indistinguishable from
the edge label. Look at L</getJob> to obtain full job instances from a
given C<id>.
=item addInverse( $child, $parent, .. )
=item addInverse( $child, $parent, $label, .. )
This method adds one or more parents to a single child, using each job's
C<id> attribute. In addition, an optional edge label may be stored with
each dependency. Internal structures ensure that each relationship is
only added once.
You may add any number of parents to the same child by just listing
them. Each parent may be followed by a separate edge label - or not. The
proper argument form is distinguished internally by whether the argument
has a job type, or is a plain scalar (label).
=item toXML( $handle, $indent, $xmlns )
The purpose of the C<toXML> function is to recursively generate XML from
the internal data structures. The first argument is a file handle open
for writing. This is where the XML will be generated. The second
argument is a string with the amount of white-space that should be used
to indent elements for pretty printing. The third argument may not be
defined. If defined, all element tags will be prefixed with this name
space.
=back
=head1 INHERITED METHODS
Please refer to L<Pegasus::DAX::AbstractJob> for inherited methods.
=over 4
=item addArgument( $string )
=item addArgument( $plainfilename_instance )
=item addArgument( $filename_instance )
=item addArgument( $file_instance )
=item addArgument( $exectuable_instance )
=item addProfile( $namespace, $key, $value )
=item addProfile( $profile_instance )
=item stdin
=item stdout
=item stderr
=item id
=item nodelabel
=item addUses( .. )
=item uses( $filename_instance )
=item uses( $file_instance )
=item uses( $executable_instance )
=item addInvoke( $when, $cmd )
=item notify( $when, $cmd )
=item invoke( $when, $cmd )
=item innerXML( $handle, $indent, $xmlns )
=back
=head1 SEE ALSO
=over 4
=item L<Pegasus::DAX::AbstractJob>
Base class.
=item L<Pegasus::DAX::DAG>
=item L<Pegasus::DAX::DAX>
=item L<Pegasus::DAX::Job>
Sibling classes.
=back
=head1 COPYRIGHT AND LICENSE
Copyright 2007-2011 University Of Southern California
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
=cut
|