Class QueryArgumentBuilder

java.lang.Object
org.gorpipe.querydialogs.factory.ArgumentBuilder
org.gorpipe.querydialogs.factory.builder.QueryArgumentBuilder

public class QueryArgumentBuilder
extends ArgumentBuilder
Responsible for building GOR/NOR query arguments.
  • Constructor Summary

    Constructors 
    Constructor Description
    QueryArgumentBuilder​(org.gorpipe.gor.model.FileReader fileResolver, org.gorpipe.gor.model.QueryEvaluator queryEval)  
  • Method Summary

    Modifier and Type Method Description
    QueryArgument build​(java.lang.String name, java.util.Map<java.lang.String,​?> attributes)
    Builds an arguments based on supplied attributes.

    Methods inherited from class org.gorpipe.querydialogs.factory.ArgumentBuilder

    getAllowedValues, getArgumentDescription, getDisplayWidth, getValuesPath, safeString

    Methods inherited from class java.lang.Object

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

    • QueryArgumentBuilder

      public QueryArgumentBuilder​(org.gorpipe.gor.model.FileReader fileResolver, org.gorpipe.gor.model.QueryEvaluator queryEval)
  • Method Details

    • build

      public QueryArgument build​(java.lang.String name, java.util.Map<java.lang.String,​?> attributes)
      Description copied from class: ArgumentBuilder
      Builds an arguments based on supplied attributes.
      Specified by:
      build in class ArgumentBuilder
      Parameters:
      name - - the name of the argument
      attributes - - attributes specific to an argument type
      Returns:
      an appropriate argument