package saker.build.task.identifier
A builder class for creating simple task identifiers.
The simple task identifier consists of arbitrary field names and corresponding arbitrary objects. These pairs will be compared for equality when the task identifier equality is checked.
public TaskIdentifier | build() Builds the task identifier. |
public SimpleTaskIdBuilder | Sets the field of the simple task identifier. |
Builds the task identifier.
The builder cannot be reused after this call.
The created task identifier.
IllegalStateExceptionIf build() was already called.
Sets the field of the simple task identifier.
Overwrites previous value if field name is already present.
fieldnameThe name of the field. (arbitrary)
valueThe value of the field. (arbitrary)
this
builder.IllegalStateExceptionIf build() was already called.