Package 

Interface BlastField

  • All Implemented Interfaces:

    
    public interface BlastField
    
                        

    Represents a single, defaultable field/argument for a blast tool.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ObjectNode toJson() Serializes this field into a JSON ObjectNode.
      abstract Unit appendJson(ObjectNode js) Appends this field to the given JSON ObjectNode only if it is not set to its default value.
      abstract Unit appendCliSegment(StringBuilder cli) Appends this field to the given StringBuilder only if it is not set to its default value.
      abstract Unit appendCliParts(List<String> cli) Appends this field to the given MutableList only if it is not set to its default value.
      abstract Boolean getIsDefault() Indicates whether the field is currently set to its default value.
      abstract String getName() The name of this field.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.

      • getIsDefault

         abstract Boolean getIsDefault()

        Indicates whether the field is currently set to its default value.