Package com.iizix.server.run.remote
Class ClientBuilder
- java.lang.Object
- com.iizix.server.run.remote.ClientBuilder
 
- All Implemented Interfaces:
- IPrintAdapter,- ICommonJobCreator
 - public class ClientBuilder extends java.lang.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
 
- Field Summary- Fields inherited from interface com.iizix.IPrintAdapter- DEFAULT
 
 - Constructor Summary- Constructors - Constructor - Description - ClientBuilder(ServerRuntimeBuilderProps cnr)Constructor.
 - Method Summary- All Methods Static Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - ICommonJobs- createNewJob(IPropProgressMonitor monitor, boolean isVerbose)Creates a new common job.- ICommonJobs- createNewJob(IPropProgressMonitor monitor, IPrintAdapter printer, boolean isVerbose)Creates a new common job.- void- dispose()Disposes of the instance.- static CodeModifier- getCodeModifier()Gets the code modifier.- static java.util.Set<java.lang.String>- getRequiredTextIDs(RuntimeBuilderSettings settings)Gets the required text IDs for the text file.- void- print(java.lang.String s)Prints without new line.- void- println()Performs a new line.- void- println(java.lang.String s)Prints without new line.- boolean- processRemoteEvent(RemoteEvent event)Called when a remote property event should be processed by this property.
 
- 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 nullis 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:
- createNewJobin 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:
- printlnin interface- IPrintAdapter
- Parameters:
- s- The String.
 
 - print- public void print(java.lang.String s) Prints without new line.- Specified by:
- printin interface- IPrintAdapter
- Parameters:
- s- The String.
 
 - println- public void println() Performs a new line.- Specified by:
- printlnin interface- IPrintAdapter
 
 - dispose- public void dispose() Disposes of the instance.