| | |
| | | |
| | | private boolean quiet; |
| | | |
| | | private boolean verbose; |
| | | |
| | | private boolean interactive; |
| | | |
| | | private boolean forceOnError; |
| | |
| | | startServer = true; |
| | | enableWindowsService = false; |
| | | forceOnError = true; |
| | | verbose = false; |
| | | |
| | | LinkedList<String> baseDn = new LinkedList<String>(); |
| | | baseDn.add("dc=example,dc=com"); |
| | |
| | | } |
| | | |
| | | /** |
| | | * Sets whether or not this session should be verbose. |
| | | * @param verbose where true indicates this sesssion should be verbose |
| | | */ |
| | | public void setVerbose(boolean verbose) { |
| | | this.verbose = verbose; |
| | | } |
| | | |
| | | /** |
| | | * Indicates whether or not the user has requested verbose mode. |
| | | * |
| | | * @return boolean where true indicates this session should be verbose. |
| | | */ |
| | | public boolean isVerbose() { |
| | | return this.verbose; |
| | | } |
| | | |
| | | /** |
| | | * Sets whether or not we must continue when there is a non critical error. |
| | | * @param forceOnError where true indicates to continue uninstall if there is |
| | | * a non critical error. |