|
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 |
* @param defaultValue the default value if the given attribute is not defined. |
| 307 |
* @return the value of the given attribute. |
| 308 |
*/ |
| 309 |
public int getAttribute(String attributeName, int defaultValue); |
| 310 |
|
| 311 |
/** |
| 312 |
* Get the server attribute value that is stored in this server attribute object. |
| 313 |
* @param attributeName name of the attribute that is being queried. |
| 314 |
* @param defaultValue the default value if the given attribute is not defined. |
| 315 |
* @return the value of the given attribute. |
| 316 |
*/ |
| 317 |
public boolean getAttribute(String attributeName, boolean defaultValue); |
| 318 |
|
| 319 |
/** |
| 320 |
* Get the server attribute value that is stored in this server attribute object. |
| 321 |
* @param attributeName name of the attribute that is being queried. |
| 322 |
* @param defaultValue the default value if the given attribute is not defined. |
| 323 |
* @return the value of the given attribute. |
| 324 |
*/ |
| 325 |
public String getAttribute(String attributeName, String defaultValue); |
| 326 |
|
| 327 |
/** |
| 328 |
* Get the server attribute value that is stored in this server attribute object. |
| 329 |
* @param attributeName name of the attribute that is being queried. |
| 330 |
* @param defaultValue the default value if the given attribute is not defined. |
| 331 |
* @return the value of the given attribute. |
| 332 |
*/ |
| 333 |
public List<String> getAttribute(String attributeName, List<String> defaultValue); |
| 334 |
|
| 335 |
/** |
| 336 |
* Get the server attribute value that is stored in this server attribute object. |
| 337 |
* @param attributeName name of the attribute that is being queried. |
| 338 |
* @param defaultValue the default value if the given attribute is not defined. |
| 339 |
* @return the value of the given attribute. |
| 340 |
*/ |
| 341 |
public Map getAttribute(String attributeName, Map defaultValue); |
| 342 |
|
| 343 |
/** |
| 301 |
* Returns the child module(s) of this module. If this |
344 |
* Returns the child module(s) of this module. If this |
| 302 |
* module contains other modules, it should list those |
345 |
* module contains other modules, it should list those |
| 303 |
* modules. If not, it should return an empty list. |
346 |
* modules. If not, it should return an empty list. |