@ Override public DockerComputerLauncher getPreparedLauncher ( String cloudId , DockerSlaveTemplate template , InspectContainerResponse containerInspectResponse ) { final DockerComputerJNLPLauncher cloneJNLPlauncher = new DockerComputerJNLPLauncher ( ) ; cloneJNLPlauncher . setLaunchTimeout ( getLaunchTimeout ( ) ) ; cloneJNLPlauncher . setUser ( getUser ( ) ) ; cloneJNLPlauncher . setJvmOpts ( getJvmOpts ( ) ) ; cloneJNLPlauncher . setSlaveOpts ( getSlaveOpts ( ) ) ; cloneJNLPlauncher . setJenkinsUrl ( getJenkinsUrl ( ) ) ; cloneJNLPlauncher . setNoCertificateCheck ( isNoCertificateCheck ( ) ) ; cloneJNLPlauncher . setNoReconnect ( isNoReconnect ( ) ) ; return cloneJNLPlauncher ; }
Clone object .