Searched defs:directory (Results 26 - 50 of 84) sorted by relevance

1234

/forgerock/opendj2-hg/src/server/org/opends/server/util/args/
H A DArgumentParser.java1232 // Check in "user home"/.opends directory
1239 // check "Opends instance"/config directory
1301 * @param directory
1305 private String findPropertiesFile(String directory) argument
1308 File f = new File(directory,DEFAULT_OPENDS_PROPERTIES_FILE_NAME
/forgerock/opendj2-jel-hg/src/guitools/org/opends/guitools/uninstaller/
H A DUninstaller.java1391 // Just tell that the file/directory does not exist.
1452 private boolean equalsOrDescendant(File file, File directory) { argument
1453 return file.equals(directory) || isDescendant(file, directory);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/idm/plugins/files/
H A DFilesRepo.java83 * <code>java.io.File</code> classes. The directory structure is organized as
84 * follows: The root directory is specified by the instance configuration
87 * Under the root directory are sub-directories for each identity type (i.e.,
99 // Root directory
140 // Default directory to store identity data
141 private String directory = "/var/opt/SUNWam/idm/flatfiles"; field in class:FilesRepo
188 // Get the directory to store the identity information
191 directory = (String) set.iterator().next();
193 initDir(directory);
253 debug.message("FlatFiles: Root dir: " + directory
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/
H A DUninstaller.java1262 // Just tell that the file/directory does not exist.
1323 private boolean equalsOrDescendant(File file, File directory) { argument
1324 return file.equals(directory) || isDescendant(file, directory);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/admin/
H A DClassLoaderProvider.java123 /** The name of the lib directory. */
126 /** The name of the extensions directory. */
230 // First load the extension from the install directory, then from the instance directory.
241 private File buildExtensionPath(String directory) { argument
242 File libDir = new File(directory, LIB_DIR);
453 // The extensions directory does not exist. This is not a critical problem.
459 // The extensions directory is not a directory. This is more critical.
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/api/
H A DDiskSpaceMonitorHandler.java44 * @param directory the directory for which the threshold has been triggered
47 void diskLowThresholdReached(File directory, long thresholdInBytes); argument
52 * @param directory the directory for which the threshold has been triggered
55 void diskFullThresholdReached(File directory, long thresholdInBytes); argument
60 * @param directory the directory for which the threshold has been triggeredTODO
65 void diskSpaceRestored(File directory, long lowThresholdInBytes, long fullThresholdInBytes); argument
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/backends/
H A DBackupBackend.java65 * be arranged in a hierarchy based on the directory that contains them, and
67 * unknown backup directory is included in the base DN.
94 * cache the BackupDirectory for each directory using this class.
98 /** The path to the 'bak' directory. */
113 * @param directory Path to the backup directory itself.
115 public CachedBackupDirectory(File directory) argument
117 directoryPath = directory.getPath();
129 * @throws ConfigException If the contents of the descriptor file cannot be parsed to create a backup directory
290 // backup directory
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/
H A DJEStorage.java877 /** Root directory where all files are located. */
1041 // restore is done in an intermediate directory
1048 // intermediate directory content is moved to database directory
1168 // Create the directory if it doesn't exist.
1229 public void diskFullThresholdReached(File directory, long thresholdInBytes) { argument
1230 storageStatus = statusWhenDiskSpaceFull(directory, thresholdInBytes, config.getBackendId());
1234 public void diskLowThresholdReached(File directory, long thresholdInBytes) { argument
1235 storageStatus = statusWhenDiskSpaceLow(directory, thresholdInBytes, config.getBackendId());
1239 public void diskSpaceRestored(File directory, lon argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/backends/pdb/
H A DPDBStorage.java1027 // restore is done in an intermediate directory
1034 // intermediate directory content is moved to database directory
1234 // Create the directory if it doesn't exist.
1295 public void diskFullThresholdReached(File directory, long thresholdInBytes) { argument
1296 storageStatus = statusWhenDiskSpaceFull(directory, thresholdInBytes, config.getBackendId());
1300 public void diskLowThresholdReached(File directory, long thresholdInBytes) { argument
1301 storageStatus = statusWhenDiskSpaceLow(directory, thresholdInBytes, config.getBackendId());
1305 public void diskSpaceRestored(File directory, long lowThresholdInBytes, long fullThresholdInBytes) { argument
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/
H A DStorageUtils.java49 * Returns a database directory file from the provided parent database directory and backendId.
51 * @param parentDbDirectory the parent database directory
53 * @return a database directory file where to store data for the provided backendId
63 * @param backendDir the backend directory where to set the storage files
64 * @param dbDirPermissions the permissions to set for the database directory
90 * Checks a directory exists or can actually be created.
92 * @param backendDir the directory to check for
94 * @param cleanup true if the directory should be deleted after creation
116 * Returns false if directory permission
231 statusWhenDiskSpaceFull(File directory, long thresholdInBytes, String backendId) argument
245 statusWhenDiskSpaceLow(File directory, long thresholdInBytes, String backendId) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/core/
H A DSchemaConfigManager.java89 * Retrieves the path to the directory containing the server schema files.
91 * @return The path to the directory containing the server schema files.
172 public boolean accept(File directory, String filename) argument
183 * server schema files. These files will be located in a single directory and
199 // Construct the path to the directory that should contain the schema files
200 // and make sure that it exists and is a directory. Get a list of the files
201 // in that directory sorted in alphabetic order.
H A DSchemaHandler.java64 * <li>Load all schema files located in the schema directory.</li>
187 * Retrieves the path to the directory containing the server schema files.
189 * @return The path to the directory containing the server schema files.
248 /** Returns the list of names of schema files contained in the provided directory. */
368 public boolean accept(File directory, String filename) argument
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/extensions/
H A DDiskSpaceMonitor.java83 private volatile File directory; field in class:DiskSpaceMonitor.MonitoredDirectory
91 private MonitoredDirectory(File directory, String instanceName, String baseName, DiskSpaceMonitorHandler handler) argument
93 this.directory = directory;
115 monitorAttrs.add(attr("disk-dir", getDefaultStringSyntax(), directory.getPath()));
122 return directory;
126 return directory.getUsableSpace();
169 * One object per directory per state will hold all the handlers matching directory and state.
172 private File directory; field in class:DiskSpaceMonitor.HandlerNotifier
178 HandlerNotifier(File directory, int state) argument
266 registerMonitoredDirectory(String instanceName, File directory, long lowThresholdBytes, long fullThresholdBytes, DiskSpaceMonitorHandler handler) argument
307 getMountPoint(File directory) argument
335 deregisterMonitoredDirectory(File directory, DiskSpaceMonitorHandler handler) argument
[all...]
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/record/
H A DDebugTestTemplate.java49 //use the current test directory. You can modify it for debugging purpose
88 * Check if a directory exist
90 * @param directory directory
93 protected boolean isDirectoryExist(String directory) { argument
94 String fullPath = debugDirectory + File.separator + directory;
115 //directory is empty, then delete it
123 //list all the directory contents
134 //check the directory again, if empty then delete it
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/server/changelog/file/
H A DReplicationEnvironment.java74 * A changelog has a root directory, under which the following directories and files are
77 * <li>A "changenumberindex" directory containing the log files for
81 * id is used to name the corresponding domain directory.</li>
82 * <li>One directory per domain, named after "[id].domain" where [id] is the id
86 * Each domain directory contains the following directories and files :
89 * <li>One directory per server id, named after "[id].server" where [id] is the
92 * Each server id directory contains the following files :
226 * Maps each domain DN to a domain id that is used to name directory in file system.
786 * Retrieve the generation id from the provided directory.
791 private String retrieveGenerationId(final File directory) argument
810 retrieveGenerationIdFile(final File directory) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/util/
H A DBackupManager.java1047 * Restore the provided list of files from the provided restore directory.
1049 * The target directory for restored files.
1263 * The backup is stored in a single zip file in the backup directory.
1362 * @param backupDir The backup directory structure with which the
1416 * The directory in which files are to be restored.
1452 * Get the information for a given backup ID from the backup directory.
1454 * @param backupDir The backup directory.
1472 * under the provided directory.
1474 * @param directory
1475 * The directory containin
1484 getFiles(File directory, FileFilter filter, String identifier) argument
[all...]
/forgerock/openam-v13/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/util/
H A DFileUtils.java117 * Method copyJarFile to destination directory
205 * Method removeDir. All the files in the directory will be removed
207 * @param directory
208 * to be removed. @ return true if the directory is deleted. False other
214 // Delete the contents of the directory!
229 // Now delete the directory!
231 Debug.log("FileUtils.removeDir() Unable to delete directory: "
240 * Method removeJarFiles. jar files will be removed from source directory
242 * @param srcDir - Source directory
259 * Method removeFiles. All the files existing in source directory
385 isDirValid(String directory) argument
[all...]
/forgerock/opendj-v3/opendj-config/src/main/java/org/forgerock/opendj/config/
H A DConfigurationFramework.java130 /** The name of the lib directory. */
133 /** The name of the extensions directory. */
199 * and the current working directory as the install and instance path.
481 // First load the extension from the install directory, then
482 // from the instance directory.
493 private File buildExtensionPath(String directory) { argument
494 File libDir = new File(directory, LIB_DIR);
516 // The extensions directory does not exist. This is not a critical problem.
522 // The extensions directory is not a directory
[all...]
/forgerock/web-agents-v4/source/
H A Dadmin_iis.c715 fprintf(stderr, "Failed to locate Windows directory.\n");
1341 int add_directory_acl(char *site_id, char *directory, char *user) { argument
1350 if (ISINVALID(directory)) {
1359 rv = GetNamedSecurityInfo(directory, SE_FILE_OBJECT, DACL_SECURITY_INFORMATION,
1378 rv = SetNamedSecurityInfo(directory, SE_FILE_OBJECT, DACL_SECURITY_INFORMATION,
1421 int add_directory_acl(char *site_id, char *directory, char *user) { argument
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/util/
H A DBackupManagerTestCase.java80 // - a mock of a backupable (building the mock also involves creating directory and files to backup)
162 // change content of directory to later check that backup is recovering everything
213 // change content of directory to later check that backup is recovering everything
234 File directory = TestCaseUtils.createTemporaryDirectory("createDirectory-");
235 String dirPath = directory.getAbsolutePath();
236 // delete the directory to ensure creation works fine when there is no directory
237 directory.delete();
259 // all files should have been saved in the target directory, with correct sub-path
306 Reporter.log("Create backup directory
351 createFilesInDirectoryToBackup(Path directory, int numberOfFiles) argument
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/idm/plugins/files/
H A DFilesRepo.java85 * <code>java.io.File</code> classes. The directory structure is organized as
86 * follows: The root directory is specified by the instance configuration
89 * Under the root directory are sub-directories for each identity type (i.e.,
101 // Root directory
142 // Default directory to store identity data
143 private String directory = "/var/opt/SUNWam/idm/flatfiles"; field in class:FilesRepo
190 // Get the directory to store the identity information
193 directory = (String) set.iterator().next();
195 initDir(directory);
255 debug.message("FlatFiles: Root dir: " + directory
[all...]
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/setup/
H A DZipUtils.java43 * Creates a zip file containing the {@literal directory} and its sub-files, including the
44 * directory itself.
46 * @param directory The source directory which will be zipped.
50 public void zipDirectory(File directory, File destination) throws IOException { argument
51 File[] files = directory.listFiles();
53 throw new IOException("Failed to list contents of: " + directory);
57 zipFile(outputStream, file, (directory.getParentFile().getPath() + File.separator).length());
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/setup/
H A DTestSetupHelper.java40 * @param destinationDirectory The extract directory.
59 public FileVisitResult preVisitDirectory(Path directory, BasicFileAttributes attributes)
61 Path directoryToCreate = Paths.get(destinationDirectory.toString(), directory.toString());
72 * Deletes the given {@literal directory} from the file system.
74 * @param directory The directory to delete.
75 * @throws IOException If the directory could not be deleted.
77 public static void deleteDirectory(File directory) throws IOException { argument
78 if (!directory.exists()) {
81 Files.walkFileTree(directory
[all...]
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/record/
H A DDebugTestTemplate.java49 //use the current test directory. You can modify it for debugging purpose
88 * Check if a directory exist
90 * @param directory directory
93 protected boolean isDirectoryExist(String directory) { argument
94 String fullPath = debugDirectory + File.separator + directory;
115 //directory is empty, then delete it
123 //list all the directory contents
134 //check the directory again, if empty then delete it
/forgerock/openam/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/util/
H A DFileUtils.java116 * Method copyJarFile to destination directory
205 * Method removeDir. All the files in the directory will be removed
208 * to be removed. @ return true if the directory is deleted. False other
214 // Delete the contents of the directory!
229 // Now delete the directory!
231 Debug.log("FileUtils.removeDir() Unable to delete directory: "
240 * Method removeJarFiles. jar files will be removed from source directory
242 * @param srcDir - Source directory
259 * Method removeFiles. All the files existing in source directory
262 * @param srcDir - Source directory t
385 isDirValid(String directory) argument
[all...]

Completed in 131 milliseconds

1234