Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2014-10-13 11:20:54 +0000
committerMarkus Tiede2014-10-15 07:18:20 +0000
commit690b517897137710452fb0894fd4d536dbad826b (patch)
treee9199869bf0f6939c2582369920dbb5b31f81f21 /org.eclipse.jubula.client.api
parent86ee0e1f91b02834399c7b126fa48848c5c7b897 (diff)
downloadorg.eclipse.jubula.core-690b517897137710452fb0894fd4d536dbad826b.tar.gz
org.eclipse.jubula.core-690b517897137710452fb0894fd4d536dbad826b.tar.xz
org.eclipse.jubula.core-690b517897137710452fb0894fd4d536dbad826b.zip
Sprint task - provide API: implement connect to AUT via API - part 2.
Diffstat (limited to 'org.eclipse.jubula.client.api')
-rw-r--r--org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/AUT.java7
-rw-r--r--org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java6
2 files changed, 13 insertions, 0 deletions
diff --git a/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/AUT.java b/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/AUT.java
index 3373f66c8..cb1d182c0 100644
--- a/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/AUT.java
+++ b/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/AUT.java
@@ -10,6 +10,13 @@
*******************************************************************************/
package org.eclipse.jubula.client;
+import org.eclipse.jubula.tools.internal.registration.AutIdentifier;
+
/** @author BREDEX GmbH */
public interface AUT extends Remote {
+
+ /**
+ * @return the identifier of this AUT
+ */
+ AutIdentifier getID();
} \ No newline at end of file
diff --git a/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java b/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java
index 0c67ed5f7..a1d5a1fed 100644
--- a/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java
+++ b/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java
@@ -46,4 +46,10 @@ public class AUTImpl implements AUT {
public boolean isConnected() {
return m_instance != null ? m_instance.isConnected() : false;
}
+
+
+ /** {@inheritDoc} */
+ public AutIdentifier getID() {
+ return m_autID;
+ }
} \ No newline at end of file

Back to the top