File: JobState.pm

package info (click to toggle)
globus-gram-protocol 13.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,004 kB
  • sloc: sh: 11,330; ansic: 7,500; perl: 972; makefile: 192
file content (121 lines) | stat: -rw-r--r-- 1,366 bytes parent folder | download | duplicates (5)
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
package Globus::GRAM::JobState;

=head1 NAME

Globus::GRAM::JobState - GRAM Protocol JobState Constants

=head1 DESCRIPTION

The Globus::GRAM::JobState module defines symbolic names for the
JobState constants in the GRAM Protocol.


=head2 Methods

=over 4


=item $value = Globus::GRAM::PENDING()

Return the value of the PENDING constant.

=cut

sub PENDING
{
    return 1;
}

=item $value = Globus::GRAM::ACTIVE()

Return the value of the ACTIVE constant.

=cut

sub ACTIVE
{
    return 2;
}

=item $value = Globus::GRAM::FAILED()

Return the value of the FAILED constant.

=cut

sub FAILED
{
    return 4;
}

=item $value = Globus::GRAM::DONE()

Return the value of the DONE constant.

=cut

sub DONE
{
    return 8;
}

=item $value = Globus::GRAM::SUSPENDED()

Return the value of the SUSPENDED constant.

=cut

sub SUSPENDED
{
    return 16;
}

=item $value = Globus::GRAM::UNSUBMITTED()

Return the value of the UNSUBMITTED constant.

=cut

sub UNSUBMITTED
{
    return 32;
}

=item $value = Globus::GRAM::STAGE_IN()

Return the value of the STAGE_IN constant.

=cut

sub STAGE_IN
{
    return 64;
}

=item $value = Globus::GRAM::STAGE_OUT()

Return the value of the STAGE_OUT constant.

=cut

sub STAGE_OUT
{
    return 128;
}

=item $value = Globus::GRAM::ALL()

Return the value of the ALL constant.

=cut

sub ALL
{
    return 0xFFFFF;
}

=back

=cut

1;