| | |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Portions copyright 2012 ForgeRock AS. |
| | | */ |
| | | |
| | | package org.opends.quicksetup; |
| | |
| | | import org.opends.quicksetup.util.Utils; |
| | | |
| | | import java.io.File; |
| | | import java.io.IOException; |
| | | |
| | | /** |
| | | * This class represents the current state of a particular installation. |
| | |
| | | } |
| | | |
| | | /** |
| | | * Determines whether or not the configuration has been modified for this |
| | | * installation. |
| | | * @return boolean where true means the configuration has been modified |
| | | */ |
| | | public boolean configurationHasBeenModified() { |
| | | boolean mod = false; |
| | | try { |
| | | mod = installation.getCurrentConfiguration().hasBeenModified(); |
| | | } catch (IOException e) { |
| | | // do nothing for now; |
| | | } |
| | | return mod; |
| | | } |
| | | |
| | | /** |
| | | * Determines whether or not the schema has been modified for this |
| | | * installation. |
| | | * @return boolean where true means the schema has been modified |