@ CheckForNull public RestartPolicy getRestartPolicy ( ) { if ( isNull ( policyName ) ) return null ; return RestartPolicy . parse ( String . format ( "%s:%d" , policyName . toString ( ) . toLowerCase ( Locale . ENGLISH ) . replace ( "_" , "-" ) , getMaximumRetryCount ( ) ) ) ; }
runtime ABI dependency on docker - java