Package adams.docker.simpledocker
Interface DockerCommand
-
- All Superinterfaces:
adams.core.command.AsyncCapableExternalCommand
,adams.core.CleanUpHandler
,adams.core.Destroyable
,adams.core.command.ExternalCommand
,adams.flow.core.FlowContextHandler
,adams.core.option.OptionHandler
,adams.core.QuickInfoSupporter
,adams.core.Stoppable
,adams.core.StoppableWithFeedback
- All Known Subinterfaces:
DockerCommandWithProgrammaticArguments
- All Known Implementing Classes:
AbstractDockerCommand
,AbstractDockerCommandWithOptions
,BuildImage
,ExecContainer
,Generic
,GenericWithArgs
,Info
,KillContainers
,ListContainers
,ListImages
,PauseContainers
,PruneContainers
,PruneImages
,Pull
,Push
,RemoveContainers
,RemoveImages
,Run
,RunWithArgs
,StartContainers
,StopContainers
public interface DockerCommand extends adams.core.command.AsyncCapableExternalCommand
Interface for docker commands.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SimpleDockerConnection
getConnection()
Returns the docker connection in use.void
setConnection(SimpleDockerConnection value)
Sets the docker connection to use.-
Methods inherited from interface adams.core.command.AsyncCapableExternalCommand
addStdErr, addStdOut, blockingTipText, getBlocking, setBlocking
-
Methods inherited from interface adams.core.command.ExternalCommand
addFormattedOutput, cleanUp, execute, generates, getLastCommand, getOutputFormatter, getOutputType, getStdErrProcessor, getStdOutProcessor, hasLastCommand, hasOutput, isExecuted, isFinished, isRunning, isUsingBlocking, output, outputFormatterTipText, outputTypeTipText, setOutputFormatter, setOutputType, setStdErrProcessor, setStdOutProcessor, stdErrProcessorTipText, stdOutProcessorTipText
-
-
-
-
Method Detail
-
setConnection
void setConnection(SimpleDockerConnection value)
Sets the docker connection to use.- Parameters:
value
- the connection
-
getConnection
SimpleDockerConnection getConnection()
Returns the docker connection in use.- Returns:
- the connection, null if none set
-
-