com.sun.portal.admin.cli.commands .AdminBaseCommand com.sun.portal.admin.cli.commands .MultiProcessCommand MultiProcessCommand public class MultiProcessCommand extends AdminBaseCommand (Code) Creates a multimode environment for executing the commands from a file or
by supplying commands interactively. Displays the help message for the
command if help is sought.
Method Summary public voidrunCommand () Implements the execution of MultiProcessCommand whether the input
is from a file or from a standard input interactively.public booleanvalidateOptions () Checks whether options are specified at the command line.
If options are specified, then it validates for the options else
it assumes no options are specified.
MultiProcessCommand public MultiProcessCommand()(Code) Default constructor to initialize the class.
runCommand public void runCommand() throws CommandException, CommandValidationException(Code) Implements the execution of MultiProcessCommand whether the input
is from a file or from a standard input interactively.
throws: CommandException -
validateOptions public boolean validateOptions() throws CommandValidationException(Code) Checks whether options are specified at the command line.
If options are specified, then it validates for the options else
it assumes no options are specified. In MultiProcessCommand without
specifying an option brings up the interactive mode, otherwise it
reads the commands from a file with option specified.
Methods inherited from com.sun.portal.admin.cli.commands.AdminBaseCommand protected File checkForFileExistence(String parent, String fileName) throws CommandException(Code) (Java Doc) protected void closeMBeanServerConnection() throws CommandException(Code) (Java Doc) protected Properties createPropertiesParam(String propertyVal) throws CommandException(Code) (Java Doc) public Object getAttribute(MBeanServerConnection mbs, ObjectName obj, String attribute)(Code) (Java Doc) protected String getDomainId()(Code) (Java Doc) protected String getHost()(Code) (Java Doc) public Set getInstanceHosts(MBeanServerConnection msc, String portalId) throws CommandException(Code) (Java Doc) protected String getInstanceId()(Code) (Java Doc) protected List getInstanceNames(String portalId) throws CommandException(Code) (Java Doc) protected String getInteractiveOption(String optionName, String prompt, boolean interactive) throws CommandValidationException(Code) (Java Doc) protected String getLocalizedString(String key)(Code) (Java Doc) protected String getLocalizedString(String key, Object [] toInsert)(Code) (Java Doc) public static Logger getLogger()(Code) (Java Doc) protected MBeanServerConnection getMBeanServerConnection(String id, String pwd, String host) throws CommandException(Code) (Java Doc) protected List getMultiValueFromString(String value) throws CommandException(Code) (Java Doc) protected List getMultiValueOption(String optionName) throws CommandException(Code) (Java Doc) protected ObjectName getObjectName() throws CommandException(Code) (Java Doc) protected String getOperationName() throws CommandException(Code) (Java Doc) protected PSConfigContext getPSConfigContext() throws CommandException(Code) (Java Doc) protected Object [] getParamsInfo() throws CommandException, CommandValidationException(Code) (Java Doc) protected String getPassword() throws CommandValidationException(Code) (Java Doc) protected String getPortalId()(Code) (Java Doc) protected List getPortalNames() throws CommandException(Code) (Java Doc) protected String getPortalUri()(Code) (Java Doc) protected String getReturnType()(Code) (Java Doc) protected String getSearchServerId()(Code) (Java Doc) protected List getSearchServers() throws CommandException(Code) (Java Doc) protected String [] getTypesInfo()(Code) (Java Doc) protected String getUserId()(Code) (Java Doc) protected Properties getWebConfigProp() throws CommandException(Code) (Java Doc) protected void handleReturnValue(Object returnval)(Code) (Java Doc) protected boolean hasWebLogicAdminServerInstance(String portalId)(Code) (Java Doc) protected boolean isExistingInstance() throws CommandException(Code) (Java Doc) protected boolean isLocal()(Code) (Java Doc) public void setEnvironment(String opt, String value)(Code) (Java Doc) protected void setOutput()(Code) (Java Doc) protected void validateInstance() throws CommandException(Code) (Java Doc) protected void validateNonSRACommand() throws CommandException(Code) (Java Doc) public boolean validateOptions() throws CommandValidationException(Code) (Java Doc) protected void validatePassword() throws CommandException(Code) (Java Doc) protected void validatePortalId() throws CommandException(Code) (Java Doc) protected void validatePortalUri() throws CommandException(Code) (Java Doc) protected void validateSRACommand() throws CommandException(Code) (Java Doc) protected void validateSearchServerID() throws CommandException(Code) (Java Doc)