| Modifier and Type | Method and Description |
|---|---|
Taints.TaintsBuilder |
addTaint(String key,
String value,
Taints.Effect effect)
Add a taint to a node
|
Taints.TaintsBuilder |
addTaint(String key,
Taints.Effect effect)
Add a taint to a node
|
Taints.TaintsBuilder |
removeTaint(String key)
Remove all taints matching a specified key
|
Taints.TaintsBuilder |
removeTaint(String key,
Taints.Effect effect)
Remove a taint matching a key and an effect
|
Taints.TaintsBuilder |
updateTaint(String key,
String value,
Taints.Effect effect)
Add a taint to a node
|
public Taints.TaintsBuilder addTaint(String key, Taints.Effect effect)
key - The key for the tainteffect - The effectpublic Taints.TaintsBuilder addTaint(String key, String value, Taints.Effect effect)
key - The key for the tainteffect - The effectpublic Taints.TaintsBuilder updateTaint(String key, String value, Taints.Effect effect)
key - The key for the tainteffect - The effectpublic Taints.TaintsBuilder removeTaint(String key)
key: - The key for the taint(s) to removepublic Taints.TaintsBuilder removeTaint(String key, Taints.Effect effect)
key - They key to matcheffect - The effect to matchCopyright © 2022. All rights reserved.