|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.nds.dirxml.util.DxConst
public abstract class DxConst
Class containing various DirXML-related constants.
Field Summary | |
---|---|
static int |
ADVANCED_EDITION
|
static String |
ADVANCED_STRING
|
static String |
AE_VAL
|
static int |
ASSOCIATION_ANY
Search wildcard for finding association values with any state. |
static int |
ASSOCIATION_DISABLED
Value for the state portion of a DirXML-Association value indicating that the associated object will not be synchronized. |
static int |
ASSOCIATION_MANUAL
Value for the state portion of a DirXML-Association value indicating that the association value was manually set (i.e., the engine didn't set the state). |
static int |
ASSOCIATION_MASK
Mask for those bits in association state values that are currently used. |
static int |
ASSOCIATION_MIGRATE
Value for the state portion of a DirXML-Association value indicating that the associated object should be migrated to the application. |
static int |
ASSOCIATION_PENDING
Value for the state portion of a DirXML-Association value indicating that the associated object has been processed but not synchronized. |
static int |
ASSOCIATION_PROCESSED
Value for the state portion of a DirXML-Association value indicating that the associated object has been successfully synchronized. |
static int |
DORADO_MAJOR_VERSION
|
static String |
EVAL_VAL
|
static int |
EVALUATION_EDITION
|
static String |
EVALUATION_STRING
|
static int |
LOG_EV_ADD_ASSOCIATION
|
static int |
LOG_EV_ADD_ENTRY
|
static int |
LOG_EV_ADD_VALUE
|
static int |
LOG_EV_CHANGE_PASSWORD
|
static int |
LOG_EV_CHECK_OBJECT_PASSWORD
|
static int |
LOG_EV_CHECK_PASSWORD
|
static int |
LOG_EV_CLEAR_ATTRIBUTE
|
static int |
LOG_EV_CLEAR_SSO_CREDENTIAL
|
static int |
LOG_EV_COMMAND_TRANSFORMATION
|
static int |
LOG_EV_CREATE_RULE
|
static int |
LOG_EV_CUSTOM_OP
|
static int |
LOG_EV_DIRXML_ERROR
|
static int |
LOG_EV_DIRXML_WARNING
|
static int |
LOG_EV_DRIVER_START
|
static int |
LOG_EV_DRIVER_STOP
|
static int |
LOG_EV_DX_ABORT_JOB
|
static int |
LOG_EV_DX_CACHE_LIMIT_CFG
|
static int |
LOG_EV_DX_CACHE_UTIL
|
static int |
LOG_EV_DX_CHECK_OBJECT_PASSWORD
|
static int |
LOG_EV_DX_DRIVER_SET_CFG
|
static int |
LOG_EV_DX_DRIVER_START_OPTION_CFG
|
static int |
LOG_EV_DX_GET_SERVER_CERT
|
static int |
LOG_EV_DX_INIT_DRIVER_OBJECT
|
static int |
LOG_EV_DX_KEYED_PASSWORD_SET
|
static int |
LOG_EV_DX_LOG_EVENTS_CFG
|
static int |
LOG_EV_DX_MIGRATE_APP
|
static int |
LOG_EV_DX_NOTIFY_JOB_UPDATE
|
static int |
LOG_EV_DX_OPEN_DRIVER_ACTION
|
static int |
LOG_EV_DX_QUEUE_EVENT
|
static int |
LOG_EV_DX_REGENERATE_KEY
|
static int |
LOG_EV_DX_REMOTE_LOADER_PASSWORD_SET
|
static int |
LOG_EV_DX_RESYNC_DRIVER
|
static int |
LOG_EV_DX_SHIM_PASSWORD_SET
|
static int |
LOG_EV_DX_START
|
static int |
LOG_EV_DX_START_JOB
|
static int |
LOG_EV_EVENT_TRANSFORMATION
|
static int |
LOG_EV_GET_NAMED_PASSWORD
|
static int |
LOG_EV_INPUT_MAPPING_RULE
|
static int |
LOG_EV_INPUT_TRANSFORMATION
|
static int |
LOG_EV_INPUT_XML
|
static int |
LOG_EV_JOB_RESULT_ABORTED
|
static int |
LOG_EV_JOB_RESULT_ERROR
|
static int |
LOG_EV_JOB_RESULT_SUCCESS
|
static int |
LOG_EV_JOB_RESULT_WARNING
|
static int |
LOG_EV_MATCHING_RULE
|
static int |
LOG_EV_MERGE
|
static int |
LOG_EV_MIGRATE
|
static int |
LOG_EV_MOD_ADD_VALUE
|
static int |
LOG_EV_MOD_REMOVE_VALUE
|
static int |
LOG_EV_MODIFY_ENTRY
|
static int |
LOG_EV_MOVE_ENTRY
|
static int |
LOG_EV_OUTPUT_MAPPING_RULE
|
static int |
LOG_EV_OUTPUT_TRANSFORMATION
|
static int |
LOG_EV_PASSWORD_RESET
|
static int |
LOG_EV_PASSWORD_SYNC
|
static int |
LOG_EV_PLACEMENT_RULE
|
static int |
LOG_EV_PUBLISHER_FILTER
|
static int |
LOG_EV_QUERY_SCHEMA
|
static int |
LOG_EV_REMOVE_ASSOCIATION
|
static int |
LOG_EV_REMOVE_ENTRY
|
static int |
LOG_EV_RENAME_ENTRY
|
static int |
LOG_EV_RESET_ATTRIBUTES
|
static int |
LOG_EV_RESYNC_DRIVER
|
static int |
LOG_EV_SEARCH
|
static int |
LOG_EV_SET_SSO_CREDENTIAL
|
static int |
LOG_EV_SET_SSO_PASSPHRASE
|
static int |
LOG_EV_STATUS_ERROR
|
static int |
LOG_EV_STATUS_FATAL
|
static int |
LOG_EV_STATUS_OTHER
|
static int |
LOG_EV_STATUS_RETRY
|
static int |
LOG_EV_STATUS_SUCCESS
|
static int |
LOG_EV_STATUS_WARNING
|
static int |
LOG_EV_SYNC
|
static int |
LOG_EV_USER_AGENT_REQUEST
|
static int |
LOG_EV_USER_DEFINED_END
|
static int |
LOG_EV_USER_DEFINED_START
|
static int |
MAX_DIRXML_EDITION
|
static int |
MIN_DIRXML_2_DR1_VERSION
Version number of DirXML 2 DR1. |
static int |
MIN_DIRXML_2_SEAFANG_VERSION
Version number of DirXML "Seafang" |
static int |
MIN_DIRXML_2_SPITFIRE_SP1_VERSION
Version number of DirXML "Spitfire SP1" |
static int |
MIN_DIRXML_2_SPITFIRE_VERSION
Version number of DirXML "Spitfire" |
static int |
MIN_DIRXML_2_VERSION
Mininum version number in int form of DirXML 2. |
static int |
MIN_DIRXML_3_ANTELOPE_VERSION
Version number of DirXML "Antelope" |
static int |
MIN_DIRXML_3_CARIBOU_VERSION
Version number of DirXML "Caribou" |
static int |
MIN_DIRXML_3_COBRA_VERSION
Version number of Dirxml "Cobra" |
static int |
MIN_DIRXML_4_CAPRICORN_VERSION
Version number of Dirxml "Capricorn" |
static int |
MIN_DIRXML_4_DORADO_VERSION
Version number of Dirxml "Dorado" |
static int |
MIN_DIRXML_4_ORION_VERSION
Version number of Dirxml "Capricorn" |
static int |
MIN_DIRXML_EDITION
|
static String |
SE_VAL
|
static int |
STANDARD_EDITION
|
static String |
STANDARD_STRING
|
protected static String |
STR_START_OPTION_AUTO
|
protected static String |
STR_START_OPTION_DISABLED
|
protected static String |
STR_START_OPTION_MANUAL
|
protected static String |
STR_START_OPTION_OVERFLOW_AUTO
|
protected static String |
STR_START_OPTION_OVERFLOW_MANUAL
|
protected static String |
STR_START_OPTION_UNKNOWN
|
protected static String |
STR_STATE_GET_SCHEMA
|
protected static String |
STR_STATE_RUNNING
|
protected static String |
STR_STATE_SHUTDOWN_PENDING
|
protected static String |
STR_STATE_STARTING
|
protected static String |
STR_STATE_STOPPED
|
protected static String |
STR_STATE_UNKNOWN
|
static int |
VR_DRIVER_AUTO_START
Startup option value for a driver indicating that the driver will cache events, will be started automatically when DirXML starts, and may also be started using the DSVR_DRIVER_STATE subverb of DSV_SET_REPLICATION_FILTER. |
static int |
VR_DRIVER_CACHE_OVERFLOW_AUTO
Startup option value for a driver indicating that the driver is in a cache overflow state and that its previous start option value was VR_DRIVER_AUTO_START. |
static int |
VR_DRIVER_CACHE_OVERFLOW_MANUAL
Startup option value for a driver indicating that the driver is in a cache overflow state and that its previous start option value was VR_DRIVER_MANUAL_START. |
static int |
VR_DRIVER_DISABLED
Startup option value for a driver indicating that the driver will not cache events and may not be started. |
static int |
VR_DRIVER_GET_SCHEMA
This value may be used with the DSVR_DRIVER_STATE subverb of the DSV_SET_REPLICATION_FILTER verb to cause a driver to retrieve the applications schema. |
static int |
VR_DRIVER_MANUAL_START
Startup option value for a driver indicating that the driver will cache events and may be started using the DSVR_DRIVER_STATE subverb of DSV_SET_REPLICATION_FILTER. |
static int |
VR_DRIVER_RUNNING
Driver state value indicating the driver is running. |
static int |
VR_DRIVER_SHUTDOWN_PENDING
Driver state value indicating the driver is in the process of starting. |
static int |
VR_DRIVER_STARTING
Driver state value indicating the driver is in the process of starting. |
static int |
VR_DRIVER_STOPPED
Driver state value indicating the driver is stopped. |
Constructor Summary | |
---|---|
DxConst()
|
Method Summary | |
---|---|
static String |
getDirXMLVersionString(int version)
Return a dot-delimited string given a DirXML version number, eg., "2.0.0.0 SE/AE". |
static String |
getDriverStartOptionString(int startOption)
Return human-readable string corresponding to passed driver start option value. |
static String |
getDriverStateString(int state)
Return human-readable string corresponding to passed driver state value. |
static String |
getEditionString()
|
static String |
getEditionStringFromInt(int editionInt)
|
static String |
getEditionValfromInt(int editionInt)
|
static int |
getLogEventListSize()
Return size needed for an array or list that contains all non-user-defined log event ids. |
static String |
getLogEventNumberDescription(int eventNumber)
Return a human-readable description of an log event id. |
static int |
getMaxLogEventNumber()
Return the maximum log event number. |
static int |
getMinLogEventNumber()
Return the minimum log event number. |
static boolean |
isAdvancedEdition(int version)
Returns true if the passed version is that of Advanced Edition, and false otherwise |
static boolean |
isStandardEdition(int version)
Returns true if the passed version is that of Standard Edition, and false otherwise |
static int[] |
parseDirXMLVersion(int version)
Parse a DirXML version number into its parts. |
static int[] |
parseDirXMLVersion0(int version)
Parse a DirXML version number into its parts. |
static int[] |
parseDirXMLVersion1(int version)
Parse a DirXML version number into its parts. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MIN_DIRXML_2_VERSION
A DirXML version number (as of DirXML 2) is a 32-bit value as follows (starting at the high-order bit):
4 bits - major version
4 bits - minor version
8 bits - patch or service pack level
16 bits - build number
parseDirXMLVersion(int)
,
getDirXMLVersionString(int)
,
Constant Field Valuespublic static final int MIN_DIRXML_2_DR1_VERSION
public static final int MIN_DIRXML_2_SPITFIRE_VERSION
public static final int MIN_DIRXML_2_SPITFIRE_SP1_VERSION
public static final int MIN_DIRXML_2_SEAFANG_VERSION
public static final int MIN_DIRXML_3_ANTELOPE_VERSION
public static final int MIN_DIRXML_3_CARIBOU_VERSION
public static final int MIN_DIRXML_3_COBRA_VERSION
public static final int MIN_DIRXML_4_DORADO_VERSION
public static final int MIN_DIRXML_4_CAPRICORN_VERSION
public static final int MIN_DIRXML_4_ORION_VERSION
public static final int VR_DRIVER_STOPPED
public static final int VR_DRIVER_STARTING
public static final int VR_DRIVER_RUNNING
public static final int VR_DRIVER_SHUTDOWN_PENDING
public static final int VR_DRIVER_GET_SCHEMA
public static final int VR_DRIVER_DISABLED
public static final int VR_DRIVER_MANUAL_START
public static final int VR_DRIVER_AUTO_START
public static final int VR_DRIVER_CACHE_OVERFLOW_MANUAL
public static final int VR_DRIVER_CACHE_OVERFLOW_AUTO
public static final int ASSOCIATION_DISABLED
public static final int ASSOCIATION_PROCESSED
public static final int ASSOCIATION_PENDING
public static final int ASSOCIATION_MANUAL
public static final int ASSOCIATION_MIGRATE
public static final int ASSOCIATION_MASK
public static final int ASSOCIATION_ANY
public static final int DORADO_MAJOR_VERSION
public static final int EVALUATION_EDITION
public static final String EVAL_VAL
public static final String EVALUATION_STRING
public static final int STANDARD_EDITION
public static final String SE_VAL
public static final String STANDARD_STRING
public static final int ADVANCED_EDITION
public static final String AE_VAL
public static final String ADVANCED_STRING
public static final int MIN_DIRXML_EDITION
public static final int MAX_DIRXML_EDITION
public static final int LOG_EV_STATUS_SUCCESS
public static final int LOG_EV_STATUS_RETRY
public static final int LOG_EV_STATUS_WARNING
public static final int LOG_EV_STATUS_ERROR
public static final int LOG_EV_STATUS_FATAL
public static final int LOG_EV_STATUS_OTHER
public static final int LOG_EV_SEARCH
public static final int LOG_EV_ADD_ENTRY
public static final int LOG_EV_REMOVE_ENTRY
public static final int LOG_EV_MODIFY_ENTRY
public static final int LOG_EV_RENAME_ENTRY
public static final int LOG_EV_MOVE_ENTRY
public static final int LOG_EV_ADD_ASSOCIATION
public static final int LOG_EV_REMOVE_ASSOCIATION
public static final int LOG_EV_QUERY_SCHEMA
public static final int LOG_EV_CHECK_PASSWORD
public static final int LOG_EV_CHECK_OBJECT_PASSWORD
public static final int LOG_EV_CHANGE_PASSWORD
public static final int LOG_EV_SYNC
public static final int LOG_EV_INPUT_XML
public static final int LOG_EV_INPUT_TRANSFORMATION
public static final int LOG_EV_OUTPUT_TRANSFORMATION
public static final int LOG_EV_EVENT_TRANSFORMATION
public static final int LOG_EV_PLACEMENT_RULE
public static final int LOG_EV_CREATE_RULE
public static final int LOG_EV_INPUT_MAPPING_RULE
public static final int LOG_EV_OUTPUT_MAPPING_RULE
public static final int LOG_EV_MATCHING_RULE
public static final int LOG_EV_COMMAND_TRANSFORMATION
public static final int LOG_EV_PUBLISHER_FILTER
public static final int LOG_EV_USER_AGENT_REQUEST
public static final int LOG_EV_RESYNC_DRIVER
public static final int LOG_EV_MIGRATE
public static final int LOG_EV_DRIVER_START
public static final int LOG_EV_DRIVER_STOP
public static final int LOG_EV_PASSWORD_SYNC
public static final int LOG_EV_PASSWORD_RESET
public static final int LOG_EV_DIRXML_ERROR
public static final int LOG_EV_DIRXML_WARNING
public static final int LOG_EV_CUSTOM_OP
public static final int LOG_EV_CLEAR_ATTRIBUTE
public static final int LOG_EV_MOD_ADD_VALUE
public static final int LOG_EV_MOD_REMOVE_VALUE
public static final int LOG_EV_MERGE
public static final int LOG_EV_GET_NAMED_PASSWORD
public static final int LOG_EV_RESET_ATTRIBUTES
public static final int LOG_EV_ADD_VALUE
public static final int LOG_EV_SET_SSO_CREDENTIAL
public static final int LOG_EV_CLEAR_SSO_CREDENTIAL
public static final int LOG_EV_SET_SSO_PASSPHRASE
public static final int LOG_EV_JOB_RESULT_SUCCESS
public static final int LOG_EV_JOB_RESULT_WARNING
public static final int LOG_EV_JOB_RESULT_ERROR
public static final int LOG_EV_JOB_RESULT_ABORTED
public static final int LOG_EV_USER_DEFINED_START
public static final int LOG_EV_USER_DEFINED_END
public static final int LOG_EV_DX_START
public static final int LOG_EV_DX_LOG_EVENTS_CFG
public static final int LOG_EV_DX_CACHE_LIMIT_CFG
public static final int LOG_EV_DX_DRIVER_SET_CFG
public static final int LOG_EV_DX_DRIVER_START_OPTION_CFG
public static final int LOG_EV_DX_RESYNC_DRIVER
public static final int LOG_EV_DX_MIGRATE_APP
public static final int LOG_EV_DX_SHIM_PASSWORD_SET
public static final int LOG_EV_DX_KEYED_PASSWORD_SET
public static final int LOG_EV_DX_REMOTE_LOADER_PASSWORD_SET
public static final int LOG_EV_DX_REGENERATE_KEY
public static final int LOG_EV_DX_GET_SERVER_CERT
public static final int LOG_EV_DX_CACHE_UTIL
public static final int LOG_EV_DX_CHECK_OBJECT_PASSWORD
public static final int LOG_EV_DX_INIT_DRIVER_OBJECT
public static final int LOG_EV_DX_NOTIFY_JOB_UPDATE
public static final int LOG_EV_DX_OPEN_DRIVER_ACTION
public static final int LOG_EV_DX_QUEUE_EVENT
public static final int LOG_EV_DX_START_JOB
public static final int LOG_EV_DX_ABORT_JOB
protected static final String STR_STATE_STOPPED
protected static final String STR_STATE_STARTING
protected static final String STR_STATE_RUNNING
protected static final String STR_STATE_SHUTDOWN_PENDING
protected static final String STR_STATE_GET_SCHEMA
protected static final String STR_STATE_UNKNOWN
protected static final String STR_START_OPTION_DISABLED
protected static final String STR_START_OPTION_MANUAL
protected static final String STR_START_OPTION_AUTO
protected static final String STR_START_OPTION_OVERFLOW_MANUAL
protected static final String STR_START_OPTION_OVERFLOW_AUTO
protected static final String STR_START_OPTION_UNKNOWN
Constructor Detail |
---|
public DxConst()
Method Detail |
---|
public static String getDriverStateString(int state)
state
- driver state value
public static String getDriverStartOptionString(int startOption)
startOption
- driver start option value
public static int getMinLogEventNumber()
public static int getMaxLogEventNumber()
public static int getLogEventListSize()
public static String getLogEventNumberDescription(int eventNumber)
eventNumber
- event number (LOG_EV_*)
public static int[] parseDirXMLVersion(int version)
In the returned int
array, the parts are as follows:
array[0] = major version
array[1] = minor version
array[2] = patch level
array[3] = build number
array[4] = dirxml edition. This field is only returned for IDM Version 4.0 onwards
version
- the packed version number.
int
s for IDM Version after 4.0 and returns array of 4 int
s for IDM Version prior to 4.0.public static int[] parseDirXMLVersion0(int version)
In the returned int
array, the parts are as follows:
array[0] = major version
array[1] = minor version
array[2] = patch level
array[3] = build number
version
- the packed version number
int
spublic static int[] parseDirXMLVersion1(int version)
In the returned int
array, the parts are as follows:
array[0] = major version
array[1] = minor version
array[2] = patch level
array[3] = build number
array[4] = dirxml edition.
version
- the packed version number
int
spublic static String getDirXMLVersionString(int version)
version
- the packed version number.
public static boolean isStandardEdition(int version)
version
- - IDM version integer
public static boolean isAdvancedEdition(int version)
version
- - IDM version integer
public static String getEditionString()
public static String getEditionStringFromInt(int editionInt)
public static String getEditionValfromInt(int editionInt)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |