Class CucumberStepLogMessage
java.lang.Object
de.qytera.qtaf.core.log.model.message.LogMessage
de.qytera.qtaf.core.log.model.message.StepInformationLogMessage
de.qytera.qtaf.cucumber.log.model.message.CucumberStepLogMessage
Cucumber log message.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.qytera.qtaf.core.log.model.message.StepInformationLogMessage
StepInformationLogMessage.Status, StepInformationLogMessage.Step, StepInformationLogMessage.StepParameter -
Field Summary
Fields inherited from class de.qytera.qtaf.core.log.model.message.LogMessage
abstractScenarioId, featureId, level, message, scenarioId -
Constructor Summary
ConstructorsConstructorDescriptionCucumberStepLogMessage(String methodName, String message) Constructor.CucumberStepLogMessage(UUID id, String methodName, String message) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()Get id.Get scenarioId.intGet stepIndex.inthashCode()booleanGet dispatched.setDispatched(boolean dispatched) Set dispatched.Set id.setScenarioId(String scenarioId) Set scenarioId.setStepPosition(int stepPosition) Set stepIndex.Methods inherited from class de.qytera.qtaf.core.log.model.message.StepInformationLogMessage
addAssertion, addStepParameter, computeStatus, getAssertions, getDuration, getEnd, getError, getMethodName, getResult, getScreenshotAfter, getScreenshotBefore, getStart, getStatus, getStep, getStepParameters, getTYPE, getUuid, hasError, hasFailed, hasPassed, isPending, isSkipped, setAssertions, setEnd, setError, setError, setMethodName, setResult, setScreenshotAfter, setScreenshotBefore, setStart, setStatus, setStep, setStepDescription, setStepName, setStepParametersMethods inherited from class de.qytera.qtaf.core.log.model.message.LogMessage
getAbstractScenarioId, getFeatureId, getLevel, getMessage, setAbstractScenarioId, setFeatureId, setLevel, setMessage
-
Constructor Details
-
CucumberStepLogMessage
Constructor.- Parameters:
methodName- step namemessage- log message
-
CucumberStepLogMessage
Constructor.- Parameters:
id- unique ID for the stepmethodName- step namemessage- log message
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getId
Get id.- Returns:
- id
-
setId
Set id.- Parameters:
id- Id- Returns:
- this
-
getScenarioId
Get scenarioId.- Overrides:
getScenarioIdin classLogMessage- Returns:
- scenarioId
-
setScenarioId
Set scenarioId.- Overrides:
setScenarioIdin classLogMessage- Parameters:
scenarioId- ScenarioId- Returns:
- this
-
getStepPosition
public int getStepPosition()Get stepIndex.- Returns:
- stepIndex
-
setStepPosition
Set stepIndex.- Parameters:
stepPosition- StepIndex- Returns:
- this
-
isDispatched
public boolean isDispatched()Get dispatched.- Returns:
- dispatched
-
setDispatched
Set dispatched.- Parameters:
dispatched- Dispatched- Returns:
- this
-