Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.sun.javatest.util.BackupPolicy

Packages that use BackupPolicy
com.sun.javatest | This package provides facilities for reading, executing and monitoring tests.
com.sun.javatest.util | This package contains utility classes provided in support of the Javatest test harness.

Uses of BackupPolicy in com.sun.javatest

Fields in com.sun.javatest declared as BackupPolicy
`protected BackupPolicy` | `Script.backupPolicy` A backup policy object that specifies how files should be backed up, if a file is found to exist when a new one of the same name is to be written.

Methods in com.sun.javatest that return BackupPolicy
`BackupPolicy` | `Harness.getBackupPolicy()` Get the backup policy object used by this harness, used to determine the policy for backing up files before overwriting them.
`BackupPolicy` | `InterviewParameters.getBackupPolicy()` Get the backup policy to be used when saving configuration files.
`BackupPolicy` | `TestRunner.getBackupPolicy()` Get the backup policy to be used when creating the test result files generated by this test runner.

Methods in com.sun.javatest with parameters of type BackupPolicy
`Script` | `TestSuite.createScript(TestDescription td, java.lang.String[] exclTestCases, TestEnvironment scriptEnv, WorkDirectory workDir, BackupPolicy backupPolicy)` Create and initialize a Script that can be used to run a test.
`void` | `Script.initBackupPolicy(BackupPolicy backupPolicy)` Initialize the backup policy to be used when creating a test result file in which to store the results of running this test.
`void` | `Harness.setBackupPolicy(BackupPolicy bp)` Set the backup policy object to be used by this harness, used to determine the policy for backing up files before overwriting them.
`void` | `InterviewParameters.setBackupPolicy(BackupPolicy backupPolicy)` Set the backup policy to be used when saving configuration files.
`void` | `TestResult.writeResults(WorkDirectory workDir, BackupPolicy backupPolicy)` Writes the TestResult into a version 2 jtr file.

Uses of BackupPolicy in com.sun.javatest.util

Methods in com.sun.javatest.util that return BackupPolicy
`static BackupPolicy` | `BackupPolicy.noBackups()` Get a BackupPolicy object which does no backups for any files.
`static BackupPolicy` | `BackupPolicy.simpleBackups(int n)` Get a BackupPolicy object which does a set number of backups for all files.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.