Class SetDockerContainerIdCommand
- java.lang.Object
-
- fish.payara.docker.instance.admin.SetDockerContainerIdCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="_set-docker-container-id") @PerLookup @ExecuteOn(DAS) public class SetDockerContainerIdCommand extends Object implements AdminCommand
Internal Asadmin command that sets the Docker container ID registered to an instance. This is used by the Docker entrypoint script to register a container ID against a newly created instance.- Author:
- Andrew Pielage
-
-
Constructor Summary
Constructors Constructor Description SetDockerContainerIdCommand()
-
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
-
-