public static final class TaskMetadata.Builder
extends java.lang.Object
TaskMetadata builder static inner class.| Constructor and Description |
|---|
Builder(java.lang.String theName) |
| Modifier and Type | Method and Description |
|---|---|
TaskMetadata |
build()
Returns a
TaskMetadata built from the parameters previously set. |
TaskMetadata.Builder |
withDescription(java.lang.String description)
Sets the
description and returns a reference to this Builder so that the methods can be chained together. |
TaskMetadata.Builder |
withGroup(java.lang.String group)
Sets the
group and returns a reference to this Builder so that the methods can be chained together. |
TaskMetadata.Builder |
withName(java.lang.String name)
Sets the
name and returns a reference to this Builder so that the methods can be chained together. |
public TaskMetadata.Builder withName(java.lang.String name)
name and returns a reference to this Builder so that the methods can be chained together.name - the name to setpublic TaskMetadata.Builder withGroup(java.lang.String group)
group and returns a reference to this Builder so that the methods can be chained together.group - the group to setpublic TaskMetadata.Builder withDescription(java.lang.String description)
description and returns a reference to this Builder so that the methods can be chained together.description - the description to setpublic TaskMetadata build()
TaskMetadata built from the parameters previously set.TaskMetadata built with parameters of this TaskMetadata.Builder