View Javadoc

1   package org.rundeck.api.domain;
2   
3   import java.io.Serializable;
4   import java.util.List;
5   
6   /**
7    * DeleteExecutionsResponse is ...
8    *
9    * @author Greg Schueler <greg@simplifyops.com>
10   * @since 2014-11-06
11   */
12  public class DeleteExecutionsResponse implements Serializable {
13  
14      private static final long serialVersionUID = 1L;
15  
16      private int                 failedCount;
17      private int                 successCount;
18      private boolean             allsuccessful;
19      private int                 requestCount;
20      private List<DeleteFailure> failures;
21  
22      public int getFailedCount() {
23          return failedCount;
24      }
25  
26      public void setFailedCount(final int failedCount) {
27          this.failedCount = failedCount;
28      }
29  
30      public int getSuccessCount() {
31          return successCount;
32      }
33  
34      public void setSuccessCount(final int successCount) {
35          this.successCount = successCount;
36      }
37  
38      public boolean isAllsuccessful() {
39          return allsuccessful;
40      }
41  
42      public void setAllsuccessful(final boolean allsuccessful) {
43          this.allsuccessful = allsuccessful;
44      }
45  
46      public int getRequestCount() {
47          return requestCount;
48      }
49  
50      public void setRequestCount(final int requestCount) {
51          this.requestCount = requestCount;
52      }
53  
54      public List<DeleteFailure> getFailures() {
55          return failures;
56      }
57  
58      public void setFailures(final List<DeleteFailure> failures) {
59          this.failures = failures;
60      }
61  
62      public static class DeleteFailure implements Serializable{
63  
64          private static final long serialVersionUID = 1L;
65          private Long executionId;
66          private String message;
67  
68          public Long getExecutionId() {
69              return executionId;
70          }
71  
72          public void setExecutionId(final Long executionId) {
73              this.executionId = executionId;
74          }
75  
76          public String getMessage() {
77              return message;
78          }
79  
80          public void setMessage(final String message) {
81              this.message = message;
82          }
83      }
84  }