File Coverage

blib/lib/Paws/CodeBuild/BuildPhase.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::CodeBuild::BuildPhase;
2 1     1   647 use Moose;
  1         3  
  1         10  
3             has Contexts => (is => 'ro', isa => 'ArrayRef[Paws::CodeBuild::PhaseContext]', request_name => 'contexts', traits => ['NameInRequest']);
4             has DurationInSeconds => (is => 'ro', isa => 'Int', request_name => 'durationInSeconds', traits => ['NameInRequest']);
5             has EndTime => (is => 'ro', isa => 'Str', request_name => 'endTime', traits => ['NameInRequest']);
6             has PhaseStatus => (is => 'ro', isa => 'Str', request_name => 'phaseStatus', traits => ['NameInRequest']);
7             has PhaseType => (is => 'ro', isa => 'Str', request_name => 'phaseType', traits => ['NameInRequest']);
8             has StartTime => (is => 'ro', isa => 'Str', request_name => 'startTime', traits => ['NameInRequest']);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::CodeBuild::BuildPhase
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::CodeBuild::BuildPhase object:
27              
28             $service_obj->Method(Att1 => { Contexts => $value, ..., StartTime => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::CodeBuild::BuildPhase object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Contexts
36              
37             =head1 DESCRIPTION
38              
39             Information about a stage for a build.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Contexts => ArrayRef[L<Paws::CodeBuild::PhaseContext>]
45              
46             Additional information about a build phase, especially to help
47             troubleshoot a failed build.
48              
49              
50             =head2 DurationInSeconds => Int
51              
52             How long, in seconds, between the starting and ending times of the
53             build's phase.
54              
55              
56             =head2 EndTime => Str
57              
58             When the build phase ended, expressed in Unix time format.
59              
60              
61             =head2 PhaseStatus => Str
62              
63             The current status of the build phase. Valid values include:
64              
65             =over
66              
67             =item *
68              
69             C<FAILED>: The build phase failed.
70              
71             =item *
72              
73             C<FAULT>: The build phase faulted.
74              
75             =item *
76              
77             C<IN_PROGRESS>: The build phase is still in progress.
78              
79             =item *
80              
81             C<STOPPED>: The build phase stopped.
82              
83             =item *
84              
85             C<SUCCEEDED>: The build phase succeeded.
86              
87             =item *
88              
89             C<TIMED_OUT>: The build phase timed out.
90              
91             =back
92              
93              
94              
95             =head2 PhaseType => Str
96              
97             The name of the build phase. Valid values include:
98              
99             =over
100              
101             =item *
102              
103             C<BUILD>: Core build activities typically occur in this build phase.
104              
105             =item *
106              
107             C<COMPLETED>: The build has been completed.
108              
109             =item *
110              
111             C<DOWNLOAD_SOURCE>: Source code is being downloaded in this build
112             phase.
113              
114             =item *
115              
116             C<FINALIZING>: The build process is completing in this build phase.
117              
118             =item *
119              
120             C<INSTALL>: Installation activities typically occur in this build
121             phase.
122              
123             =item *
124              
125             C<POST_BUILD>: Post-build activities typically occur in this build
126             phase.
127              
128             =item *
129              
130             C<PRE_BUILD>: Pre-build activities typically occur in this build phase.
131              
132             =item *
133              
134             C<PROVISIONING>: The build environment is being set up.
135              
136             =item *
137              
138             C<SUBMITTED>: The build has been submitted.
139              
140             =item *
141              
142             C<UPLOAD_ARTIFACTS>: Build output artifacts are being uploaded to the
143             output location.
144              
145             =back
146              
147              
148              
149             =head2 StartTime => Str
150              
151             When the build phase started, expressed in Unix time format.
152              
153              
154              
155             =head1 SEE ALSO
156              
157             This class forms part of L<Paws>, describing an object used in L<Paws::CodeBuild>
158              
159             =head1 BUGS and CONTRIBUTIONS
160              
161             The source code is located here: https://github.com/pplu/aws-sdk-perl
162              
163             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
164              
165             =cut
166