Class ClientBuilder

    • Constructor Detail

      • ClientBuilder

        public ClientBuilder​(ServerRuntimeBuilderProps cnr)
        Constructor.
        Parameters:
        cnr - The builder properties.
    • Method Detail

      • getCodeModifier

        public static CodeModifier getCodeModifier()
        Gets the code modifier.
        Returns:
        The code modifier, or null for failure (it's been logged).
      • getRequiredTextIDs

        public static java.util.Set<java.lang.String> getRequiredTextIDs​(RuntimeBuilderSettings settings)
        Gets the required text IDs for the text file.
        Parameters:
        settings - The settings, null if normal customized iiziRun's.
        Returns:
        The set of text IDs, null means failed to read it from the "www/js/msg.js" file. In case null is returned, it has been logged in the server.
      • createNewJob

        public ICommonJobs createNewJob​(IPropProgressMonitor monitor,
                                        boolean isVerbose)
        Creates a new common job.
        Parameters:
        monitor - The monitor to use, null for non-Eclipse processes.
        isVerbose - If the job should be verbose or not.
      • createNewJob

        public ICommonJobs createNewJob​(IPropProgressMonitor monitor,
                                        IPrintAdapter printer,
                                        boolean isVerbose)
        Creates a new common job.
        Specified by:
        createNewJob in interface ICommonJobCreator
        Parameters:
        monitor - The monitor to use, null for non-Eclipse processes.
        printer - The printer for output.
        isVerbose - If the job should be verbose or not.
      • processRemoteEvent

        public boolean processRemoteEvent​(RemoteEvent event)
        Called when a remote property event should be processed by this property.
        Parameters:
        event - The remote event.
        Returns:
        true For processed, false otherwise.
      • println

        public void println​(java.lang.String s)
        Prints without new line.
        Specified by:
        println in interface IPrintAdapter
        Parameters:
        s - The String.
      • print

        public void print​(java.lang.String s)
        Prints without new line.
        Specified by:
        print in interface IPrintAdapter
        Parameters:
        s - The String.
      • println

        public void println()
        Performs a new line.
        Specified by:
        println in interface IPrintAdapter
      • dispose

        public void dispose()
        Disposes of the instance.