Class Dockerfile.CopyFileInstruction
java.lang.Object
com.bmuschko.gradle.docker.tasks.image.Dockerfile.FileInstruction<Dockerfile.CopyFile>
com.bmuschko.gradle.docker.tasks.image.Dockerfile.CopyFileInstruction
- All Implemented Interfaces:
 Dockerfile.Instruction
- Enclosing class:
 - Dockerfile
 
public static class Dockerfile.CopyFileInstruction
extends Dockerfile.FileInstruction<Dockerfile.CopyFile>
Represents a 
COPY instruction.- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionGets the keyword of the instruction as used in the Dockerfile.getText()Gets the full text of the instruction as used in the Dockerfile.Methods inherited from class com.bmuschko.gradle.docker.tasks.image.Dockerfile.FileInstruction
getFile 
- 
Field Details
- 
KEYWORD
- See Also:
 
 
 - 
 - 
Constructor Details
- 
CopyFileInstruction
 - 
CopyFileInstruction
 
 - 
 - 
Method Details
- 
getText
Description copied from class:Dockerfile.FileInstructionGets the full text of the instruction as used in the Dockerfile.- Specified by:
 getTextin interfaceDockerfile.Instruction- Overrides:
 getTextin classDockerfile.FileInstruction<Dockerfile.CopyFile>- Returns:
 - The instruction
 
 - 
getKeyword
Gets the keyword of the instruction as used in the Dockerfile.For example the keyword of the
Dockerfile.FromInstructionisFROM.- Returns:
 - The instruction keyword
 
 
 -