Skip to main content
summaryrefslogtreecommitdiffstats
blob: 8a537147d0073822d69355ffdd298aa2e11412a1 (plain) (blame)
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
package org.eclipse.osee.ote;

public class ConfigurationStatus {

   private Configuration configuration;
   private boolean success;
   private String message;

   public ConfigurationStatus(Configuration configuration, boolean success, String message) {
      this.configuration = configuration;
      this.success = success;
      this.message = message;
   }

   public void setFail(String message) {
      success = false;
      this.message = message;
   }
   
   public boolean isSuccess(){
      return success;
   }
   
   public String getMessage(){
      return message;
   }
   
   public Configuration getConfiguration(){
      return configuration;
   }

}

Back to the top