static class Dockerfile.CopyFile extends File
Input data for a CopyFileInstruction.
| Fields inherited from class | Fields |
|---|---|
class File |
separatorChar, separator, pathSeparatorChar, pathSeparator |
| 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 |
equals, length, toString, hashCode, compareTo, compareTo, getName, list, list, getParent, isAbsolute, delete, setReadOnly, canRead, getPath, toURI, toURL, 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, wait, wait, wait, getClass, notify, notifyAll |
Used to set the source location to a previous build stage.
The - previous stage