KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > fr > dyade > aaa > agent > AdminStartStopNot


1 /*
2  * Copyright (C) 1996 - 2000 SCALAGENT
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
17  * USA.
18  */

19
20 package fr.dyade.aaa.agent;
21
22 import fr.dyade.aaa.admin.script.*;
23
24 /**
25  * AdminStartStopNot is a notification to
26  * start and stop networks, servers persitents,
27  * servers transients and services.
28  *
29  * @see StartScript
30  * @see StopScript
31  * @see AgentAdmin
32  * @see AdminAckStartStopNot
33  */

34 public class AdminStartStopNot extends Notification {
35
36   /** start script vector */
37   public StartScript startScript = null;
38   /** stop script vector */
39   public StopScript stopScript = null;
40
41   /**
42    * Appends a string image for this object to the StringBuffer parameter.
43    *
44    * @param output
45    * buffer to fill in
46    * @return
47     <code>output</code> buffer is returned
48    */

49   public StringBuffer JavaDoc toString(StringBuffer JavaDoc output) {
50     output.append('(');
51     super.toString(output);
52     output.append(",startScript=").append(startScript);
53     output.append(",stopScript=").append(stopScript);
54     output.append(')');
55
56     return output;
57   }
58 }
59
Popular Tags