Class CreateSourceConfig

  • All Implemented Interfaces:
    CSConstants, edu.uiuc.ncsa.qdl.extensions.QDLFunction, Serializable

    public class CreateSourceConfig
    extends Object
    implements edu.uiuc.ncsa.qdl.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 edu.uiuc.ncsa.qdl.extensions.QDLFunction
      • getArgCount

        public int[] getArgCount()
        Specified by:
        getArgCount in interface edu.uiuc.ncsa.qdl.extensions.QDLFunction
      • evaluate

        public Object evaluate​(Object[] objects,
                               edu.uiuc.ncsa.qdl.state.State state)
        Specified by:
        evaluate in interface edu.uiuc.ncsa.qdl.extensions.QDLFunction
      • doNCSA

        protected edu.uiuc.ncsa.qdl.variables.QDLStem doNCSA​(edu.uiuc.ncsa.qdl.variables.QDLStem arg,
                                                             edu.uiuc.ncsa.qdl.variables.QDLStem output)
      • doLDAP

        protected edu.uiuc.ncsa.qdl.variables.QDLStem doLDAP​(edu.uiuc.ncsa.qdl.variables.QDLStem arg,
                                                             edu.uiuc.ncsa.qdl.variables.QDLStem output)
      • setValue

        protected void setValue​(edu.uiuc.ncsa.qdl.variables.QDLStem arg,
                                edu.uiuc.ncsa.qdl.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 edu.uiuc.ncsa.qdl.variables.QDLStem doFS​(edu.uiuc.ncsa.qdl.variables.QDLStem arg,
                                                           edu.uiuc.ncsa.qdl.variables.QDLStem output)
      • setValue

        protected void setValue​(edu.uiuc.ncsa.qdl.variables.QDLStem arg,
                                edu.uiuc.ncsa.qdl.variables.QDLStem output,
                                String key,
                                Object defaultValue)
      • setBasicValues

        protected void setBasicValues​(edu.uiuc.ncsa.qdl.variables.QDLStem arg,
                                      edu.uiuc.ncsa.qdl.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 edu.uiuc.ncsa.qdl.extensions.QDLFunction
      • main

        public static void main​(String[] args)