Class WstServerActionPropertyTester
java.lang.Object
org.eclipse.core.expressions.PropertyTester
com.e1c.g5.dt.internal.applications.wst.ui.actions.WstServerActionPropertyTester
- All Implemented Interfaces:
org.eclipse.core.expressions.IPropertyTester
public final class WstServerActionPropertyTester
extends org.eclipse.core.expressions.PropertyTester
Tests characteristics of WST server.
Selected object could be either
IServerApplication or IServerArtifact
or a collection with a single element of the above mentioned.
"startAvailable" maps IServer.canStart(String) and requires an argument that is either
"run" or "debug" designating if checking that a server can start in regular mode or debug mode.
If server is already running then generally it means that it cannot be started.
"stopAvailable" maps to IServer.canStop().
Servers can be stopped if they are not already stopped and ifthey belong to a state-set that can be stopped.
"publishAvailable" depends on if selection is IServerApplication (or a collection
with such a single element). In this case, IServer.canPublishModule(org.eclipse.wst.server.core.IModule[], org.eclipse.core.runtime.IProgressMonitor) is consulted
if the module can be published. Otherwise, IServer.canPublish() is used to check
if "something" can be published on the server.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.core.expressions.PropertyTester
handles, instantiate, internalCreateDescriptor, internalInitialize, isDeclaringPluginActive, isInstantiated
-
Constructor Details
-
WstServerActionPropertyTester
public WstServerActionPropertyTester()
-
-
Method Details
-
test
-