Class CreateSourceConfig

  • All Implemented Interfaces:
    Serializable, CSConstants, org.qdl_lang.extensions.QDLFunction

    public class CreateSourceConfig
    extends Object
    implements org.qdl_lang.extensions.QDLFunction, CSConstants
    This fills in all of the missing configuration values with their defaults. Sp the contract is that the argument is a stem with the minimum required parameters. All of those are taken and any missing parameters are supplied.

    Created by Jeff Gaynor
    on 2/10/20 at 5:51 AM

    See Also:
    Serialized Form
    • Constructor Detail

      • CreateSourceConfig

        public CreateSourceConfig()
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface org.qdl_lang.extensions.QDLFunction
      • getArgCount

        public int[] getArgCount()
        Specified by:
        getArgCount in interface org.qdl_lang.extensions.QDLFunction
      • evaluate

        public org.qdl_lang.variables.values.QDLValue evaluate​(org.qdl_lang.variables.values.QDLValue[] objects,
                                                               org.qdl_lang.state.State state)
        Specified by:
        evaluate in interface org.qdl_lang.extensions.QDLFunction
      • doNCSA

        protected org.qdl_lang.variables.QDLStem doNCSA​(org.qdl_lang.variables.QDLStem arg,
                                                        org.qdl_lang.variables.QDLStem output)
      • doLDAP

        protected org.qdl_lang.variables.QDLStem doLDAP​(org.qdl_lang.variables.QDLStem arg,
                                                        org.qdl_lang.variables.QDLStem output)
      • setValue

        protected void setValue​(org.qdl_lang.variables.QDLStem arg,
                                org.qdl_lang.variables.QDLStem config,
                                String argKey)
        Case where the key in the argument is the same as the key in the configuration stem
        Parameters:
        arg -
        config -
        argKey -
      • doFS

        protected org.qdl_lang.variables.QDLStem doFS​(org.qdl_lang.variables.QDLStem arg,
                                                      org.qdl_lang.variables.QDLStem output)
      • setValue

        protected void setValue​(org.qdl_lang.variables.QDLStem arg,
                                org.qdl_lang.variables.QDLStem output,
                                String key,
                                org.qdl_lang.variables.values.QDLValue defaultValue)
      • setBasicValues

        protected void setBasicValues​(org.qdl_lang.variables.QDLStem arg,
                                      org.qdl_lang.variables.QDLStem output)
        These are the basic value for every configuration.
        Parameters:
        arg -
        output -
      • getDocumentation

        public List<String> getDocumentation​(int argCount)
        Specified by:
        getDocumentation in interface org.qdl_lang.extensions.QDLFunction
      • main

        public static void main​(String[] args)