Package ru.testit.models
Class StepResult
- java.lang.Object
-
- ru.testit.models.StepResult
-
- All Implemented Interfaces:
java.io.Serializable,ResultWithAttachments,ResultWithSteps
public class StepResult extends java.lang.Object implements ResultWithSteps, ResultWithAttachments, java.io.Serializable
Model describes step.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StepResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getAttachments()Gets attachments.java.lang.StringgetDescription()Gets description.ItemStagegetItemStage()Gets item stage.ItemStatusgetItemStatus()Gets item status.java.util.List<LinkItem>getLinkItems()Gets links.java.lang.StringgetName()Gets name.java.util.Map<java.lang.String,java.lang.String>getParameters()Gets parameters.java.lang.LonggetStart()Gets start.java.util.List<StepResult>getSteps()Gets steps.java.lang.LonggetStop()Gets stop.java.lang.ThrowablegetThrowable()Gets throwable.StepResultsetAttachments(java.util.List<java.lang.String> attachments)Sets attachments.StepResultsetDescription(java.lang.String description)Sets description.StepResultsetItemStage(ItemStage itemStage)Sets item stage.StepResultsetItemStatus(ItemStatus itemStatus)Sets item status.StepResultsetLinkItems(java.util.List<LinkItem> linkItems)Sets links.StepResultsetName(java.lang.String name)Sets name.StepResultsetParameters(java.util.Map<java.lang.String,java.lang.String> parameters)Sets parameters.StepResultsetStart(java.lang.Long start)Sets start.StepResultsetSteps(java.util.List<StepResult> steps)Sets steps.StepResultsetStop(java.lang.Long stop)Sets stop.StepResultsetThrowable(java.lang.Throwable throwable)Sets throwable.java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets name.- Returns:
- the name
-
setName
public StepResult setName(java.lang.String name)
Sets name.- Parameters:
name- the value- Returns:
- self for method chaining
-
getItemStatus
public ItemStatus getItemStatus()
Gets item status.- Returns:
- the item status
-
setItemStatus
public StepResult setItemStatus(ItemStatus itemStatus)
Sets item status.- Parameters:
itemStatus- the value- Returns:
- self for method chaining
-
getItemStage
public ItemStage getItemStage()
Gets item stage.- Returns:
- the item stage
-
setItemStage
public StepResult setItemStage(ItemStage itemStage)
Sets item stage.- Parameters:
itemStage- the value- Returns:
- self for method chaining
-
getDescription
public java.lang.String getDescription()
Gets description.- Returns:
- the description
-
setDescription
public StepResult setDescription(java.lang.String description)
Sets description.- Parameters:
description- the value- Returns:
- self for method chaining
-
getAttachments
public java.util.List<java.lang.String> getAttachments()
Gets attachments.- Specified by:
getAttachmentsin interfaceResultWithAttachments- Returns:
- the attachments
-
setAttachments
public StepResult setAttachments(java.util.List<java.lang.String> attachments)
Sets attachments.- Parameters:
attachments- the attachments- Returns:
- self for method chaining
-
getSteps
public java.util.List<StepResult> getSteps()
Gets steps.- Specified by:
getStepsin interfaceResultWithSteps- Returns:
- the steps
-
setSteps
public StepResult setSteps(java.util.List<StepResult> steps)
Sets steps.- Parameters:
steps- the steps- Returns:
- self for method chaining
-
getLinkItems
public java.util.List<LinkItem> getLinkItems()
Gets links.- Returns:
- the links
-
setLinkItems
public StepResult setLinkItems(java.util.List<LinkItem> linkItems)
Sets links.- Parameters:
linkItems- the steps- Returns:
- self for method chaining
-
getStart
public java.lang.Long getStart()
Gets start.- Returns:
- the start
-
setStart
public StepResult setStart(java.lang.Long start)
Sets start.- Parameters:
start- the value- Returns:
- self for method chaining
-
getStop
public java.lang.Long getStop()
Gets stop.- Returns:
- the stop
-
setStop
public StepResult setStop(java.lang.Long stop)
Sets stop.- Parameters:
stop- the value- Returns:
- self for method chaining
-
getThrowable
public java.lang.Throwable getThrowable()
Gets throwable.- Returns:
- the throwable
-
setThrowable
public StepResult setThrowable(java.lang.Throwable throwable)
Sets throwable.- Parameters:
throwable- the value- Returns:
- self for method chaining
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
Gets parameters.- Returns:
- the parameters
-
setParameters
public StepResult setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
Sets parameters.- Parameters:
parameters- the value- Returns:
- self for method chaining
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-