| | |
| | | public Installation getInstallation() { |
| | | if (installation == null) { |
| | | String installPath = getInstallationPath(); |
| | | String instancePath = getInstancePath(); |
| | | if (installPath != null) { |
| | | installation = new Installation(installPath); |
| | | if (instancePath == null) |
| | | { |
| | | installation = new Installation(installPath, installPath); |
| | | } |
| | | else |
| | | { |
| | | installation = new Installation(installPath, instancePath); |
| | | } |
| | | } |
| | | } |
| | | return installation; |
| | |
| | | public abstract String getInstallationPath(); |
| | | |
| | | /** |
| | | * Returns the instance path. |
| | | * @return the instance path. |
| | | */ |
| | | public abstract String getInstancePath(); |
| | | |
| | | |
| | | /** |
| | | * Gets the current step. |
| | | * @return ProgressStep representing the current step |
| | | */ |