| org.netbeans.modules.visualweb.gravy.TopComponentOperator org.netbeans.modules.visualweb.gravy.dataconnectivity.ServerExplorerOperator
All known Subclasses: org.netbeans.modules.visualweb.gravy.dataconnectivity.ServerNavigatorOperator,
ServerExplorerOperator | public class ServerExplorerOperator extends TopComponentOperator (Code) | | This class implements test functionality for the window "ServerExplorer".
|
Method Summary | |
public static void | addDeploymentTarget(DeploymentTargetDescriptor DTDescriptor) Adds a deployment target. | public void | addTable(String treePath) Adds database table on Design View via popup menu, related to its tree node. | public void | addTable(String treePath, DesignerPaneOperator designer) Adds database table on Design View via popup menu, related to its tree node. | public void | addTable(TreePath treePath, DesignerPaneOperator designer) Adds database table on Design View via popup menu, related to its tree node. | public void | addTable(String treePath, DesignerPaneOperator designer, Point location) Adds database table on Design View via popup menu, related to its tree node. | public void | addTable(TreePath treePath, DesignerPaneOperator designer, Point location) Adds database table on Design View via popup menu, related to its tree node. | public String | addWebServiceLocal(String wsName) Adds a Web Service by using a local file. | public String | addWebServiceUrl(String url) | public String | addWebServiceUrl(String url, String proxyHost, String proxyPort) | public static void | deleteResource(String resource) Removes a resource from an application server. | public JTreeOperator | getTree() Returns a tree, which is contained in the window "Server Explorer". | public static boolean | isServerStarted(String server) Checks if an application server is started or not. | public void | pushPopup(String treePath, String menu) Clicks an item of popup menu, related to required tree node. | public void | pushPopup(JTreeOperator tree, String treePath, String menu) Clicks an item of popup menu, related to required tree node. | public void | pushPopup(String[] treePath, String menu) Clicks an item of popup menu, related to required tree node. | public void | selectPath(String treePath) Selects a tree node according to a required tree path. | public static void | startServer(String server) Starts an application server. | public static void | stopServer(String server) Stops an application server. | public static void | undeployProject(String server, String prj, boolean parse) Undeploys a project from an application server. | public static boolean | verifyUndeployment(String server, String prj, boolean parse) Checks undeployment of a project from an application server. |
STR_NAME_WEBLOGICSTR_NAME_JBOSSSTR_NAME_APPSERVERSTR_NAME_GLASSFISH_V1STR_NAME_GLASSFISH_V2STR_NAME_TOMCAT50STR_NAME_TOMCAT55STR_NAME_TOMCAT60STR_MENU_ITEM_SERVER_MANAGERSTR_DIALOG_TITLE_SERVER_MANAGERSTR_WIZARD_TITLE_ADD_SERVERSTR_BUTTON_TITLE_ADD_SERVERSTR_BUTTON_TITLE_CLOSESTR_BUTTON_TITLE_CHOOSESTR_MENU_ITEM_STARTSTR_MENU_ITEM_STOPSTR_SERVERS_PATHSTR_SERVER_STARTSTR_SERVER_STOP | final public static String STR_NAME_WEBLOGICSTR_NAME_JBOSSSTR_NAME_APPSERVERSTR_NAME_GLASSFISH_V1STR_NAME_GLASSFISH_V2STR_NAME_TOMCAT50STR_NAME_TOMCAT55STR_NAME_TOMCAT60STR_MENU_ITEM_SERVER_MANAGERSTR_DIALOG_TITLE_SERVER_MANAGERSTR_WIZARD_TITLE_ADD_SERVERSTR_BUTTON_TITLE_ADD_SERVERSTR_BUTTON_TITLE_CLOSESTR_BUTTON_TITLE_CHOOSESTR_MENU_ITEM_STARTSTR_MENU_ITEM_STOPSTR_SERVERS_PATHSTR_SERVER_STARTSTR_SERVER_STOP(Code) | | |
ServerExplorerOperator | public ServerExplorerOperator(ContainerOperator parent)(Code) | | Creates a new instance of this class
Parameters: parent - an object ContainerOperator related to container, which includes window "Server Explorer". |
ServerExplorerOperator | public ServerExplorerOperator()(Code) | | Creates a new instance of this class
|
addDeploymentTarget | public static void addDeploymentTarget(DeploymentTargetDescriptor DTDescriptor)(Code) | | Adds a deployment target.
Parameters: DTDescriptor - object DeploymentTargetDescriptor, describingproperties of deployment target |
addTable | public void addTable(String treePath)(Code) | | Adds database table on Design View via popup menu, related to its tree node.
Parameters: treePath - a path of required tree node |
addTable | public void addTable(String treePath, DesignerPaneOperator designer)(Code) | | Adds database table on Design View via popup menu, related to its tree node.
Parameters: treePath - a path of required tree node Parameters: designer - an object DesignerPaneOperator |
addTable | public void addTable(TreePath treePath, DesignerPaneOperator designer)(Code) | | Adds database table on Design View via popup menu, related to its tree node.
Parameters: treePath - a path of required tree node as object TreePath Parameters: designer - an object DesignerPaneOperator |
addTable | public void addTable(String treePath, DesignerPaneOperator designer, Point location)(Code) | | Adds database table on Design View via popup menu, related to its tree node.
Parameters: treePath - a path of required tree node Parameters: designer - an object DesignerPaneOperator Parameters: location - a point on Design View for mouse clicking |
addTable | public void addTable(TreePath treePath, DesignerPaneOperator designer, Point location)(Code) | | Adds database table on Design View via popup menu, related to its tree node.
Parameters: treePath - a path of required tree node as object TreePath Parameters: designer - an object DesignerPaneOperator Parameters: location - a point on Design View for mouse clicking |
addWebServiceLocal | public String addWebServiceLocal(String wsName)(Code) | | Adds a Web Service by using a local file.
Parameters: wsName - a local WSDL file name of added Web Service |
addWebServiceUrl | public String addWebServiceUrl(String url)(Code) | | Adds an URL of Web Service
Parameters: url - URL of a Web Service WSDL file name of added Web Service |
addWebServiceUrl | public String addWebServiceUrl(String url, String proxyHost, String proxyPort)(Code) | | Adds an URL of Web Service
Parameters: url - URL of a Web Service WSDL file Parameters: proxyHost - a proxy server host Parameters: proxyPort - a proxy server port name of added Web Service |
deleteResource | public static void deleteResource(String resource)(Code) | | Removes a resource from an application server.
Parameters: resource - a name of resource (tree node) |
getTree | public JTreeOperator getTree()(Code) | | Returns a tree, which is contained in the window "Server Explorer".
an object JTreeOperator |
isServerStarted | public static boolean isServerStarted(String server) throws Exception(Code) | | Checks if an application server is started or not.
Parameters: server - a name of an application server (name of tree node) true - server is running, false - otherwise. |
pushPopup | public void pushPopup(String treePath, String menu)(Code) | | Clicks an item of popup menu, related to required tree node.
Parameters: treePath - a path of required tree node Parameters: menu - a name of menu item |
pushPopup | public void pushPopup(JTreeOperator tree, String treePath, String menu)(Code) | | Clicks an item of popup menu, related to required tree node.
Parameters: tree - an object JTreeOperator, related to a tree Parameters: treePath - a path of required tree node Parameters: menu - a name of menu item |
pushPopup | public void pushPopup(String[] treePath, String menu)(Code) | | Clicks an item of popup menu, related to required tree node.
Parameters: treePath - a string array with path of required tree node (sequence of node names from the root node to a required node) Parameters: menu - a name of menu item |
selectPath | public void selectPath(String treePath)(Code) | | Selects a tree node according to a required tree path.
Parameters: treePath - a path of required tree node |
startServer | public static void startServer(String server) throws Exception(Code) | | Starts an application server.
Parameters: server - a name of an application server (name of tree node) |
stopServer | public static void stopServer(String server)(Code) | | Stops an application server.
Parameters: server - a name of an application server (name of tree node) |
undeployProject | public static void undeployProject(String server, String prj, boolean parse)(Code) | | Undeploys a project from an application server.
Parameters: server - a name of application server Parameters: prj - a name of project Parameters: parse - boolean parameter: true - only the first 2 chars of the project name are considered, false - full project name is valuable |
verifyUndeployment | public static boolean verifyUndeployment(String server, String prj, boolean parse)(Code) | | Checks undeployment of a project from an application server.
Parameters: server - a name of application server Parameters: prj - a name of project Parameters: parse - boolean parameter: true - only the first 2 chars of the project name are considered, false - full project name is valuable |
|
|