Class Dockerfile.MapInstruction
java.lang.Object
com.bmuschko.gradle.docker.tasks.image.Dockerfile.MapInstruction
- All Implemented Interfaces:
Dockerfile.Instruction
- Direct Known Subclasses:
Dockerfile.EnvironmentVariableInstruction
,Dockerfile.LabelInstruction
- Enclosing class:
- Dockerfile
public abstract static class Dockerfile.MapInstruction
extends Object
implements Dockerfile.Instruction
An instruction whose value is a Map.
-
Constructor Summary
ConstructorDescriptionMapInstruction
(Map<String, String> command) MapInstruction
(Provider<Map<String, String>> commandProvider) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.bmuschko.gradle.docker.tasks.image.Dockerfile.Instruction
getKeyword
-
Constructor Details
-
MapInstruction
-
MapInstruction
-
-
Method Details
-
getText
Gets the full text of the instruction as used in the Dockerfile.- Specified by:
getText
in interfaceDockerfile.Instruction
- Returns:
- The instruction
-