Package de.bmiag.tapir.execution.model
Class TestStep.Builder
- java.lang.Object
-
- de.bmiag.tapir.execution.model.TestStep.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setDescription(java.lang.String description)
Initializes the default value for thedescription
attribute.void
setDescription(java.util.Optional<java.lang.String> description)
Initializes the value for thedescription
attribute.void
setId(java.lang.Integer id)
Initializes the value for theid
attribute.void
setJavaMethod(java.lang.reflect.Method javaMethod)
Initializes the value for thejavaMethod
attribute.void
setName(java.lang.String name)
Initializes the value for thename
attribute.void
setParameters(java.lang.Iterable<TestParameter> elements)
Adds elements toparameters
.void
setParentTestClass(TestClass parentTestClass)
Initializes the value for theparentTestClass
attribute.void
setTitle(java.lang.String title)
Initializes the default value for thetitle
attribute.void
setTitle(java.util.Optional<java.lang.String> title)
Initializes the value for thetitle
attribute.
-
-
-
Method Detail
-
setParentTestClass
public void setParentTestClass(TestClass parentTestClass)
Initializes the value for theparentTestClass
attribute.- Parameters:
parentTestClass
- The value for parentTestClass
-
setParameters
public void setParameters(java.lang.Iterable<TestParameter> elements)
Adds elements toparameters
.- Parameters:
elements
- An iterable of parameters elements
-
setTitle
public void setTitle(java.util.Optional<java.lang.String> title)
Initializes the value for thetitle
attribute.- Parameters:
title
- The value for title
-
setTitle
public void setTitle(java.lang.String title)
Initializes the default value for thetitle
attribute.- Parameters:
title
- The value for title
-
setDescription
public void setDescription(java.util.Optional<java.lang.String> description)
Initializes the value for thedescription
attribute.- Parameters:
description
- The value for description
-
setDescription
public void setDescription(java.lang.String description)
Initializes the default value for thedescription
attribute.- Parameters:
description
- The value for description
-
setName
public void setName(java.lang.String name)
Initializes the value for thename
attribute.- Parameters:
name
- The value for name
-
setJavaMethod
public void setJavaMethod(java.lang.reflect.Method javaMethod)
Initializes the value for thejavaMethod
attribute.- Parameters:
javaMethod
- The value for javaMethod
-
setId
public void setId(java.lang.Integer id)
Initializes the value for theid
attribute.- Parameters:
id
- The value for id
-
-