-
- All Implemented Interfaces:
public interface BlastFieldRepresents a single, defaultable field/argument for a blast tool.
-
-
Method Summary
Modifier and Type Method Description ObjectNodetoJson()Serializes this field into a JSON ObjectNode. abstract UnitappendJson(ObjectNode js)Appends this field to the given JSON ObjectNode only if it is not set to its default value. abstract UnitappendCliSegment(StringBuilder cli)Appends this field to the given StringBuilder only if it is not set to its default value. abstract UnitappendCliParts(List<String> cli)Appends this field to the given MutableList only if it is not set to its default value. abstract BooleangetIsDefault()Indicates whether the field is currently set to its default value. abstract StringgetName()The name of this field. -
-
Method Detail
-
toJson
ObjectNode toJson()
Serializes this field into a JSON ObjectNode.
If this field is set to its default value, the returned object will be empty.
-
appendJson
abstract Unit appendJson(ObjectNode js)
Appends this field to the given JSON ObjectNode only if it is not set to its default value.
-
appendCliSegment
abstract Unit appendCliSegment(StringBuilder cli)
Appends this field to the given StringBuilder only if it is not set to its default value.
-
appendCliParts
abstract Unit appendCliParts(List<String> cli)
Appends this field to the given MutableList only if it is not set to its default value.
-
getIsDefault
abstract Boolean getIsDefault()
Indicates whether the field is currently set to its default value.
-
-
-
-