Class GetDockerContainerIdCommand
- java.lang.Object
-
- fish.payara.docker.instance.admin.GetDockerContainerIdCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="_get-docker-container-id") @PerLookup @ExecuteOn(DAS) public class GetDockerContainerIdCommand extends Object implements AdminCommand
Internal Asadmin command that retrieves the Docker container ID registered to an instance. This is used by the Docker entrypoint script to check whether it needs to create a new instance or not due to a naming conflict.- Author:
- Andrew Pielage
-
-
Constructor Summary
Constructors Constructor Description GetDockerContainerIdCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(AdminCommandContext adminCommandContext)
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values
-
-
-
Method Detail
-
execute
public void execute(AdminCommandContext adminCommandContext)
Description copied from interface:AdminCommand
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values- Specified by:
execute
in interfaceAdminCommand
- Parameters:
adminCommandContext
- information
-
-