Enum ReplicationCliReturnCode

    • Enum Constant Detail

      • 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.
      • 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_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_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 now
        Error 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 name
        NullPointerException - 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.