001 /** 002 * Copyright 2005-2013 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 package org.kuali.rice.ksb.messaging.web; 017 018 import java.util.ArrayList; 019 import java.util.List; 020 021 import org.apache.struts.action.ActionForm; 022 import org.kuali.rice.ksb.api.bus.ServiceConfiguration; 023 024 025 /** 026 * Struts ActionForm for the {@link ServiceBusAction}. 027 * 028 * @author Kuali Rice Team (rice.collab@kuali.org) 029 * 030 */ 031 public class ServiceBusForm extends ActionForm { 032 033 private static final long serialVersionUID = -6662210181549552182L; 034 035 private String methodToCall; 036 private List<ServiceConfiguration> publishedServices = new ArrayList<ServiceConfiguration>(); 037 private List<ServiceConfiguration> globalServices = new ArrayList<ServiceConfiguration>(); 038 039 private String myIpAddress; 040 private String myApplicationId; 041 private String myInstanceId; 042 private Boolean devMode; 043 private String removedApplicationId; 044 045 public String getMethodToCall() { 046 return this.methodToCall; 047 } 048 public void setMethodToCall(String methodToCall) { 049 this.methodToCall = methodToCall; 050 } 051 public List<ServiceConfiguration> getGlobalServices() { 052 return this.globalServices; 053 } 054 public void setGlobalServices(List<ServiceConfiguration> globalServices) { 055 this.globalServices = globalServices; 056 } 057 public List<ServiceConfiguration> getPublishedServices() { 058 return this.publishedServices; 059 } 060 public void setPublishedServices(List<ServiceConfiguration> publishedServices) { 061 this.publishedServices = publishedServices; 062 } 063 public String getMyIpAddress() { 064 return this.myIpAddress; 065 } 066 public void setMyIpAddress(String myIpAddress) { 067 this.myIpAddress = myIpAddress; 068 } 069 public String getMyApplicationId() { 070 return this.myApplicationId; 071 } 072 public void setMyApplicationId(String myApplicationId) { 073 this.myApplicationId = myApplicationId; 074 } 075 public String getMyInstanceId() { 076 return this.myInstanceId; 077 } 078 public void setMyInstanceId(String myInstanceId) { 079 this.myInstanceId = myInstanceId; 080 } 081 public Boolean getDevMode() { 082 return this.devMode; 083 } 084 public void setDevMode(Boolean devMode) { 085 this.devMode = devMode; 086 } 087 public String getRemovedApplicationId() { 088 return this.removedApplicationId; 089 } 090 public void setRemovedApplicationId(String removedApplicationId) { 091 this.removedApplicationId = removedApplicationId; 092 } 093 094 }