public class DeploymentArtifact extends Object
File artifact to be deployed to a remote server,
optionally at a specific File or destination.
Copyright (c) 2014. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
| Constructor and Description |
|---|
DeploymentArtifact(File sourceFile)
Constructs a
DeploymentArtifact (without a specific destination). |
DeploymentArtifact(File sourceFile,
File destinationFile)
Constructs a
DeploymentArtifact. |
| Modifier and Type | Method and Description |
|---|---|
File |
getDestinationFile()
Obtains the desired location to which the
source
File should be deployed remotely. |
File |
getSourceFile()
Obtains the source
File to be deployed. |
String |
toString() |
public DeploymentArtifact(File sourceFile)
DeploymentArtifact (without a specific destination).sourceFile - the source Filepublic DeploymentArtifact(File sourceFile, File destinationFile)
DeploymentArtifact.public File getSourceFile()
File to be deployed.Filepublic File getDestinationFile()
File should be deployed remotely.File or null if the destination
location has not been specified (which means a default will be used)Copyright © 2017. All rights reserved.