Package mks.ci.server.engine
Class LocalTriggerManager.ScriptVerdictTypeBean
- java.lang.Object
-
- mks.frame.triggers.ScriptExposableBaseBean
-
- mks.frame.triggers.beans.ScriptBaseBean
-
- mks.ci.server.engine.LocalTriggerManager.ScriptIMBaseBean
-
- mks.ci.server.engine.LocalTriggerManager.ScriptVerdictTypeBean
-
- All Implemented Interfaces:
mks.frame.triggers.ScriptExposableBean
- Enclosing class:
- LocalTriggerManager
public static class LocalTriggerManager.ScriptVerdictTypeBean extends LocalTriggerManager.ScriptIMBaseBean implements mks.frame.triggers.ScriptExposableBean
A bean that encapsulates a verdict type.
Instances of this bean can be obtained by calling
getVerdictTypeBean
on aLocalTriggerManager.ScriptTestResultBean
orLocalTriggerManager.ScriptTestResultDeltaBean
.
-
-
Constructor Summary
Constructors Constructor Description ScriptVerdictTypeBean(mks.ci.common.VerdictType verdictType, int userId, java.sql.Connection c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDisplayName()
Gets the display name of this verdict typejava.lang.String
getExposedName()
Returns the name of this bean that is exposed to the scripting language.java.lang.String
getName()
Gets the name of this verdict typeboolean
isFail()
Returns true if this verdict type represents a fail verdict.boolean
isOther()
Returns true if this verdict type represents a verdict that is not a pass or a fail.boolean
isPass()
Returns true if this verdict type represents a pass verdict.-
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
-
getExposedName
public java.lang.String getExposedName()
Description copied from class:ScriptBaseBean
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:
- the bean name:
siMemberBean
.
-
getName
public java.lang.String getName()
Gets the name of this verdict type- Returns:
- the name of this verdict type.
-
getDisplayName
public java.lang.String getDisplayName()
Gets the display name of this verdict type- Returns:
- the display name of this verdict type.
-
isPass
public boolean isPass()
Returns true if this verdict type represents a pass verdict.- Returns:
- true if this verdict type represents a pass verrdict, false otherwise.
-
isFail
public boolean isFail()
Returns true if this verdict type represents a fail verdict.- Returns:
- true if this verdict type represents a fail verdict, false otherwise.
-
isOther
public boolean isOther()
Returns true if this verdict type represents a verdict that is not a pass or a fail.- Returns:
- true if this verdict type represents a verdict that is not a pass or a fail, false otherwise.
-
-