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 TypeMethodDescriptionbooleanAre there SMTP or SMS notifications configured, without being redirected to a file?debugDump(int indent) static SystemFeatureserror()Fallback values to be used in the case of an error.booleanIs the clustering enabled in the task manager configuration?booleanCustom logging currently means "using an appender other than the file-based one".booleanAre we using the generic repo?booleanDoes the public HTTP URL pattern use secure (https) protocol?booleanIs a header that defines the remote host (like `X-Forwarded-For`) defined?toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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? -
isGenericDatabaseUsed
public boolean isGenericDatabaseUsed()Are we using the generic repo? -
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-
toString
-