ManagementMBean.java revision 658
340N/A * The contents of this file are subject to the terms of the 340N/A * Common Development and Distribution License (the "License"). 340N/A * You may not use this file except in compliance with the License. 340N/A * language governing permissions and limitations under the License. 340N/A * When distributing Covered Code, include this CDDL HEADER in each 340N/A * If applicable, add the following below this CDDL HEADER, with the 340N/A * fields enclosed by brackets "[]" replaced with your own identifying 340N/A * information: Portions Copyright [yyyy] [name of copyright owner] 340N/A * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 340N/A * Use is subject to license terms. 340N/A * Stops the agent, so it is not restarted. 340N/A * Get the xml based configuration file 340N/A * @return String with the file path and name for xml configuration 658N/A * Set a new name for the xml based configurationfile 658N/A * @param filename String name with full path of configurationfile 340N/A * Get the URL to the Publish Server we want to 340N/A * publish the indexed data 340N/A * @return String URL to the server (hostname:port) 639N/A * Set the URL to where to publish opengrok indexed data 639N/A * @param url String to server for publishing the opengrok.war file 340N/A * Set update index database property 639N/A * @param val Boolean true to also run update index database 340N/A * Get the udate database property 639N/A * @return Boolean returns true if update index database is switched on 340N/A * Set number of Threads to use for indexing 340N/A * Get number of Threads to use for indexing 340N/A * @return get StringArray of subfiles to run through 340N/A * Get a selected property from JAG configuration. 340N/A * @return String with property value 340N/A * Set a selected property in the JAG configuration. 340N/A * JAG will immediately save its configuration to file when a 340N/A * @param key the String key for the property to be set. 340N/A * $param value the String value for the property to be set. 340N/A * Get the selected System property 340N/A * @return String with property value 340N/A * Set a selected System property 340N/A * @param key the String key for the property to be set. 340N/A * $param value the String value for the property to be set. 340N/A * Get the selected Environment property 340N/A * @return String with Environment property value 340N/A * Get the time (in milliseconds since 1970) when the agent was started 340N/A * @return long time when the agent was started, in milliseconds. 340N/A * Get a Date object with the time the agent was started. 340N/A * @return Date with the starting date 340N/A * Get the version tag for the agent 340N/A * @return String the version tag for this agent 639N/A * Set the loglevel for the console 639N/A * @param level the level for console logging 639N/A * Get the current loglevel for the console 639N/A * @return Level current console loglevel 639N/A * set the file log level 639N/A * @param level the level for file logging 639N/A * get the loglevel on the agent logfile 639N/A * @return Level for file logging 639N/A * Set the path for the file logging 639N/A * @param path String path to where to log 639N/A * @throws IOException if path does not exist or could be created on server 639N/A * @return String file log path