[119682] shouldRestart() & shouldPublish()
diff --git a/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/IServer.java b/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/IServer.java
index 9e21ba0..009d67c 100644
--- a/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/IServer.java
+++ b/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/IServer.java
@@ -286,6 +286,15 @@
 	public IStatus canPublish();
 
 	/**
+	 * Returns true if the server should be published to. This is <code>true</code> when the server
+	 * can be published to and the server's publish state or any module's publish state is not
+	 * PUBLISH_STATE_NONE. 
+	 * 
+	 * @return boolean
+	 */
+	public boolean shouldPublish();
+
+	/**
 	 * Publish to the server using the progress monitor. The result of the
 	 * publish operation is returned as an IStatus.
 	 * <p>
@@ -400,6 +409,15 @@
 	public IStatus canRestart(String mode);
 
 	/**
+	 * Returns true if the server should be restarted. This is <code>true</code> when the server
+	 * can be restarted and the server's restart state or any module's restart states is not
+	 * false. 
+	 * 
+	 * @return boolean
+	 */
+	public boolean shouldRestart();
+
+	/**
 	 * Returns whether this server is out of sync and needs to be
 	 * restarted. This method will return false when the
 	 * server is not running.