| | |
| | | |
| | | private boolean stopServer; |
| | | |
| | | private boolean enableWindowsService; |
| | | |
| | | private NewSuffixOptions newSuffixOptions; |
| | | |
| | | private DataReplicationOptions replicationOptions; |
| | |
| | | */ |
| | | public UserData() { |
| | | startServer = true; |
| | | enableWindowsService = false; |
| | | |
| | | NewSuffixOptions defaultNewSuffixOptions = new NewSuffixOptions( |
| | | NewSuffixOptions.Type.CREATE_BASE_ENTRY, "dc=example,dc=com"); |
| | |
| | | } |
| | | |
| | | /** |
| | | * Returns <CODE>true</CODE> if the windows service must be enabled during |
| | | * installation, <CODE>false</CODE> if not. |
| | | * @return <CODE>true</CODE> if the windows service must be enabled during |
| | | * installation, <CODE>false</CODE> if not. |
| | | */ |
| | | public boolean getEnableWindowsService() |
| | | { |
| | | return enableWindowsService; |
| | | } |
| | | |
| | | /** |
| | | * Sets whether we want to enable windows service during installation or not. |
| | | * @param enableWindowsService the boolean indicating whether we want to |
| | | * enable windows service during installation or not. |
| | | */ |
| | | public void setEnableWindowsService(boolean enableWindowsService) |
| | | { |
| | | this.enableWindowsService = enableWindowsService; |
| | | } |
| | | |
| | | /** |
| | | * Returns the NewSuffixOptions object representing the data in the New Suffix |
| | | * Data Options panel. |
| | | * @return the NewSuffixOptions object representing the data in the New Suffix |