Class ClientBuilder

java.lang.Object
com.iizix.server.run.remote.ClientBuilder
All Implemented Interfaces:
IPrintAdapter, ICommonJobCreator

public class ClientBuilder extends Object implements ICommonJobCreator, IPrintAdapter
Class used to handle communication with the client part, i.e. the Designer wishing to build an iiziRun.
Author:
Christopher Mindus
  • Constructor Details

  • Method Details

    • getCodeModifier

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

      public static Set<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(String s)
      Prints without new line.
      Specified by:
      println in interface IPrintAdapter
      Parameters:
      s - The String.
    • print

      public void print(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.