Uses of Class
net.ygbstudio.powerwp4j.models.entities.WPSiteInfo
Packages that use WPSiteInfo
Package
Description
Core entry points for WordPress automation and offline analysis.
Immutable WordPress domain entities.
-
Uses of WPSiteInfo in net.ygbstudio.powerwp4j.engine
Methods in net.ygbstudio.powerwp4j.engine with parameters of type WPSiteInfoModifier and TypeMethodDescriptionstatic @NotNull WPRestClientWPRestClient.of(WPSiteInfo siteInfo) Creates a new instance ofWPRestClientusing the providedWPSiteInfo.static @NotNull WPRestClientWPRestClient.of(WPSiteInfo siteInfo, SSLContext sslContext) Creates a new client with a custom SSL context.static @Nullable WPCacheMetaWPCacheMeta.updateCacheMeta(@NotNull WPSiteInfo siteInfo, Path cachePath, SSLContext sslContext) Updates the cache metadata by making a request to the WordPress REST API and returns an optional WPCacheMeta object.Constructors in net.ygbstudio.powerwp4j.engine with parameters of type WPSiteInfoModifierConstructorDescriptionWPCacheManager(@NotNull WPSiteInfo siteInfo, @Nullable Path cachePath, @Nullable SSLContext sslContext) Initializes a new instance of the WPCacheManager class using the providedWPSiteInfoobject and an optional cache path.WPCacheManager(@NotNull WPSiteInfo siteInfo, @Nullable SSLContext sslContext) Initializes a new instance of the WPCacheManager class using the providedWPSiteInfoobject.protectedWPRestClient(WPSiteInfo siteInfo) Creates a client with the default SSL context.protectedWPRestClient(WPSiteInfo siteInfo, SSLContext sslContext) Creates a client with a custom SSL context. -
Uses of WPSiteInfo in net.ygbstudio.powerwp4j.models.entities
Methods in net.ygbstudio.powerwp4j.models.entities that return WPSiteInfoModifier and TypeMethodDescriptionstatic @NotNull WPSiteInfoWPSiteInfo.fromConfigResource(String fileName) Loads site info from a configuration resource properties file.static @NotNull WPSiteInfoWPSiteInfo.fromEnv()Loads site info from environment variables defined inEnvironmentScope.