Class SystemFeatures
java.lang.Object
com.evolveum.midpoint.repo.common.subscription.SystemFeatures
- All Implemented Interfaces:
DebugDumpable
,Serializable
The system features related to the subscription handling. Used e.g. to determine if we run in the production mode.
Or if we use a generic production database.
- See Also:
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Are there SMTP or SMS notifications configured, without being redirected to a file?debugDump
(int indent) static SystemFeatures
error()
Fallback values to be used in the case of an error.boolean
Is the clustering enabled in the task manager configuration?boolean
Custom logging currently means "using an appender other than the file-based one".boolean
Are we using the generic repo (other than H2)?boolean
Does the public HTTP URL pattern use secure (https) protocol?boolean
Is a header that defines the remote host (like `X-Forwarded-For`) defined? It indicates the use of a proxy.toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Method Details
-
error
Fallback values to be used in the case of an error. -
isPublicHttpsUrlPatternDefined
public boolean isPublicHttpsUrlPatternDefined()Does the public HTTP URL pattern use secure (https) protocol? -
isRemoteHostAddressHeaderDefined
public boolean isRemoteHostAddressHeaderDefined()Is a header that defines the remote host (like `X-Forwarded-For`) defined? It indicates the use of a proxy. -
isCustomLoggingDefined
public boolean isCustomLoggingDefined()Custom logging currently means "using an appender other than the file-based one". -
areRealNotificationsEnabled
public boolean areRealNotificationsEnabled()Are there SMTP or SMS notifications configured, without being redirected to a file? -
isClusteringEnabled
public boolean isClusteringEnabled()Is the clustering enabled in the task manager configuration? -
isGenericNonH2DatabaseUsed
public boolean isGenericNonH2DatabaseUsed()Are we using the generic repo (other than H2)? -
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
toString
-