Class ClientConfigHelper

java.lang.Object
org.jfrog.gradle.plugin.artifactory.utils.ClientConfigHelper

public class ClientConfigHelper extends Object
Helper to snapshot and restore ArtifactoryClientConfiguration for configuration cache compatibility. ArtifactoryClientConfiguration contains a non-serializable Log field, so we snapshot its properties (which are all Strings) and restore from them.
  • Constructor Details

    • ClientConfigHelper

      public ClientConfigHelper()
  • Method Details

    • snapshotConfig

      public static Map<String,String> snapshotConfig(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration config)
    • restoreConfig

      public static org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration restoreConfig(Map<String,String> snapshot)