public class LicenseFile extends Object
Constructor and Description |
---|
LicenseFile() |
Modifier and Type | Method and Description |
---|---|
static void |
createFileLicenseApproved(String installationPath)
Creates a file - in the legal folder from the specified directory; which
indicates that the license has been approved.
|
static boolean |
exists()
Checks if the license file exists.
|
static boolean |
getApproval()
Get the license approval status.
|
static String |
getText()
Get the textual contents of the license file.
|
static boolean |
isAlreadyApproved()
Indicate if the license had already been approved..
|
static void |
setApproval(boolean p_approved)
Sets the license approval status.
|
public LicenseFile()
public static boolean exists()
true
if the license file exists in the Legal directory
in the top level installation directory false
otherwise.public static String getText()
public static boolean getApproval()
true
if the license has been accepted by the user
false
otherwise.public static void setApproval(boolean p_approved)
p_approved
- the license approval statuspublic static void createFileLicenseApproved(String installationPath)
installationPath
- The server installation's path.public static boolean isAlreadyApproved()
true
if the license had already been approved by the
user false
otherwise.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.