Uses of Class
org.forgerock.util.annotations.VisibleForTesting
-
Packages that use VisibleForTesting Package Description org.forgerock.audit.util This package contains utility classes used in the audit service.org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.opendj.setup.model Contains code of the opendj setup model.org.opends.server.api Contains a number of API declarations for use throughout the Directory Server.org.opends.server.backends.pluggable Contains the code for implementing Directory Server pluggable storage backends.org.opends.server.backends.task Contains the code for the Directory Server backend that provides an interface for executing administrative tasks.org.opends.server.backup Classes related to backup and restore.org.opends.server.core Contains various classes that comprise the core of the Directory Server codebase.org.opends.server.extensions Contains various implementations of Directory Server APIs that are not appropriate for other packages.org.opends.server.loggers Contains implementations of Directory Server access, error, and debug loggers.org.opends.server.replication.plugin This package contains the part of the Multi-master replication code that works on the Directory Server side.org.opends.server.replication.protocol This package contains the code used by the replication server and by the code running on the Directory Server side to exchange their information.org.opends.server.replication.server This package contains the code for the Replication Server part of the Multimaster replication feature.org.opends.server.replication.server.changelog.file This package contains a file-based log implementation for the changelog database API.org.opends.server.replication.service This package contains the generic of the Multi-Master replication code that works on the Directory Server side.org.opends.server.tools.upgrade Defines the specific classes that are used by the upgrade tool. -
-
Uses of VisibleForTesting in org.forgerock.audit.util
Fields in org.forgerock.audit.util with annotations of type VisibleForTesting Modifier and Type Field Description protected static String
ElasticsearchUtil. FIELD_NAMES_FIELD
JSON field-name of normalized field-names.protected static String
ElasticsearchUtil. NORMALIZED_FIELD
JSON field-name of metadata to assist in de-normalization.Methods in org.forgerock.audit.util with annotations of type VisibleForTesting Modifier and Type Method Description protected static String
ElasticsearchUtil. replaceKeyPeriodsWithUnderscores(String json)
Replaces all period-characters in JSON keys with underscore-characters [ref].protected static JsonValue
ElasticsearchUtil. restoreKeyPeriods(JsonValue value, JsonValue normalized)
Reverses the normalization steps preformed byElasticsearchUtil.replaceKeyPeriodsWithUnderscores(String)
. -
Uses of VisibleForTesting in org.forgerock.opendj.ldap
Constructors in org.forgerock.opendj.ldap with annotations of type VisibleForTesting Constructor Description TimeoutScheduler(com.forgerock.opendj.util.ReferenceCountedObject.Reference<ScheduledExecutorService> scheduler, Clock clock, long period, TimeUnit unit)
Creates a newTimeoutScheduler
. -
Uses of VisibleForTesting in org.forgerock.opendj.setup.model
Fields in org.forgerock.opendj.setup.model with annotations of type VisibleForTesting Modifier and Type Field Description static String
Setup. JVM_TRUST_MANAGER_PROVIDER
The name of the JVM trust manager provider provided in the config template.static Path
SetupConstants. KEYSTORE_PIN_FILE_RELATIVE_PATH
Relative instance path of the generated deployment SSL keystore PIN file.static Path
SetupConstants. TRUSTSTORE_PIN_FILE_RELATIVE_PATH
Relative instance path of the generated SSL truststore PIN file.Methods in org.forgerock.opendj.setup.model with annotations of type VisibleForTesting Modifier and Type Method Description static void
SetupUtils. writeVersionsInConfigFile(Path configFile)
Writes server binary and upgrade version in the provided LDIF config file. -
Uses of VisibleForTesting in org.opends.server.api
Methods in org.opends.server.api with annotations of type VisibleForTesting Modifier and Type Method Description abstract String
EntryCache. toVerboseString()
Return a verbose string representation of the current cache maps. -
Uses of VisibleForTesting in org.opends.server.backends.pluggable
Methods in org.opends.server.backends.pluggable with annotations of type VisibleForTesting Modifier and Type Method Description boolean
BackendImpl. clearBackend()
Clears the contents of this backend, including any database files. -
Uses of VisibleForTesting in org.opends.server.backends.task
Methods in org.opends.server.backends.task with annotations of type VisibleForTesting Modifier and Type Method Description LockManager.DNLock
TaskScheduler. writeLockEntry(Dn entryDN)
Attempts to acquire a write lock on the specified entry, trying as many times as necessary until the lock has been acquired. -
Uses of VisibleForTesting in org.opends.server.backup
Constructors in org.opends.server.backup with annotations of type VisibleForTesting Constructor Description Backup(Instant timestamp, String backendId, String serverId, Set<org.opends.server.backup.BackendFileId> backendFileIds)
Creates a new backup with the provided properties. -
Uses of VisibleForTesting in org.opends.server.core
Methods in org.opends.server.core with annotations of type VisibleForTesting Modifier and Type Method Description void
GroupManager. deregisterAllGroups()
Removes all group instances that might happen to be registered with the group manager.Set<ClientConnection>
AuthenticatedUsers. get(Dn userDN)
Retrieves the set of client connections authenticated as the specified user.protected boolean
BoundedWorkQueueStrategy. tryEnqueueRequest(Operation op)
Tries to add the provided operation to the work queue if not full so that it will be processed by one of the worker threads. -
Uses of VisibleForTesting in org.opends.server.extensions
Fields in org.opends.server.extensions with annotations of type VisibleForTesting Modifier and Type Field Description static byte
ExtensionsConstants. TYPE_PASSWORD_MODIFY_NEW_PASSWORD
The ASN.1 element type that will be used to encode the newPasswd component in a password modify extended request.static byte
ExtensionsConstants. TYPE_PASSWORD_MODIFY_OLD_PASSWORD
The ASN.1 element type that will be used to encode the oldPasswd component in a password modify extended request.static byte
ExtensionsConstants. TYPE_PASSWORD_MODIFY_USER_ID
The ASN.1 element type that will be used to encode the userIdentity component in a password modify extended request. -
Uses of VisibleForTesting in org.opends.server.loggers
Constructors in org.opends.server.loggers with annotations of type VisibleForTesting Constructor Description TextAccessLogPublisher(TextWriter writer, ServerContext serverContext)
Prints all messages to the provided writer. -
Uses of VisibleForTesting in org.opends.server.replication.plugin
Methods in org.opends.server.replication.plugin with annotations of type VisibleForTesting Modifier and Type Method Description static Collection<Dn>
MultimasterReplication. getDomainDns()
Returns the DNs of the replication domains.static EntryHistorical
EntryHistorical. newInstanceFromEntry(Entry entry)
Construct an Historical object from the provided entry by reading the historical attribute.Constructors in org.opends.server.replication.plugin with annotations of type VisibleForTesting Constructor Description EntryHistoricalAttribute(EntryHistorical entryHistorical)
Creates a new ds-sync-hist attribute whose content is based on the provided historical information. -
Uses of VisibleForTesting in org.opends.server.replication.protocol
Methods in org.opends.server.replication.protocol with annotations of type VisibleForTesting Modifier and Type Method Description Map<Integer,ServerState>
MonitorMsg. getReplicaServerStates()
Returns the map of replica Ids to server states. -
Uses of VisibleForTesting in org.opends.server.replication.server
Methods in org.opends.server.replication.server with annotations of type VisibleForTesting Modifier and Type Method Description void
ReplicationServerDomain. resetGenerationId()
Resets the generation id to its default value. -
Uses of VisibleForTesting in org.opends.server.replication.server.changelog.file
Methods in org.opends.server.replication.server.changelog.file with annotations of type VisibleForTesting Modifier and Type Method Description void
FileChangelogDB. clearDB()
Clears all records from the changelog (does not remove the changelog itself). -
Uses of VisibleForTesting in org.opends.server.replication.service
Methods in org.opends.server.replication.service with annotations of type VisibleForTesting Modifier and Type Method Description int
ReplicationDomain. getReplicationServerPort()
Get the port of the replicationServer to which this domain is currently connected.ReplicationMsg
ReplicationBroker. receive()
Receive a message. -
Uses of VisibleForTesting in org.opends.server.tools.upgrade
Fields in org.opends.server.tools.upgrade with annotations of type VisibleForTesting Modifier and Type Field Description static String
UpgradeCli. OPTION_LONG_FORCE_UPGRADE
The value for the long option force upgrade.
-