Package de.bmiag.tapir.execution.model
Class TestParameter.Builder
- java.lang.Object
-
- de.bmiag.tapir.execution.model.TestParameter.Builder
-
- Enclosing class:
- TestParameter
public static final class TestParameter.Builder extends java.lang.Object
Builds instances of typeTestParameter
.Builder
is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.
-
-
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
setLabel(java.lang.String label)
Initializes the value for thelabel
attribute.void
setName(java.lang.String name)
Initializes the value for thename
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.void
setValue(java.lang.Object value)
Initializes the value for thevalue
attribute.
-
-
-
Method Detail
-
setLabel
public void setLabel(java.lang.String label)
Initializes the value for thelabel
attribute.- Parameters:
label
- The value for label
-
setValue
public void setValue(java.lang.Object value)
Initializes the value for thevalue
attribute.- Parameters:
value
- The value for value
-
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
-
-