Class MultiGrader.Builder
-
- All Implemented Interfaces:
public final class MultiGrader.Builder
A builder for MultiGrader.
-
-
Method Summary
-
-
Method Detail
-
calculateOutput
final MultiGrader.Builder calculateOutput(String calculateOutput)
A formula to calculate the output based on grader results.
-
calculateOutput
final MultiGrader.Builder calculateOutput(JsonField<String> calculateOutput)
Sets Builder.calculateOutput to an arbitrary JSON value.
You should usually call Builder.calculateOutput with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
graders
final MultiGrader.Builder graders(MultiGrader.Graders graders)
-
graders
final MultiGrader.Builder graders(JsonField<MultiGrader.Graders> graders)
Sets Builder.graders to an arbitrary JSON value.
You should usually call Builder.graders with a well-typed Graders value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final MultiGrader.Builder name(String name)
The name of the grader.
-
name
final MultiGrader.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final MultiGrader.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("multi")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MultiGrader.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MultiGrader.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MultiGrader.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MultiGrader.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MultiGrader.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MultiGrader build()
Returns an immutable instance of MultiGrader.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.calculateOutput() .graders() .name()
-
-
-
-