Examples of addSupportedParameter()


Examples of org.cruxframework.crux.tools.parameters.ConsoleParametersProcessor.addSupportedParameter()

    ConsoleParameter parameter;
    ConsoleParametersProcessor parametersProcessor = new ConsoleParametersProcessor("CrawlingTool");

    parameter = new ConsoleParameter("outputDir", "The folder where the snapshots will be created.", true, true);
    parameter.addParameterOption(new ConsoleParameterOption("dirName", "Folder name"));
    parametersProcessor.addSupportedParameter(parameter);
   
    parameter = new ConsoleParameter("applicationBaseURL", "Web application base URL.", true, true);
    parameter.addParameterOption(new ConsoleParameterOption("baseURL", "web application root URL˛"));
    parametersProcessor.addSupportedParameter(parameter);
   
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParametersProcessor.addSupportedParameter()

    parameter.addParameterOption(new ConsoleParameterOption("dirName", "Folder name"));
    parametersProcessor.addSupportedParameter(parameter);
   
    parameter = new ConsoleParameter("applicationBaseURL", "Web application base URL.", true, true);
    parameter.addParameterOption(new ConsoleParameterOption("baseURL", "web application root URL˛"));
    parametersProcessor.addSupportedParameter(parameter);
   
    parameter = new ConsoleParameter("javascriptTime", "Time to wait for page rendering before takes the snapshot.", true, true);
    parameter.addParameterOption(new ConsoleParameterOption("time", "Time in miliseconds"));
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParametersProcessor.addSupportedParameter()

    parameter.addParameterOption(new ConsoleParameterOption("baseURL", "web application root URL˛"));
    parametersProcessor.addSupportedParameter(parameter);
   
    parameter = new ConsoleParameter("javascriptTime", "Time to wait for page rendering before takes the snapshot.", true, true);
    parameter.addParameterOption(new ConsoleParameterOption("time", "Time in miliseconds"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("urls", "A file containing the application urls for snapshot generation.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("fileName", "File name"));
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParametersProcessor.addSupportedParameter()

    parameter.addParameterOption(new ConsoleParameterOption("time", "Time in miliseconds"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("urls", "A file containing the application urls for snapshot generation.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("fileName", "File name"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("stopOnErrors", "Inform if the process must stop if an error occurs.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("stop", "True if the process must stop."));
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParametersProcessor.addSupportedParameter()

    parameter.addParameterOption(new ConsoleParameterOption("fileName", "File name"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("stopOnErrors", "Inform if the process must stop if an error occurs.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("stop", "True if the process must stop."));
    parametersProcessor.addSupportedParameter(parameter);

    parametersProcessor.addSupportedParameter(new ConsoleParameter("-help", "Display the usage screen.", false, true));
    parametersProcessor.addSupportedParameter(new ConsoleParameter("-h", "Display the usage screen.", false, true));
    return parametersProcessor; 
  }
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParametersProcessor.addSupportedParameter()

    parameter = new ConsoleParameter("stopOnErrors", "Inform if the process must stop if an error occurs.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("stop", "True if the process must stop."));
    parametersProcessor.addSupportedParameter(parameter);

    parametersProcessor.addSupportedParameter(new ConsoleParameter("-help", "Display the usage screen.", false, true));
    parametersProcessor.addSupportedParameter(new ConsoleParameter("-h", "Display the usage screen.", false, true));
    return parametersProcessor; 
  }
 
  public static void main(String[] args)
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParametersProcessor.addSupportedParameter()

    parameter = new ConsoleParameter("stopOnErrors", "Inform if the process must stop if an error occurs.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("stop", "True if the process must stop."));
    parametersProcessor.addSupportedParameter(parameter);

    parametersProcessor.addSupportedParameter(new ConsoleParameter("-help", "Display the usage screen.", false, true));
    parametersProcessor.addSupportedParameter(new ConsoleParameter("-h", "Display the usage screen.", false, true));
    return parametersProcessor; 
  }
 
  public static void main(String[] args)
  {
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParametersProcessor.addSupportedParameter()

    ConsoleParameter parameter;
    ConsoleParametersProcessor parametersProcessor = new ConsoleParametersProcessor("CodeServer");

    parameter = new ConsoleParameter("-moduleName", "The name of the module to be compiled.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("name", "Module name"));
    parametersProcessor.addSupportedParameter(parameter);
   
    parameter = new ConsoleParameter("-sourceDir", "The application source folder.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("dir", "Source dir"));
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParametersProcessor.addSupportedParameter()

    parameter.addParameterOption(new ConsoleParameterOption("name", "Module name"));
    parametersProcessor.addSupportedParameter(parameter);
   
    parameter = new ConsoleParameter("-sourceDir", "The application source folder.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("dir", "Source dir"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-bindAddress", "The ip address of the code server. Defaults to 127.0.0.1.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("ip", "Ip address"));
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParametersProcessor.addSupportedParameter()

    parameter.addParameterOption(new ConsoleParameterOption("dir", "Source dir"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-bindAddress", "The ip address of the code server. Defaults to 127.0.0.1.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("ip", "Ip address"));
    parametersProcessor.addSupportedParameter(parameter);

    parametersProcessor.addSupportedParameter(new ConsoleParameter("-noprecompile", "If informed, code server will not pre compile the source.", false, true));

    parametersProcessor.addSupportedParameter(new ConsoleParameter("-startHotDeploymentScanner", "If informed, a hotdeployment scanner will be started to automatically recompile the module when changes are made on the project.", false, true));
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.