protected boolean usePortBase() throws CommandValidationException
{
if (getOption(PORTBASE_OPTION) != null)
{
if (getCLOption(ADMIN_PORT) != null)
throw new CommandValidationException(getLocalizedString("MutuallyExclusiveOption",
new Object[] {ADMIN_PORT, PORTBASE_OPTION}));
else if (getOption(INSTANCE_PORT) != null)
throw new CommandValidationException(getLocalizedString("MutuallyExclusiveOption",
new Object[] {INSTANCE_PORT, PORTBASE_OPTION}));
else if (getOption(DOMAIN_PROPERTIES) != null)
throw new CommandValidationException(getLocalizedString("MutuallyExclusiveOption",
new Object[] {DOMAIN_PROPERTIES, PORTBASE_OPTION}));
else
return true;
}
return false;