public final class LicenseKeyVolumeConfigurer extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LOCAL_FILE_DIR_PATH_ENVIRONMENT_VARIABLE_NAME |
static String |
LOCAL_FILE_DIR_PATH_PROPERTY_NAME |
static String |
LOCAL_REPORTING |
static String |
REMOTE_REPORTING |
static String |
REPORTING_TYPE_ENVIRONMENT_VARIABLE_NAME |
static String |
REPORTING_TYPE_PROPERTY_NAME |
Modifier and Type | Method and Description |
---|---|
static void |
resetApiConfiguration()
Reset API configuration.
|
static void |
useLocalReporting(String directoryToWritePath)
Select local reporting type for License Key Volume with specified root directory for generated reports
|
static void |
useRemoteReporting()
Select remote reporting type in which events are sent over the web to a remote server.
|
public static final String REPORTING_TYPE_ENVIRONMENT_VARIABLE_NAME
public static final String REPORTING_TYPE_PROPERTY_NAME
public static final String LOCAL_FILE_DIR_PATH_ENVIRONMENT_VARIABLE_NAME
public static final String LOCAL_FILE_DIR_PATH_PROPERTY_NAME
public static final String REMOTE_REPORTING
public static final String LOCAL_REPORTING
public static void useRemoteReporting()
public static void useLocalReporting(String directoryToWritePath)
directoryToWritePath
- the path to local directory for writing reports. If it is null, then System property LOCAL_FILE_DIR_PATH_PROPERTY_NAME
, or System environment variable LOCAL_FILE_DIR_PATH_ENVIRONMENT_VARIABLE_NAME
will be used, or the path configured in license file.
IllegalArgumentException
- in case of invalid directory path
public static void resetApiConfiguration()
Copyright © 2021. All rights reserved.