@@ -132,4 +132,69 @@ public List<FailureAction> getOnFailure() {
132132 public void setOnFailure (List <FailureAction > onFailure ) {
133133 this .onFailure = onFailure ;
134134 }
135+
136+ public Step stepId (String stepId ) {
137+ this .setStepId (stepId );
138+ return this ;
139+ }
140+
141+ public Step operationId (String operationId ) {
142+ this .setOperationId (operationId );
143+ return this ;
144+ }
145+
146+ public Step operationRef (String operationRef ) {
147+ this .setOperationRef (operationRef );
148+ return this ;
149+ }
150+
151+ public Step operation (Operation operation ) {
152+ this .setOperation (operation );
153+ return this ;
154+ }
155+
156+ public Step workflowId (String workflowId ) {
157+ this .setWorkflowId (workflowId );
158+ return this ;
159+ }
160+
161+ public Step workflow (Workflow workflow ) {
162+ this .setWorkflow (workflow );
163+ return this ;
164+ }
165+
166+ public Step description (String description ) {
167+ this .setDescription (description );
168+ return this ;
169+ }
170+
171+ public Step dependsOn (String dependsOn ) {
172+ this .setDependsOn (dependsOn );
173+ return this ;
174+ }
175+
176+ public Step parameters (List <Parameter > parameters ) {
177+ this .setParameters (parameters );
178+ return this ;
179+ }
180+
181+ public Step successCriteria (List <Criterion > successCriteria ) {
182+ this .setSuccessCriteria (successCriteria );
183+ return this ;
184+ }
185+
186+ public Step outputs (Map <String , String > outputs ) {
187+ this .setOutputs (outputs );
188+ return this ;
189+ }
190+
191+ public Step onSuccess (List <SuccessAction > onSuccess ) {
192+ this .setOnSuccess (onSuccess );
193+ return this ;
194+ }
195+
196+ public Step onFailure (List <FailureAction > onFailure ) {
197+ this .setOnFailure (onFailure );
198+ return this ;
199+ }
135200}
0 commit comments