View Javadoc
1   /**
2    * Copyright 2005-2014 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.ksb.messaging.web;
17  
18  import java.util.ArrayList;
19  import java.util.List;
20  
21  import org.apache.struts.action.ActionForm;
22  import org.kuali.rice.ksb.api.bus.ServiceConfiguration;
23  
24  
25  /**
26   * Struts ActionForm for the {@link ServiceBusAction}.
27   *
28   * @author Kuali Rice Team (rice.collab@kuali.org)
29   *
30   */
31  public class ServiceBusForm extends ActionForm {
32  
33      private static final long serialVersionUID = -6662210181549552182L;
34      
35  	private String methodToCall;
36      private List<ServiceConfiguration> publishedServices = new ArrayList<ServiceConfiguration>();
37      private List<ServiceConfiguration> globalServices = new ArrayList<ServiceConfiguration>();
38  
39      private String myIpAddress;
40      private String myApplicationId;
41      private String myInstanceId;
42      private Boolean devMode;
43      private String removedApplicationId;
44  
45      public String getMethodToCall() {
46          return this.methodToCall;
47      }
48      public void setMethodToCall(String methodToCall) {
49          this.methodToCall = methodToCall;
50      }
51      public List<ServiceConfiguration> getGlobalServices() {
52          return this.globalServices;
53      }
54      public void setGlobalServices(List<ServiceConfiguration> globalServices) {
55          this.globalServices = globalServices;
56      }
57      public List<ServiceConfiguration> getPublishedServices() {
58          return this.publishedServices;
59      }
60      public void setPublishedServices(List<ServiceConfiguration> publishedServices) {
61          this.publishedServices = publishedServices;
62      }
63      public String getMyIpAddress() {
64          return this.myIpAddress;
65      }
66      public void setMyIpAddress(String myIpAddress) {
67          this.myIpAddress = myIpAddress;
68      }
69      public String getMyApplicationId() {
70          return this.myApplicationId;
71      }
72      public void setMyApplicationId(String myApplicationId) {
73          this.myApplicationId = myApplicationId;
74      }
75      public String getMyInstanceId() {
76  		return this.myInstanceId;
77  	}
78  	public void setMyInstanceId(String myInstanceId) {
79  		this.myInstanceId = myInstanceId;
80  	}
81  	public Boolean getDevMode() {
82          return this.devMode;
83      }
84      public void setDevMode(Boolean devMode) {
85          this.devMode = devMode;
86      }
87      public String getRemovedApplicationId() {
88          return this.removedApplicationId;
89      }
90      public void setRemovedApplicationId(String removedApplicationId) {
91          this.removedApplicationId = removedApplicationId;
92      }
93  
94  }