-
public final class Status extends InstanceService
Allows to obtain instance status. Uses statuses available at Apache Felix Web Console.
-
-
Field Summary
Fields Modifier and Type Field Description private final Property<String>reachablePathprivate final Booleanreachableprivate final Property<String>authorizablePathprivate final Booleanavailableprivate final Map<String, String>systemPropertiesprivate final Map<String, String>slingSettingsprivate final Map<String, String>slingPropertiesprivate final StringproductVersionprivate final AemExtensionaemprivate final Instanceinstanceprivate final Projectprojectprivate final CommonExtensioncommonprivate final Loggerloggerprivate final InstanceSyncsync
-
Constructor Summary
Constructors Constructor Description Status(InstanceSync sync)
-
Method Summary
Modifier and Type Method Description final BooleancheckReachable()final IntegercheckReachableStatus()Check instance reachable status code. final BooleancheckUnauthorized()Check if instance started authorizes requests with target credentials. final BooleancheckAvailable()On-demand checks instance availability. final StringreadProductVersion()Read AEM version of instance. final Map<String, String>readPropertiesOnce(String path)final Map<String, String>readProperties(String path)Read system properties like server timezone & encoding, Java version, OS details. final Property<String>getReachablePath()Path used to check instance reachability. final BooleangetReachable()final Property<String>getAuthorizablePath()Path used to check instance auth. final BooleangetAvailable()final Map<String, String>getSystemProperties()final Map<String, String>getSlingSettings()final Map<String, String>getSlingProperties()final StringgetProductVersion()final AemExtensiongetAem()final InstancegetInstance()final ProjectgetProject()final CommonExtensiongetCommon()final LoggergetLogger()final InstanceSyncgetSync()-
-
Constructor Detail
-
Status
Status(InstanceSync sync)
-
-
Method Detail
-
checkReachable
final Boolean checkReachable()
-
checkReachableStatus
final Integer checkReachableStatus()
Check instance reachable status code.
-
checkUnauthorized
final Boolean checkUnauthorized()
Check if instance started authorizes requests with target credentials.
-
checkAvailable
final Boolean checkAvailable()
On-demand checks instance availability.
-
readProductVersion
final String readProductVersion()
Read AEM version of instance.
-
readPropertiesOnce
final Map<String, String> readPropertiesOnce(String path)
-
readProperties
final Map<String, String> readProperties(String path)
Read system properties like server timezone & encoding, Java version, OS details.
-
getReachablePath
final Property<String> getReachablePath()
Path used to check instance reachability.
-
getReachable
final Boolean getReachable()
-
getAuthorizablePath
final Property<String> getAuthorizablePath()
Path used to check instance auth.
-
getAvailable
final Boolean getAvailable()
-
getSystemProperties
final Map<String, String> getSystemProperties()
-
getSlingSettings
final Map<String, String> getSlingSettings()
-
getSlingProperties
final Map<String, String> getSlingProperties()
-
getProductVersion
final String getProductVersion()
-
getAem
final AemExtension getAem()
-
getInstance
final Instance getInstance()
-
getProject
final Project getProject()
-
getCommon
final CommonExtension getCommon()
-
getSync
final InstanceSync getSync()
-
-
-
-