Package mks.ci.server.engine
Class LocalTriggerManager.ScriptTestSessionRunBean
- java.lang.Object
-
- mks.frame.triggers.ScriptExposableBaseBean
-
- mks.frame.triggers.beans.ScriptBaseBean
-
- mks.ci.server.engine.LocalTriggerManager.ScriptIMBaseBean
-
- mks.ci.server.engine.LocalTriggerManager.ScriptTestSessionRunBean
-
- All Implemented Interfaces:
mks.frame.triggers.ScriptExposableBean
- Enclosing class:
- LocalTriggerManager
public static class LocalTriggerManager.ScriptTestSessionRunBean extends LocalTriggerManager.ScriptIMBaseBean implements mks.frame.triggers.ScriptExposableBean
This bean represents a test session run within an Agent.This bean may be obtained from the agent bean, via the
getRunningTestSessions
call.
-
-
Constructor Summary
Constructors Constructor Description ScriptTestSessionRunBean(int userId, java.sql.Connection c, mks.tm.api.TestSessionRun wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAdapterName()
Get the name of the adapter.java.lang.String
getExposedName()
Returns the name of this bean that is exposed to the scripting language.int
getTestSessionID()
Get the ID of the test session item.boolean
isCancelled()
An indication that the test session run has been marked cancelled or not.-
Methods inherited from class mks.ci.server.engine.LocalTriggerManager.ScriptIMBaseBean
getCurrentDatabaseTime, getCurrentDatabaseTime, getCurrentUser, getServerBean, getUserID, isParallelProcessingEnabled
-
Methods inherited from class mks.frame.triggers.beans.ScriptBaseBean
getEnvironmentBean, setEnvironmentBean
-
-
-
-
Method Detail
-
getTestSessionID
public int getTestSessionID() throws mks.frame.triggers.TriggerException
Get the ID of the test session item.- Returns:
- The ID of the test session item.
- Throws:
mks.frame.triggers.TriggerException
- Reserved exception.
-
getAdapterName
public java.lang.String getAdapterName() throws mks.frame.triggers.TriggerException
Get the name of the adapter.- Returns:
- The name of the adapter.
- Throws:
mks.frame.triggers.TriggerException
- Reserved exception.
-
isCancelled
public boolean isCancelled() throws mks.frame.triggers.TriggerException
An indication that the test session run has been marked cancelled or not.- Returns:
true
if the test session run has been marked cancelled,false
otherwise.
- Throws:
mks.frame.triggers.TriggerException
- Reserved exception.
-
getExposedName
public java.lang.String getExposedName()
Returns the name of this bean that is exposed to the scripting language.- Specified by:
getExposedName
in interfacemks.frame.triggers.ScriptExposableBean
- Specified by:
getExposedName
in classScriptBaseBean
- Returns:
- This bean is named imTestSessionRunBean.
-
-