| | |
| | | */ |
| | | public class InstallDS extends ConsoleApplication |
| | | { |
| | | private PlainTextProgressMessageFormatter formatter = |
| | | private final PlainTextProgressMessageFormatter formatter = |
| | | new PlainTextProgressMessageFormatter(); |
| | | /** Prefix for log files. */ |
| | | static public final String LOG_FILE_PREFIX = "opends-setup-"; |
| | |
| | | LOG.log(Level.WARNING, "Error while trying to update the contents of "+ |
| | | "the set-java-home file in test only mode: "+t, t); |
| | | } |
| | | // Test that we are running a compatible java 1.5 version. |
| | | // Test that we are running a compatible java 1.6 version. |
| | | try |
| | | { |
| | | Utils.checkJavaVersion(); |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public boolean isQuiet() |
| | | { |
| | | return argParser.quietArg.isPresent(); |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public boolean isInteractive() |
| | | { |
| | | return !argParser.noPromptArg.isPresent(); |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public boolean isScriptFriendly() { |
| | | return false; |
| | | } |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public boolean isAdvancedMode() { |
| | | return false; |
| | | } |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public boolean isVerbose() { |
| | | return argParser.verboseArg.isPresent(); |
| | | } |