Class DomTree2JobConfigurator

    • Constructor Detail

      • DomTree2JobConfigurator

        public DomTree2JobConfigurator()
    • Method Detail

      • configure

        public com.levigo.jadice.server.client.internal.DefaultJobInternalImpl configure​(JobConfiguration cfg,
                                                                                         Map<String,​Node> nodes)
                                                                                  throws Exception
        Description copied from interface: JobConfigurator
        This method configures a empty/default job. It should do everything to make the job ready to be submitted for execution, including the creation and configuration of nodes and building the node graph.
        Specified by:
        configure in interface JobConfigurator
        Parameters:
        cfg - - The configuration for the job. (In case of using the web service this configuration comes from marshaled SOAP message)
        nodes - A map where the converter can store all nodes that it creates associated by a local ID
        Returns:
        a configured job (but without JobController yet.
        Throws:
        Exception - if the configuration cannot be processed
      • canConfigure

        public boolean canConfigure​(JobConfiguration cfg)
        Description copied from interface: JobConfigurator
        Check if the configuration has enough information for the specific configurator.
        Specified by:
        canConfigure in interface JobConfigurator
        Parameters:
        cfg - the configuration for the job
        Returns:
        true, if configuration is possible, false otherwise.