| | |
| | | |
| | | package org.opends.quicksetup; |
| | | |
| | | import org.opends.admin.ads.util.ApplicationTrustManager; |
| | | import org.opends.quicksetup.event.ProgressNotifier; |
| | | import org.opends.quicksetup.event.ProgressUpdateListener; |
| | | import org.opends.quicksetup.event.ProgressUpdateEvent; |
| | |
| | | |
| | | private ServerController serverController; |
| | | |
| | | private ApplicationTrustManager trustManager; |
| | | |
| | | /** Formats progress messages. */ |
| | | protected ProgressMessageFormatter formatter; |
| | | |
| | |
| | | abstract public boolean isFinished(); |
| | | |
| | | /** |
| | | * Returns the trust manager that can be used to establish secure connections. |
| | | * @return the trust manager that can be used to establish secure connections. |
| | | */ |
| | | protected ApplicationTrustManager getTrustManager() |
| | | { |
| | | if (trustManager == null) |
| | | { |
| | | trustManager = new ApplicationTrustManager(); |
| | | } |
| | | return trustManager; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Indicates whether or not this application is capable of cancelling |
| | | * the operation performed in the run method. A cancellable operation |
| | | * should leave its environment in the same state as it was prior to |