Class Dockerfile.FileInstruction<T extends Dockerfile.File>
java.lang.Object
com.bmuschko.gradle.docker.tasks.image.Dockerfile.FileInstruction<T>
- All Implemented Interfaces:
Dockerfile.Instruction
- Direct Known Subclasses:
Dockerfile.AddFileInstruction
,Dockerfile.CopyFileInstruction
- Enclosing class:
- Dockerfile
public abstract static class Dockerfile.FileInstruction<T extends Dockerfile.File>
extends Object
implements Dockerfile.Instruction
An instruction whose value is a Dockerfile.File.
-
Constructor Details
-
FileInstruction
-
FileInstruction
-
-
Method Details
-
getFile
-
getText
Gets the full text of the instruction as used in the Dockerfile.- Specified by:
getText
in interfaceDockerfile.Instruction
- Returns:
- The instruction
-