接口 JobParametersConverter

    • 方法详细资料

      • getJobParameters

        JobParameters getJobParameters​(@Nullable
                                       java.util.Properties properties)
        Get a new JobParameters instance. If given null, or an empty properties, an empty JobParameters will be returned.
        参数:
        properties - the runtime parameters in the form of String literals.
        返回:
        a JobParameters properties converted to the correct types.
      • getProperties

        java.util.Properties getProperties​(@Nullable
                                           JobParameters params)
        The inverse operation: get a Properties instance. If given null or empty JobParameters, an empty Properties should be returned.
        参数:
        params - the JobParameters instance to be converted.
        返回:
        a representation of the parameters as properties