Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 152545 Details for
Bug 280815
Enhance the IServerWorkingCopy API to allow setting the timeout and publishers state
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
v1.1
280815patch_2.txt (text/plain), 6.35 KB, created by
Elson Yuen
on 2009-11-18 19:31:23 EST
(
hide
)
Description:
v1.1
Filename:
MIME Type:
Creator:
Elson Yuen
Created:
2009-11-18 19:31:23 EST
Size:
6.35 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.wst.server.core >Index: servercore/org/eclipse/wst/server/core/IServerAttributes.java >=================================================================== >RCS file: /cvsroot/webtools/servertools/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/IServerAttributes.java,v >retrieving revision 1.24 >diff -u -r1.24 IServerAttributes.java >--- servercore/org/eclipse/wst/server/core/IServerAttributes.java 25 Mar 2008 18:56:44 -0000 1.24 >+++ servercore/org/eclipse/wst/server/core/IServerAttributes.java 19 Nov 2009 00:32:34 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2004, 2007 IBM Corporation and others. >+ * Copyright (c) 2004, 2009 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -10,6 +10,9 @@ > *******************************************************************************/ > package org.eclipse.wst.server.core; > >+import java.util.List; >+import java.util.Map; >+ > import org.eclipse.core.resources.IFolder; > import org.eclipse.core.runtime.*; > /** >@@ -298,6 +301,46 @@ > public IStatus canModifyModules(IModule[] add, IModule[] remove, IProgressMonitor monitor); > > /** >+ * Get the server attribute value that is stored in this server attribute object. >+ * @param attributeName name of the attribute that is being queried. >+ * @param defaultValue the default value if the given attribute is not defined. >+ * @return the value of the given attribute. >+ */ >+ public int getAttribute(String attributeName, int defaultValue); >+ >+ /** >+ * Get the server attribute value that is stored in this server attribute object. >+ * @param attributeName name of the attribute that is being queried. >+ * @param defaultValue the default value if the given attribute is not defined. >+ * @return the value of the given attribute. >+ */ >+ public boolean getAttribute(String attributeName, boolean defaultValue); >+ >+ /** >+ * Get the server attribute value that is stored in this server attribute object. >+ * @param attributeName name of the attribute that is being queried. >+ * @param defaultValue the default value if the given attribute is not defined. >+ * @return the value of the given attribute. >+ */ >+ public String getAttribute(String attributeName, String defaultValue); >+ >+ /** >+ * Get the server attribute value that is stored in this server attribute object. >+ * @param attributeName name of the attribute that is being queried. >+ * @param defaultValue the default value if the given attribute is not defined. >+ * @return the value of the given attribute. >+ */ >+ public List<String> getAttribute(String attributeName, List<String> defaultValue); >+ >+ /** >+ * Get the server attribute value that is stored in this server attribute object. >+ * @param attributeName name of the attribute that is being queried. >+ * @param defaultValue the default value if the given attribute is not defined. >+ * @return the value of the given attribute. >+ */ >+ public Map getAttribute(String attributeName, Map defaultValue); >+ >+ /** > * Returns the child module(s) of this module. If this > * module contains other modules, it should list those > * modules. If not, it should return an empty list. >Index: servercore/org/eclipse/wst/server/core/IServerWorkingCopy.java >=================================================================== >RCS file: /cvsroot/webtools/servertools/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/IServerWorkingCopy.java,v >retrieving revision 1.23 >diff -u -r1.23 IServerWorkingCopy.java >--- servercore/org/eclipse/wst/server/core/IServerWorkingCopy.java 4 Feb 2008 01:41:48 -0000 1.23 >+++ servercore/org/eclipse/wst/server/core/IServerWorkingCopy.java 19 Nov 2009 00:32:34 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2004, 2008 IBM Corporation and others. >+ * Copyright (c) 2004, 2009 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -11,6 +11,9 @@ > package org.eclipse.wst.server.core; > > import java.beans.PropertyChangeListener; >+import java.util.List; >+import java.util.Map; >+ > import org.eclipse.core.resources.IFolder; > import org.eclipse.core.runtime.CoreException; > import org.eclipse.core.runtime.IProgressMonitor; >@@ -226,6 +229,41 @@ > public void setRuntime(IRuntime runtime); > > /** >+ * Set the server attribute value that is stored in the server working copy. >+ * @param attributeName name of the attribute that needs to be modified. >+ * @param value the new value of the given attribute. >+ */ >+ public void setAttribute(String attributeName, int value); >+ >+ /** >+ * Set the server attribute value that is stored in the server working copy. >+ * @param attributeName name of the attribute that needs to be modified. >+ * @param value the new value of the given attribute. >+ */ >+ public void setAttribute(String attributeName, boolean value); >+ >+ /** >+ * Set the server attribute value that is stored in the server working copy. >+ * @param attributeName name of the attribute that needs to be modified. >+ * @param value the new value of the given attribute. >+ */ >+ public void setAttribute(String attributeName, String value); >+ >+ /** >+ * Set the server attribute value that is stored in the server working copy. >+ * @param attributeName name of the attribute that needs to be modified. >+ * @param value the new value of the given attribute. >+ */ >+ public void setAttribute(String attributeName, List<String> value); >+ >+ /** >+ * Set the server attribute value that is stored in the server working copy. >+ * @param attributeName name of the attribute that needs to be modified. >+ * @param value the new value of the given attribute. >+ */ >+ public void setAttribute(String attributeName, Map value); >+ >+ /** > * Changes the host for the server. > * The format of the host can be either a qualified or unqualified hostname, > * or an IP address and must conform to RFC 2732.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
arvera
:
iplog+
arvera
:
review+
Actions:
View
|
Diff
Attachments on
bug 280815
:
139578
|
152513
| 152545