| Package | Description |
|---|---|
| org.rhq.core.util.updater |
| Modifier and Type | Class and Description |
|---|---|
class |
ChangesFileHashcodeMap
Same as a
FileHashcodeMap but also holds additional data about
changes that were detected after a rescan(java.io.File, java.util.regex.Pattern, boolean). |
| Modifier and Type | Method and Description |
|---|---|
FileHashcodeMap |
Deployer.deploy(DeployDifferences diff)
Convienence method that is equivalent to
deploy(diff, false). |
FileHashcodeMap |
Deployer.deploy(DeployDifferences diff,
boolean clean,
boolean dryRun)
Deploys all files to their destinations.
|
FileHashcodeMap |
Deployer.dryRun(DeployDifferences diff)
Convienence method that is equivalent to
deploy(diff, true). |
static FileHashcodeMap |
FileHashcodeMap.generateFileHashcodeMap(File rootDir,
Pattern ignoreRegex,
Set<String> ignored)
Given a directory, this will recursively traverse that directory's files/subdirectories and
generate the hashcode map for all files it encounters and add that data to the given map.
|
FileHashcodeMap |
DeploymentsMetadata.getCurrentDeploymentFileHashcodes()
Returns the files and their hashcodes for the current deployment.
|
FileHashcodeMap |
DeploymentsMetadata.getDeploymentFileHashcodes(int deploymentId)
Returns the files and their hashcodes for the given deployment.
|
FileHashcodeMap |
ExtractorZipFileVisitor.getFileHashcodeMap()
Returns the file/hashcode data this visitor has collected.
|
FileHashcodeMap |
InMemoryZipFileVisitor.getFileHashcodeMap()
Returns the file/hashcode data this visitor has collected.
|
static FileHashcodeMap |
FileHashcodeMap.loadFromFile(File file)
Loads in the file that contains file/hashcode map data.
|
FileHashcodeMap |
Deployer.redeployAndRestoreBackupFiles(DeployDifferences diff,
boolean clean,
boolean dryRun)
This will first perform a deploy (e.g.
|
FileHashcodeMap |
DeploymentsMetadata.snapshotLiveDeployment(DeploymentProperties deploymentProps,
Pattern ignoreRegex,
Set<String> ignored)
Looks at the live deployment and takes a snapshot of it and stores its metadata in its appropriate
deployment metadata directory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DeploymentsMetadata.setCurrentDeployment(DeploymentProperties deploymentProps,
FileHashcodeMap fileHashcodeMap,
boolean rememberPrevious)
Call this when you already know the properties, and files/hashcodes for the current live deployment.
|
| Constructor and Description |
|---|
ChangesFileHashcodeMap(FileHashcodeMap original)
Creates an file/hashcode map populated with a map of original file data.
|
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.