jlleitschuh
07/28/2017, 4:38 PMabstract class DockerExistingContainer extends AbstractDockerRemoteApiTask {
/**
* Container ID used to perform operation. The container for the provided ID has to be created first.
*/
@Internal
String containerId
void targetContainerId(Closure containerId) {
conventionMapping.containerId = containerId
}
void targetContainerId(Callable<String> containerId) {
targetContainerId { containerId.call() }
}
@Input
String getContainerId() {
containerId
}
}