public interface Support
| Modifier and Type | Field and Description |
|---|---|
static int |
APPROVE_FAILED
Approve failed.
|
static int |
BUNDLE_CREATE_FAILED
Creation of the bundle failed.
|
static int |
BUNDLE_NAME_FETCH_FAILED
Failed to fetch newly created bundle name from the server.
|
static int |
BUNDLE_NOT_FOUND
Desired bundle not found on the server.
|
static int |
BUNDLE_UPLOAD_FAILED
Failed to upload files for the bundle.
|
static int |
CLEANUP_MODE_ALL
Cleanup mode will remove all.
|
static int |
CLEANUP_MODE_CREATED_BUNDLES
Cleanup will remove created signed bundles.
|
static int |
CLEANUP_MODE_DOWNLOAD_DIR
Cleanup will remove download directory.
|
static int |
CLEANUP_MODE_ERROR_FILES
Cleanup will remove downloaded error files.
|
static int |
CLEANUP_MODE_RESULT_FILE
Cleanup will remove downloaded result file.
|
static int |
CLEANUP_MODE_UNZIP_DIR
Cleanup will remove unzip directory.
|
static int |
CLEANUP_MODE_UNZIP_FILES
Cleanup will remove unzipped files.
|
static int |
CONNECTION_FAILED
Connection to the server failed.
|
static int |
DOWNLOAD_FAILED
File download from the server has failed.
|
static int |
DOWNLOAD_NO_DIR
No directory set for downloading the result.
|
static int |
DOWNLOAD_NO_PROJECT
No project associated with the handle.
|
static int |
ERROR
General error.
|
static int |
HANDLE_NOT_FOUND
Handle not found.
|
static int |
INIT_ACCESS_FAILED
Access to the server has failed.
|
static int |
INIT_ALREADY_INIT
Already initialized.
|
static int |
INIT_FILE_NOT_FOUND
Init config file not found.
|
static int |
INIT_FILE_PARSE_FAILED
Parsing of configuration file failed.
|
static int |
INIT_KEYSTORE_ERROR
Error with the keystore.
|
static int |
INIT_KEYSTORE_FAILED
Failed loading keystore in init.
|
static int |
INIT_KEYSTORE_NOT_FOUND
Keystore file not found.
|
static int |
INIT_MACRO_FAIL
Macro expansion failed, possibly a circular definition.
|
static int |
INIT_NO_ALIAS
Keystore alias not defined.
|
static int |
INIT_NO_HOSTNAME
Server hostname not defined.
|
static int |
INIT_NO_KEYSTORE
Keystore not defined.
|
static int |
INIT_NO_PASSWORD
Keystore password not defined.
|
static int |
INIT_NO_PORT
Server port not defined.
|
static int |
INIT_NO_TEMPDIR
Temporary directory does not exist and/or creation failed.
|
static int |
INIT_XMLRPC_FAILED
XML-RPC initialization has failed.
|
static int |
NO_INIT
library is not initialized properly.
|
static int |
OK
OK.
|
static int |
PROJECT_ADD_USERS_FAILED
Failed to add user clients to the project.
|
static int |
PROJECT_CREATE_FAILED
Creation of the project failed.
|
static int |
PROJECT_CREATE_JOB_FAILED
Creation of a job has failed.
|
static int |
PROJECT_CREATE_JOBS_FAILED
Failed to create jobs for the project.
|
static int |
PROJECT_NO_BUNDLE
Bundle has not been set.
|
static int |
PROJECT_NO_ERRORS_DOWNLOADED
Project errors not downloaded when trying to parse (use getErrors).
|
static int |
PROJECT_NO_PROJECT
No Project ID set.
|
static int |
PROJECT_PARSE_ERROR
Error while trying to parse project errors file.
|
static int |
PROJECT_SET_PARAMS_FAILED
Failed to set project parameters.
|
static int |
PROJECT_START_FAILED
Failed to start the project.
|
static int |
UNKNOWN_HOST
The specified server is unknown.
|
static int |
UNZIP_ERROR
Unzipping has failed.
|
static int |
UNZIP_NO_RESULT
The result zip file was not found.
|
static int |
UPLOAD_FAILED
Upload to the server has failed.
|
static int |
UPLOAD_NO_BUNDLE
No bundle has been created, nothing to upload.
|
static int |
UPLOAD_NO_FILE
File to be uploaded does not exist.
|
static int |
WAIT_NO_PROJECT
No project associated with the handle.
|
static int |
WAIT_POLL_FAILED
Background poll has failed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(java.util.logging.Handler handler)
Add a logging handler into the Management Library logger.
|
java.lang.String |
describeStatusCode(int statuscode)
Describe the given status code.
|
java.util.logging.Level |
getConsoleLogLevel()
Get console logging level.
|
java.lang.String |
getLastErrorMessage()
Get the message of the last severe logged event.
|
void |
initLog(java.lang.String filename,
int fileSize,
int fileCount,
java.util.logging.Level fileLevel,
java.util.logging.Level consoleLevel)
Initialize logging.
|
void |
log(java.util.logging.Level level,
java.lang.String msg)
Log a message into the log with given level.
|
void |
log(java.lang.String msg)
Log a message into the log (with level INFO).
|
void |
log(java.lang.String level,
java.lang.String msg)
Log a message into the log with given level.
|
void |
removeHandler(java.util.logging.Handler handler)
Remove a logging handler from the logger.
|
int |
setConsoleLogLevel(java.util.logging.Level level)
Set console logging level.
|
int |
setConsoleLogLevel(java.lang.String level)
Set console logging level.
|
int |
setLogLevel(java.util.logging.Level level)
Set Logging level.
Example:
int statuscode = techila.support().setLogLevel(Level.ALL);
|
int |
setLogLevel(java.lang.String level)
Set logging level.
Example:
int statuscode = techila.support().setLogLevel("ALL");
|
static final int OK
static final int ERROR
static final int NO_INIT
static final int HANDLE_NOT_FOUND
static final int CONNECTION_FAILED
static final int UNKNOWN_HOST
static final int INIT_FILE_NOT_FOUND
static final int INIT_KEYSTORE_FAILED
static final int INIT_XMLRPC_FAILED
static final int INIT_NO_TEMPDIR
static final int INIT_ACCESS_FAILED
static final int INIT_NO_KEYSTORE
static final int INIT_NO_ALIAS
static final int INIT_NO_PASSWORD
static final int INIT_NO_HOSTNAME
static final int INIT_NO_PORT
static final int INIT_FILE_PARSE_FAILED
static final int INIT_KEYSTORE_ERROR
static final int INIT_KEYSTORE_NOT_FOUND
static final int INIT_ALREADY_INIT
static final int INIT_MACRO_FAIL
static final int BUNDLE_NOT_FOUND
static final int BUNDLE_UPLOAD_FAILED
static final int BUNDLE_CREATE_FAILED
static final int BUNDLE_NAME_FETCH_FAILED
static final int PROJECT_NO_BUNDLE
static final int PROJECT_NO_PROJECT
static final int PROJECT_CREATE_FAILED
static final int PROJECT_CREATE_JOBS_FAILED
static final int PROJECT_ADD_USERS_FAILED
static final int PROJECT_START_FAILED
static final int PROJECT_SET_PARAMS_FAILED
static final int PROJECT_CREATE_JOB_FAILED
static final int PROJECT_NO_ERRORS_DOWNLOADED
static final int PROJECT_PARSE_ERROR
static final int WAIT_NO_PROJECT
static final int WAIT_POLL_FAILED
static final int DOWNLOAD_NO_PROJECT
static final int DOWNLOAD_NO_DIR
static final int DOWNLOAD_FAILED
static final int UNZIP_NO_RESULT
static final int UNZIP_ERROR
static final int UPLOAD_NO_BUNDLE
static final int UPLOAD_NO_FILE
static final int UPLOAD_FAILED
static final int APPROVE_FAILED
static final int CLEANUP_MODE_RESULT_FILE
static final int CLEANUP_MODE_UNZIP_FILES
static final int CLEANUP_MODE_DOWNLOAD_DIR
static final int CLEANUP_MODE_UNZIP_DIR
static final int CLEANUP_MODE_CREATED_BUNDLES
static final int CLEANUP_MODE_ERROR_FILES
static final int CLEANUP_MODE_ALL
int setLogLevel(java.util.logging.Level level)
int statuscode = techila.support().setLogLevel(Level.ALL);
level - int setLogLevel(java.lang.String level)
int statuscode = techila.support().setLogLevel("ALL");
level - String representation of the levelint setConsoleLogLevel(java.util.logging.Level level)
level - int setConsoleLogLevel(java.lang.String level)
level - java.util.logging.Level getConsoleLogLevel()
java.lang.String describeStatusCode(int statuscode)
statuscode - java.lang.String getLastErrorMessage()
void addHandler(java.util.logging.Handler handler)
handler - the handler to be added.void removeHandler(java.util.logging.Handler handler)
handler - the handler to be removed.void initLog(java.lang.String filename,
int fileSize,
int fileCount,
java.util.logging.Level fileLevel,
java.util.logging.Level consoleLevel)
filename - Log file.fileSize - Max size for single log file.fileCount - Max count of log files.fileLevel - Log level for file logging.consoleLevel - Log level for console logging.void log(java.lang.String msg)
msg - void log(java.lang.String level,
java.lang.String msg)
level - msg - void log(java.util.logging.Level level,
java.lang.String msg)
level - msg -