Examples of addParameterOption()


Examples of org.cruxframework.crux.tools.parameters.ConsoleParameter.addParameterOption()

  {
    ConsoleParameter parameter;
    ConsoleParametersProcessor parametersProcessor = new ConsoleParametersProcessor("serviceMapper");

    parameter = new ConsoleParameter("projectDir", "The crux project folder .", true, true);
    parameter.addParameterOption(new ConsoleParameterOption("dirName", "Folder name"));
    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.ConsoleParameter.addParameterOption()

  {
    ConsoleParameter parameter;
    ConsoleParametersProcessor parametersProcessor = new ConsoleParametersProcessor("JettyDevServer");
   
    parameter = new ConsoleParameter("-appRootDir", "The application web folder.", true, true);
    parameter.addParameterOption(new ConsoleParameterOption("dir", "root 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.ConsoleParameter.addParameterOption()

    parameter = new ConsoleParameter("-appRootDir", "The application web folder.", true, true);
    parameter.addParameterOption(new ConsoleParameterOption("dir", "root 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);

    parameter = new ConsoleParameter("-port", "The port where the jetty server will run.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("port", "Port"));
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParameter.addParameterOption()

    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);

    parameter = new ConsoleParameter("-port", "The port where the jetty server will run.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("port", "Port"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-pageOutputCharset", "Output charset for generated pages.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("dir", "Work dir"));
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParameter.addParameterOption()

    parameter = new ConsoleParameter("-port", "The port where the jetty server will run.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("port", "Port"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-pageOutputCharset", "Output charset for generated pages.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("dir", "Work dir"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-addDevelopmentComponents", "If informed, Server will add all components required for development on application context.", false, false);
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParameter.addParameterOption()

  {
    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.ConsoleParameter.addParameterOption()

    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);
   
    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.ConsoleParameter.addParameterOption()

    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);

    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.ConsoleParameter.addParameterOption()

    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);

    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.ConsoleParameter.addParameterOption()

    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);

    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
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.