Enum ReplicationCliReturnCode
- java.lang.Object
-
- java.lang.Enum<ReplicationCliReturnCode>
-
- org.opends.server.tools.dsreplication.ReplicationCliReturnCode
-
- All Implemented Interfaces:
Serializable,Comparable<ReplicationCliReturnCode>
public enum ReplicationCliReturnCode extends Enum<ReplicationCliReturnCode>
The enumeration which defines the return code.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_INITIALIZE_ARGSUnable to initialize arguments.CONFLICTING_ARGSConflicting arguments.ERROR_CONFIGURING_REPLICATIONSERVERError configuring replication server.ERROR_CONNECTINGError connecting with the provided credentials.ERROR_DISABLING_REPLICATION_ON_BASEDNError disabling replication on base DN.ERROR_DISABLING_REPLICATION_REMOVE_REFERENCE_ON_BASEDNError removing replication port reference on base DN.ERROR_DISABLING_REPLICATION_SERVERError disabling replication server.ERROR_ENABLING_REPLICATION_ON_BASEDNError enabling replication on a base DN.ERROR_EXECUTING_PURGE_HISTORICALError executing purge historical.ERROR_INITIALIZING_ADMINISTRATION_FRAMEWORKError initializing Administration Framework.ERROR_INITIALIZING_BASEDN_GENERICError initializing base DN.ERROR_LAUNCHING_POST_EXTERNAL_INITIALIZATIONError launching pre external initialization.ERROR_LAUNCHING_PRE_EXTERNAL_INITIALIZATIONError launching pre external initialization.ERROR_LAUNCHING_PURGE_HISTORICALError launching purge historical.ERROR_LAUNCHING_RESET_CHANGE_NUMBERError launching reset change number task.ERROR_LOCAL_PURGE_HISTORICAL_CLASS_LOADDeprecated.unused nowERROR_LOCAL_PURGE_HISTORICAL_EXECUTINGGeneric error executing local purge historical.ERROR_LOCAL_PURGE_HISTORICAL_SERVER_STARTError starting server in local purge historical.ERROR_LOCAL_PURGE_HISTORICAL_TIMEOUTTimeout error in local purge historical.ERROR_READING_ADSError reading ADS.ERROR_READING_CONFIGURATIONError reading configuration.ERROR_READING_TOPOLOGY_CACHEError reading TopologyCache.ERROR_RESET_CHANGE_NUMBER_BASEDNS_SHOULD_EQUALServer configuration differs, base DNs are different.ERROR_RESET_CHANGE_NUMBER_NO_CSNCSN for a given change is not present.ERROR_RESET_CHANGE_NUMBER_PROBLEMException from lower layers.ERROR_RESET_CHANGE_NUMBER_UNKNOWN_BASEDNTarget DN for change could not be computed.ERROR_SEEDING_TRUSTOREError seeding trustore.ERROR_UNKNOWN_CHANGE_NUMBERChange number does not exists.ERROR_UPDATING_ADSError updating ADS.ERROR_USER_DATACannot parse arguments because the user provided arguments are not valid or there was an error checking the user data.HISTORICAL_CANNOT_BE_PURGED_ON_BASEDNThe provided base DNs cannot be purged.INITIALIZING_TRIES_COMPLETEDThe number of tries we perform to start the initialization are over.REPLICATION_ADS_MERGE_NOT_SUPPORTEDUnsupported ADS scenario.REPLICATION_CANNOT_BE_DISABLED_ON_BASEDNThe provided base DNs cannot be used to disable replication.REPLICATION_CANNOT_BE_ENABLED_ON_BASEDNThe provided base DNs cannot be used to enable replication.REPLICATION_CANNOT_BE_INITIALIZED_ON_BASEDNThe provided base DNs cannot be used to initialize the contents of the replicas.REPLICATIONID_NOT_FOUNDCould not find the replication ID of the domain to be used to initialize the replica.SUCCESSFULSuccessful.SUCCESSFUL_NOPSuccessful but no operation was performed.USER_CANCELLEDThe user canceled the operation in interactive mode.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.forgerock.i18n.LocalizableMessagegetMessage()Get the corresponding message.intgetReturnCode()Get the corresponding return code value.static ReplicationCliReturnCodevalueOf(String name)Returns the enum constant of this type with the specified name.static ReplicationCliReturnCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESSFUL
public static final ReplicationCliReturnCode SUCCESSFUL
Successful.
-
SUCCESSFUL_NOP
public static final ReplicationCliReturnCode SUCCESSFUL_NOP
Successful but no operation was performed.
-
CANNOT_INITIALIZE_ARGS
public static final ReplicationCliReturnCode CANNOT_INITIALIZE_ARGS
Unable to initialize arguments.
-
ERROR_USER_DATA
public static final ReplicationCliReturnCode ERROR_USER_DATA
Cannot parse arguments because the user provided arguments are not valid or there was an error checking the user data.
-
USER_CANCELLED
public static final ReplicationCliReturnCode USER_CANCELLED
The user canceled the operation in interactive mode.
-
CONFLICTING_ARGS
public static final ReplicationCliReturnCode CONFLICTING_ARGS
Conflicting arguments.
-
REPLICATION_CANNOT_BE_ENABLED_ON_BASEDN
public static final ReplicationCliReturnCode REPLICATION_CANNOT_BE_ENABLED_ON_BASEDN
The provided base DNs cannot be used to enable replication.
-
REPLICATION_CANNOT_BE_DISABLED_ON_BASEDN
public static final ReplicationCliReturnCode REPLICATION_CANNOT_BE_DISABLED_ON_BASEDN
The provided base DNs cannot be used to disable replication.
-
REPLICATION_CANNOT_BE_INITIALIZED_ON_BASEDN
public static final ReplicationCliReturnCode REPLICATION_CANNOT_BE_INITIALIZED_ON_BASEDN
The provided base DNs cannot be used to initialize the contents of the replicas.
-
ERROR_CONNECTING
public static final ReplicationCliReturnCode ERROR_CONNECTING
Error connecting with the provided credentials.
-
REPLICATIONID_NOT_FOUND
public static final ReplicationCliReturnCode REPLICATIONID_NOT_FOUND
Could not find the replication ID of the domain to be used to initialize the replica.
-
INITIALIZING_TRIES_COMPLETED
public static final ReplicationCliReturnCode INITIALIZING_TRIES_COMPLETED
The number of tries we perform to start the initialization are over. We systematically receive a peer not found error.
-
ERROR_ENABLING_REPLICATION_ON_BASEDN
public static final ReplicationCliReturnCode ERROR_ENABLING_REPLICATION_ON_BASEDN
Error enabling replication on a base DN.
-
ERROR_INITIALIZING_BASEDN_GENERIC
public static final ReplicationCliReturnCode ERROR_INITIALIZING_BASEDN_GENERIC
Error initializing base DN.
-
ERROR_READING_CONFIGURATION
public static final ReplicationCliReturnCode ERROR_READING_CONFIGURATION
Error reading configuration.
-
ERROR_UPDATING_ADS
public static final ReplicationCliReturnCode ERROR_UPDATING_ADS
Error updating ADS.
-
ERROR_READING_ADS
public static final ReplicationCliReturnCode ERROR_READING_ADS
Error reading ADS.
-
ERROR_READING_TOPOLOGY_CACHE
public static final ReplicationCliReturnCode ERROR_READING_TOPOLOGY_CACHE
Error reading TopologyCache.
-
ERROR_CONFIGURING_REPLICATIONSERVER
public static final ReplicationCliReturnCode ERROR_CONFIGURING_REPLICATIONSERVER
Error configuring replication server.
-
REPLICATION_ADS_MERGE_NOT_SUPPORTED
public static final ReplicationCliReturnCode REPLICATION_ADS_MERGE_NOT_SUPPORTED
Unsupported ADS scenario.
-
ERROR_DISABLING_REPLICATION_ON_BASEDN
public static final ReplicationCliReturnCode ERROR_DISABLING_REPLICATION_ON_BASEDN
Error disabling replication on base DN.
-
ERROR_DISABLING_REPLICATION_REMOVE_REFERENCE_ON_BASEDN
public static final ReplicationCliReturnCode ERROR_DISABLING_REPLICATION_REMOVE_REFERENCE_ON_BASEDN
Error removing replication port reference on base DN.
-
ERROR_INITIALIZING_ADMINISTRATION_FRAMEWORK
public static final ReplicationCliReturnCode ERROR_INITIALIZING_ADMINISTRATION_FRAMEWORK
Error initializing Administration Framework.
-
ERROR_SEEDING_TRUSTORE
public static final ReplicationCliReturnCode ERROR_SEEDING_TRUSTORE
Error seeding trustore.
-
ERROR_LAUNCHING_PRE_EXTERNAL_INITIALIZATION
public static final ReplicationCliReturnCode ERROR_LAUNCHING_PRE_EXTERNAL_INITIALIZATION
Error launching pre external initialization.
-
ERROR_LAUNCHING_POST_EXTERNAL_INITIALIZATION
public static final ReplicationCliReturnCode ERROR_LAUNCHING_POST_EXTERNAL_INITIALIZATION
Error launching pre external initialization.
-
ERROR_DISABLING_REPLICATION_SERVER
public static final ReplicationCliReturnCode ERROR_DISABLING_REPLICATION_SERVER
Error disabling replication server.
-
ERROR_EXECUTING_PURGE_HISTORICAL
public static final ReplicationCliReturnCode ERROR_EXECUTING_PURGE_HISTORICAL
Error executing purge historical.
-
HISTORICAL_CANNOT_BE_PURGED_ON_BASEDN
public static final ReplicationCliReturnCode HISTORICAL_CANNOT_BE_PURGED_ON_BASEDN
The provided base DNs cannot be purged.
-
ERROR_LAUNCHING_PURGE_HISTORICAL
public static final ReplicationCliReturnCode ERROR_LAUNCHING_PURGE_HISTORICAL
Error launching purge historical.
-
ERROR_LOCAL_PURGE_HISTORICAL_CLASS_LOAD
public static final ReplicationCliReturnCode ERROR_LOCAL_PURGE_HISTORICAL_CLASS_LOAD
Deprecated.unused nowError loading configuration class in local purge historical.
-
ERROR_LOCAL_PURGE_HISTORICAL_SERVER_START
public static final ReplicationCliReturnCode ERROR_LOCAL_PURGE_HISTORICAL_SERVER_START
Error starting server in local purge historical.
-
ERROR_LOCAL_PURGE_HISTORICAL_TIMEOUT
public static final ReplicationCliReturnCode ERROR_LOCAL_PURGE_HISTORICAL_TIMEOUT
Timeout error in local purge historical.
-
ERROR_LOCAL_PURGE_HISTORICAL_EXECUTING
public static final ReplicationCliReturnCode ERROR_LOCAL_PURGE_HISTORICAL_EXECUTING
Generic error executing local purge historical.
-
ERROR_UNKNOWN_CHANGE_NUMBER
public static final ReplicationCliReturnCode ERROR_UNKNOWN_CHANGE_NUMBER
Change number does not exists.
-
ERROR_LAUNCHING_RESET_CHANGE_NUMBER
public static final ReplicationCliReturnCode ERROR_LAUNCHING_RESET_CHANGE_NUMBER
Error launching reset change number task.
-
ERROR_RESET_CHANGE_NUMBER_NO_CSN
public static final ReplicationCliReturnCode ERROR_RESET_CHANGE_NUMBER_NO_CSN
CSN for a given change is not present.
-
ERROR_RESET_CHANGE_NUMBER_PROBLEM
public static final ReplicationCliReturnCode ERROR_RESET_CHANGE_NUMBER_PROBLEM
Exception from lower layers.
-
ERROR_RESET_CHANGE_NUMBER_UNKNOWN_BASEDN
public static final ReplicationCliReturnCode ERROR_RESET_CHANGE_NUMBER_UNKNOWN_BASEDN
Target DN for change could not be computed.
-
ERROR_RESET_CHANGE_NUMBER_BASEDNS_SHOULD_EQUAL
public static final ReplicationCliReturnCode ERROR_RESET_CHANGE_NUMBER_BASEDNS_SHOULD_EQUAL
Server configuration differs, base DNs are different.
-
-
Method Detail
-
values
public static ReplicationCliReturnCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ReplicationCliReturnCode c : ReplicationCliReturnCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReplicationCliReturnCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getMessage
public org.forgerock.i18n.LocalizableMessage getMessage()
Get the corresponding message.- Returns:
- The corresponding message.
-
getReturnCode
public int getReturnCode()
Get the corresponding return code value.- Returns:
- The corresponding return code value.
-
-