Class Dockerfile.HealthcheckInstruction
java.lang.Object
com.bmuschko.gradle.docker.tasks.image.Dockerfile.HealthcheckInstruction
- All Implemented Interfaces:
Dockerfile.Instruction
- Enclosing class:
Dockerfile
public static class Dockerfile.HealthcheckInstruction
extends Object
implements Dockerfile.Instruction
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHealthcheckInstruction(Dockerfile.Healthcheck healthcheck) HealthcheckInstruction(Provider<Dockerfile.Healthcheck> provider) -
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.
-
Field Details
-
KEYWORD
- See Also:
-
-
Constructor Details
-
HealthcheckInstruction
-
HealthcheckInstruction
-
-
Method Details
-
getKeyword
Description copied from interface:Dockerfile.InstructionGets the keyword of the instruction as used in the Dockerfile.For example the keyword of the
Dockerfile.FromInstructionisFROM.- Specified by:
getKeywordin interfaceDockerfile.Instruction- Returns:
- The instruction keyword
-
getText
Description copied from interface:Dockerfile.InstructionGets the full text of the instruction as used in the Dockerfile.- Specified by:
getTextin interfaceDockerfile.Instruction- Returns:
- The instruction
-