ilog.rules.studio.automation

Class IlrBuildCommandLineArguments

  • java.lang.Object
    • ilog.rules.studio.automation.IlrBuildCommandLineArguments


  • public class IlrBuildCommandLineArguments
    extends java.lang.Object
    This class defines the command line arguments for the IlrAutomator class.
    See Also:
    IlrAutomator
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      boolean autoRefresh
      If set the workspace will be refreshed automatically if Eclipse determines that the contents has changed.
      java.io.File brdx
      The file name of the brdx extension model file to use.
      java.io.File brmx
      The file name of the brmx extension model file to use.
      java.util.EnumSet<IlrBuildOption> buildOptions
      The build options to use separated by the pipe '|' character.
      boolean cleanWorkspace
      Specifies whether the results of prior workspace builds should be cleaned before rebuilding.
      boolean clearWorkspace
      Whether to clear the workspace prior to the build.
      boolean debugInfoExport
      If set to true the export with generate an ARL for debug purpose.
      boolean failFast
      If set the build will abort if any rule project is built and contains errors.
      java.lang.String importPath
      A File.separator separated list of projects that should be imported into the workspace prior to building.
      java.lang.String outputDirectory
      The name of the output directory to store the generated ruleset archive.
      boolean refresh
      If set the entire workspace will be refreshed prior to building projects.
      java.util.List<java.lang.String> ruleProjectNames
      Any renaming command line items are the names of rule projects that should be built.
      boolean usageRequested
      If specified prints usage information.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • usageRequested

        public boolean usageRequested
        If specified prints usage information.

        Use -? and -h on the command line.

      • importPath

        public java.lang.String importPath
        A File.separator separated list of projects that should be imported into the workspace prior to building. An optional argument.

        Use -importPath on the command line.

      • outputDirectory

        public java.lang.String outputDirectory
        The name of the output directory to store the generated ruleset archive. If an output directory is not specified the ruleset archive will be stored in the output directory of the rule project ('./output'). If a relative path is specified the path is relative to the parent rule project being processed.

        Use -output or -o on the command line.

      • cleanWorkspace

        public boolean cleanWorkspace
        Specifies whether the results of prior workspace builds should be cleaned before rebuilding. An optional argument that defaults to false.

        Use -cleanBuild on the command line.

      • brdx

        public java.io.File brdx
        The file name of the brdx extension model file to use. An optional argument, however if the brmx file is specified a brdx file must also be specified.

        Use -brdx on the command line.

      • brmx

        public java.io.File brmx
        The file name of the brmx extension model file to use. An optional argument, however if the brmx file is specified a brdx file must also be specified.

        Use -brmx on the command line.

      • buildOptions

        public java.util.EnumSet<IlrBuildOption> buildOptions
        The build options to use separated by the pipe '|' character. Any build options not specified will be set to false, except for BUILD_GENERATE_IRL which is always set to true.
        See Also:

        Use -buildOptions on the command line.

      • clearWorkspace

        public boolean clearWorkspace
        Whether to clear the workspace prior to the build. An optional argument that defaults to false. If specified all projects will be removed from the workspace, however the project contents are left intact.

        Use -clearWorkspace on the command line.

      • failFast

        public boolean failFast
        If set the build will abort if any rule project is built and contains errors. An optional argument with a default value of false.

        Use -failFast on the command line.

      • debugInfoExport

        public boolean debugInfoExport
        If set to true the export with generate an ARL for debug purpose.

        Use -debugInfoExport on the command line.

      • refresh

        public boolean refresh
        If set the entire workspace will be refreshed prior to building projects. The refreshLocal( IResource.DEPTH_INFINITE, null ) method on the workspace root is used to perform this operation.

        This option should be set if the workspace is being reused and the contents may have been modified outside of Eclipse. An optional argument with a default value of false.

        Use -refresh on the command line.

      • autoRefresh

        public boolean autoRefresh
        If set the workspace will be refreshed automatically if Eclipse determines that the contents has changed. See the documentation for ResourcesPlugin.PREF_AUTO_REFRESH for details. Unless you are sure that Eclipse is aware of the contents of the workspace (for example you have cleared the contents of the workspace and imported the projects) you should set this property to true. You can also force a refresh by setting the 'refresh' property. An optional argument with a default value of false.

        Use -autoRefresh on the command line.

      • ruleProjectNames

        public java.util.List<java.lang.String> ruleProjectNames
        Any renaming command line items are the names of rule projects that should be built. The rule project name may optionally have the '?' character and the name of an extractor or a decision operation appended.

        E.g. MyRuleProject?UsefulExtractor E.g. MyRuleProject?MyDecisionOperation

    • Constructor Detail

      • IlrBuildCommandLineArguments

        public IlrBuildCommandLineArguments()

© Copyright IBM Corp. 1987, 2017