2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 package org.apache.jk.status;
19 import java.io.Serializable;
20 import java.util.ArrayList;
21 import java.util.List;
24 * @author Peter Rossbach
25 * @version $Revision: 485242 $ $Date: 2006-12-10 20:45:39 +0100 (Sun, 10 Dec 2006) $
26 * @see org.apache.jk.status.JkStatusParser
28 public class JkStatus implements Serializable {
33 List balancers = new ArrayList() ;
36 * @return Returns the balancers.
38 public List getBalancers() {
42 * @param balancers The balancers to set.
44 public void setBalancers(List balancers) {
45 this.balancers = balancers;
48 public void addBalancer(JkBalancer balancer) {
49 balancers.add(balancer);
52 public void removeBalancer(JkBalancer balancer) {
53 balancers.remove(balancer);
57 * @return Returns the server.
59 public JkServer getServer() {
62 public void setServer(JkServer server) {
63 this.server = server ;
68 public JkResult getResult() {
72 * @param result the result to set
74 public void setResult(JkResult result) {
79 * @return Returns the software.
81 public JkSoftware getSoftware() {
85 * @param software The software to set.
87 public void setSoftware(JkSoftware software) {
88 this.software = software;