1047N/A * The contents of this file are subject to the terms of the 1047N/A * Common Development and Distribution License, Version 1.0 only 1047N/A * (the "License"). You may not use this file except in compliance 1047N/A * You can obtain a copy of the license at 1047N/A * See the License for the specific language governing permissions 1047N/A * and limitations under the License. 1047N/A * When distributing Covered Code, include this CDDL HEADER in each 1047N/A * file and include the License file at 1047N/A * add the following below this CDDL HEADER, with the fields enclosed 1047N/A * by brackets "[]" replaced with your own identifying information: 1047N/A * Portions Copyright [yyyy] [name of copyright owner] 4268N/A * Copyright 2008-2009 Sun Microsystems, Inc. 3397N/A * Class used by Launcher to start a CLI application. 1047N/A /** Arguments passed in the command line. */ 1047N/A * Creates a QuickSetupCli instance. 1047N/A * @param cliApp the application to be run 1907N/A * @param launcher that launched the app 1907N/A * Gets the user data this application will use when running. 1907N/A * @return UserData to use when running 1047N/A * Parses the user data and prompts the user for data if required. If the 4268N/A * user provides all the required data it launches the application. 1047N/A * @return the return code (SUCCESSFUL, CANCELLED, USER_DATA_ERROR, 1047N/A * ERROR_ACCESSING_FILE_SYSTEM, ERROR_STOPPING_SERVER or BUG. 2831N/A // User cancelled operation.