public class ConnectionNode extends Node
Usage:
ConnectionNode conn = DriversNode.invoke("jdbc:derby:/mydb", "tester", "APP"); conn.connect(); conn.executeCommand(); .... conn.disconnect();
stringPath, treeOperator, treePath
Constructor and Description |
---|
ConnectionNode(String url,
String user,
String schema)
creates new ConnectionNode
|
Modifier and Type | Method and Description |
---|---|
void |
connect()
performs ConnectAction with this node
|
void |
delete()
performs DeleteAction with this node
|
void |
disconnect()
performs DisconnectAction with this node
|
void |
executeCommand()
performs ExecuteCommandAction with this node
|
static ConnectionNode |
invoke(String url,
String user,
String schema)
Finds "Databases > ${connection}" node
|
void |
properties()
performs PropertiesAction with this node
|
addSelectionPath, callPopup, collapse, expand, getChildren, getComparator, getOpenideNode, getParentPath, getPath, getText, getTreePath, isChildPresent, isCollapsed, isExpanded, isLeaf, isLink, isPresent, performAPIAction, performAPIActionNoBlock, performMenuAction, performMenuActionNoBlock, performPopupAction, performPopupActionNoBlock, select, setComparator, tree, verifyPopup, verifyPopup, verifyPopup, waitChildNotPresent, waitCollapsed, waitExpanded, waitNotPresent
public static ConnectionNode invoke(String url, String user, String schema)
url
- database URLuser
- user nameschema
- schema namepublic void connect()
public void disconnect()
public void executeCommand()
public void delete()
public void properties()