Package com.tnsai.tools
Class ToolExample.Builder
java.lang.Object
com.tnsai.tools.ToolExample.Builder
- Enclosing class:
ToolExample
Builder for ToolExample.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the tool example.Sets the example category.description(String description) Sets the example description.expectedOutput(String expectedOutput) Sets the expected output.Sets the example input.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
input
Sets the example input.- Parameters:
input- the input- Returns:
- this builder
-
description
Sets the example description.- Parameters:
description- the description- Returns:
- this builder
-
expectedOutput
Sets the expected output.- Parameters:
expectedOutput- the output- Returns:
- this builder
-
category
Sets the example category.- Parameters:
category- the category- Returns:
- this builder
-
build
Builds the tool example.- Returns:
- new tool example
-