📄 stopscript.java
字号:
/* * Copyright (C) 2001 - 2004 ScalAgent Distributed Technologies * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA. * * Initial developer(s): ScalAgent Distributed Technologies * Contributor(s): */package fr.dyade.aaa.admin.script;import java.lang.*;import java.io.*;import java.util.*;import fr.dyade.aaa.admin.cmd.*;import fr.dyade.aaa.agent.conf.*;/** * StopScript contain a StopAdminCmd vector to stop networks, servers * and services. * * @see fr.dyade.aaa.agent.AgentAdmin * @see fr.dyade.aaa.agent.AgentServer * @see StopAdminCmd * @see A3CMLConfig */public class StopScript implements Serializable { /** vector of StopAdminCmd */ private Vector commands = null; /** * StopScript * * @see AgentAdmin */ public StopScript() { commands = new Vector(); } public void add(StopAdminCmd cmd) { commands.addElement(cmd); } public boolean remove(StopAdminCmd cmd) { return commands.removeElement(cmd); } public boolean contains(StopAdminCmd cmd) { return commands.contains(cmd); } public Enumeration elements() { return commands.elements(); } public int size() { return commands.size(); } public Object elementAt(int i) throws ArrayIndexOutOfBoundsException { return commands.elementAt(i); } public String toString() { return commands.toString(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -