Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 280815 | Differences between
and this patch

Collapse All | Expand All

(-)servercore/org/eclipse/wst/server/core/IServerAttributes.java (-1 / +39 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2007 IBM Corporation and others.
2
 * Copyright (c) 2004, 2009 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 10-15 Link Here
10
 *******************************************************************************/
10
 *******************************************************************************/
11
package org.eclipse.wst.server.core;
11
package org.eclipse.wst.server.core;
12
12
13
import java.util.List;
14
import java.util.Map;
15
13
import org.eclipse.core.resources.IFolder;
16
import org.eclipse.core.resources.IFolder;
14
import org.eclipse.core.runtime.*;
17
import org.eclipse.core.runtime.*;
15
/**
18
/**
Lines 298-303 Link Here
298
	public IStatus canModifyModules(IModule[] add, IModule[] remove, IProgressMonitor monitor);
301
	public IStatus canModifyModules(IModule[] add, IModule[] remove, IProgressMonitor monitor);
299
302
300
	/**
303
	/**
304
	 * Get the server attribute value that is stored in this server attribute object.
305
	 * @param attributeName name of the attribute that is being queried.
306
	 * @return the value of the given attribute.
307
	 */
308
	public int getAttributeInt(String attributeName);
309
310
	/**
311
	 * Get the server attribute value that is stored in this server attribute object.
312
	 * @param attributeName name of the attribute that is being queried.
313
	 * @return the value of the given attribute.
314
	 */
315
	public boolean getAttributeBoolean(String attributeName);
316
317
	/**
318
	 * Get the server attribute value that is stored in this server attribute object.
319
	 * @param attributeName name of the attribute that is being queried.
320
	 * @return the value of the given attribute.
321
	 */
322
	public String getAttributeString(String attributeName);
323
324
	/**
325
	 * Get the server attribute value that is stored in this server attribute object.
326
	 * @param attributeName name of the attribute that is being queried.
327
	 * @return the value of the given attribute.
328
	 */
329
	public List<String> getAttributeList(String attributeName);
330
331
	/**
332
	 * Get the server attribute value that is stored in this server attribute object.
333
	 * @param attributeName name of the attribute that is being queried.
334
	 * @return the value of the given attribute.
335
	 */
336
	public Map getAttributeMap(String attributeName);
337
338
	/**
301
	 * Returns the child module(s) of this module. If this
339
	 * Returns the child module(s) of this module. If this
302
	 * module contains other modules, it should list those
340
	 * module contains other modules, it should list those
303
	 * modules. If not, it should return an empty list.
341
	 * modules. If not, it should return an empty list.
(-)servercore/org/eclipse/wst/server/core/IServerWorkingCopy.java (-1 / +39 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2008 IBM Corporation and others.
2
 * Copyright (c) 2004, 2009 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 11-16 Link Here
11
package org.eclipse.wst.server.core;
11
package org.eclipse.wst.server.core;
12
12
13
import java.beans.PropertyChangeListener;
13
import java.beans.PropertyChangeListener;
14
import java.util.List;
15
import java.util.Map;
16
14
import org.eclipse.core.resources.IFolder;
17
import org.eclipse.core.resources.IFolder;
15
import org.eclipse.core.runtime.CoreException;
18
import org.eclipse.core.runtime.CoreException;
16
import org.eclipse.core.runtime.IProgressMonitor;
19
import org.eclipse.core.runtime.IProgressMonitor;
Lines 226-231 Link Here
226
	public void setRuntime(IRuntime runtime);
229
	public void setRuntime(IRuntime runtime);
227
230
228
	/**
231
	/**
232
	 * Set the server attribute value that is stored in the server working copy.
233
	 * @param attributeName name of the attribute that needs to be modified.
234
	 * @param value the new value of the given attribute.
235
	 */
236
	public void setAttribute(String attributeName, int value);
237
238
	/**
239
	 * Set the server attribute value that is stored in the server working copy.
240
	 * @param attributeName name of the attribute that needs to be modified.
241
	 * @param value the new value of the given attribute.
242
	 */
243
	public void setAttribute(String attributeName, boolean value);
244
245
	/**
246
	 * Set the server attribute value that is stored in the server working copy.
247
	 * @param attributeName name of the attribute that needs to be modified.
248
	 * @param value the new value of the given attribute.
249
	 */
250
	public void setAttribute(String attributeName, String value);
251
252
	/**
253
	 * Set the server attribute value that is stored in the server working copy.
254
	 * @param attributeName name of the attribute that needs to be modified.
255
	 * @param value the new value of the given attribute.
256
	 */
257
	public void setAttribute(String attributeName, List<String> value);
258
259
	/**
260
	 * Set the server attribute value that is stored in the server working copy.
261
	 * @param attributeName name of the attribute that needs to be modified.
262
	 * @param value the new value of the given attribute.
263
	 */
264
	public void setAttribute(String attributeName, Map value);
265
266
	/**
229
	 * Changes the host for the server.
267
	 * Changes the host for the server.
230
	 * The format of the host can be either a qualified or unqualified hostname,
268
	 * The format of the host can be either a qualified or unqualified hostname,
231
	 * or an IP address and must conform to RFC 2732.
269
	 * or an IP address and must conform to RFC 2732.

Return to bug 280815