Input data for a CopyFileInstruction.
| Fields inherited from class | Fields |
|---|---|
class File |
separatorChar, separator, pathSeparatorChar, pathSeparator |
| Constructor and description |
|---|
Dockerfile.CopyFile
(String src, String dest) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
String |
getStage()Returns the previous build stage. |
|
Dockerfile.CopyFile |
withStage(String stage)Used to set the source location to a previous build stage. |
| Methods inherited from class | Name |
|---|---|
class File |
getParentFile, getAbsolutePath, getAbsoluteFile, getCanonicalPath, getCanonicalFile, isDirectory, canWrite, exists, isFile, isHidden, lastModified, createNewFile, deleteOnExit, listFiles, listFiles, listFiles, mkdir, mkdirs, renameTo, setLastModified, setWritable, setWritable, setReadable, setReadable, setExecutable, setExecutable, canExecute, listRoots, getTotalSpace, getFreeSpace, getUsableSpace, createTempFile, createTempFile, toPath, equals, length, toString, hashCode, compareTo, compareTo, getName, list, list, getParent, isAbsolute, delete, setReadOnly, canRead, getPath, toURI, toURL, wait, wait, wait, getClass, notify, notifyAll |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Used to set the source location to a previous build stage.
The - previous stage