public class LocalDeploymentFileRepository extends Object implements DeploymentFileRepository
Constructor and Description |
---|
LocalDeploymentFileRepository(File deploymentRoot) |
Modifier and Type | Method and Description |
---|---|
void |
deleteDeployment(ContentReference reference)
Deletes a deployment from the local file system
|
File[] |
getDeploymentFiles(ContentReference reference)
Get the files associated with a given deployment.
|
File |
getDeploymentRoot(ContentReference reference)
Gets the directory under which files associated with a given deployment
would be found.
|
public LocalDeploymentFileRepository(File deploymentRoot)
public File[] getDeploymentFiles(ContentReference reference)
getDeploymentFiles
in interface DeploymentFileRepository
reference
- the reference of the deployment content.null
if it is not foundpublic File getDeploymentRoot(ContentReference reference)
getDeploymentRoot
in interface DeploymentFileRepository
reference
- the reference of the deployment content.null
, even if the
deployment is unknownpublic void deleteDeployment(ContentReference reference)
DeploymentFileRepository
deleteDeployment
in interface DeploymentFileRepository
reference
- the reference of the deployment content.Copyright © 2023 JBoss by Red Hat. All rights reserved.