public interface AttributeModifierBuilder
AttributeModifier
s.Modifier and Type | Method and Description |
---|---|
AttributeModifier |
build()
Builds the
AttributeModifier with the set parameters. |
AttributeModifierBuilder |
operation(Operation operation)
Sets the
Operation of the AttributeModifier to be built. |
AttributeModifierBuilder |
reset()
Resets this builder, to be used again.
|
AttributeModifierBuilder |
value(double value)
Sets the value of the
AttributeModifier to be built. |
AttributeModifierBuilder value(double value) throws IllegalArgumentException
AttributeModifier
to be built.value
- The value to useIllegalArgumentException
- If the value is under the minimum or
above the maximum of the attributeAttributeModifierBuilder operation(Operation operation)
Operation
of the AttributeModifier
to be built.operation
- The Operation to useAttributeModifier build()
AttributeModifier
with the set parameters.AttributeModifierBuilder reset()