Class ClaimSourceConfigConverter

  • All Implemented Interfaces:
    CSConstants

    public class ClaimSourceConfigConverter
    extends Object
    implements CSConstants
    The claim source configurations made for QDL are really just the barebones defaults. The actual configurations are large and sometimes nastily complex Java objects, so this configuration will convert a stem variable to an actual usable ClaimSourceConfiguration on a type by type basis.

    NOTE it is assumed that the argument has been properly created. That is why this is not a QDL function.

    Created by Jeff Gaynor
    on 2/10/20 at 3:10 PM

    • Constructor Detail

      • ClaimSourceConfigConverter

        public ClaimSourceConfigConverter()
    • Method Detail

      • convert

        public static edu.uiuc.ncsa.qdl.variables.QDLStem convert​(ClaimSource claimsSource,
                                                                  String type)
        Takes a ClaimSource, grabs it configuration and turns it in to a stem variable. This is used to pass back configurations to scripts.
        Parameters:
        claimsSource -
        type -
        Returns:
      • setDefaultsinCfg

        protected static void setDefaultsinCfg​(edu.uiuc.ncsa.qdl.variables.QDLStem arg,
                                               ClaimSourceConfiguration cfg)
      • setDefaultsInStem

        protected static void setDefaultsInStem​(ClaimSourceConfiguration cfg,
                                                edu.uiuc.ncsa.qdl.variables.QDLStem arg)