@NotThreadSafe public static class ProjectModelRequest.Builder extends Object
ProjectModelRequest instances.| Modifier and Type | Method and Description |
|---|---|
ProjectModelRequest.Builder |
addTaskId(String taskId)
Adds a task id to the request.
|
ProjectModelRequest.Builder |
addTaskIds(Collection<String> taskIds)
Adds task ids to the request.
|
ProjectModelRequest.Builder |
addTaskIds(String... taskIds)
Adds task ids to the request.
|
ProjectModelRequest |
build()
Builds the
ProjectModelRequest. |
ProjectModelRequest.Builder |
withBaseName(String baseName)
Configure the base name to use for the request.
|
ProjectModelRequest.Builder |
withBuildId(String buildId)
Configure the build id to use for the request.
|
ProjectModelRequest.Builder |
withEnvironmentsId(String environmentsId)
Configure the environments id to use for the request.
|
@NonNull public ProjectModelRequest.Builder withBaseName(@CheckForNull String baseName)
baseName - the base name to use for the request.this for method chaining.@NonNull public ProjectModelRequest.Builder withEnvironmentsId(@CheckForNull String environmentsId)
environmentsId - the environments id to use for the request.this for method chaining.@NonNull public ProjectModelRequest.Builder withBuildId(@CheckForNull String buildId)
buildId - the build id to use for the request.this for method chaining.@NonNull public ProjectModelRequest.Builder addTaskId(@NonNull String taskId)
taskId - the task id to add to the request.this for method chaining.@NonNull public ProjectModelRequest.Builder addTaskIds(String... taskIds)
taskIds - the task ids to add to the request.this for method chaining.@NonNull public ProjectModelRequest.Builder addTaskIds(Collection<String> taskIds)
taskIds - the task ids to add to the request.this for method chaining.@NonNull public ProjectModelRequest build()
ProjectModelRequest.ProjectModelRequest instance.Copyright © 2004-2014. All Rights Reserved.