private TreeBuilder < ResourceMeta > baseConverter ( TreeBuilder < ResourceMeta > builder ) { if ( null != defaultConverters && defaultConverters . contains ( "StorageTimestamperConverter" ) ) { logger . debug ( "Configuring base converter: StorageTimestamperConverter" ) ; builder = builder . convert ( new StorageConverterPluginAdapter ( "builtin:timestamp" , new StorageTimestamperConverter ( ) ) ) ; } if ( null != defaultConverters && defaultConverters . contains ( "KeyStorageLayer" ) ) { logger . debug ( "Configuring base converter: KeyStorageLayer" ) ; builder = builder . convert ( new StorageConverterPluginAdapter ( "builtin:ssh-storage" , new KeyStorageLayer ( ) ) , PathUtil . asPath ( "/keys" ) ) ; } return builder ; }
Apply base converters for metadata timestamps