Interface DiagnosticService
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy,org.jvnet.hk2.config.types.PropertyBag
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of thecaptureAppDdproperty.Gets the value of thecaptureHadbInfoproperty.Gets the value of thecaptureInstallLogproperty.Gets the value of thecaptureSystemInfoproperty.Gets the value of thecomputeChecksumproperty.default <T extends DiagnosticServiceExtension>
TgetExtensionByType(Class<T> type) Get anextensionof the specified type.@Min(0L) StringGets the value of themaxLogEntriesproperty.Gets the value of theminLogLevelproperty.List<org.jvnet.hk2.config.types.Property> Properties as perPropertyBagGets the value of theverifyConfigproperty.voidsetCaptureAppDd(String captureAppDd) Sets the value of thecaptureAppDdproperty.voidsetCaptureHadbInfo(String captureHadbInfo) Sets the value of thecaptureHadbInfoproperty.voidsetCaptureInstallLog(String captureInstallLog) Sets the value of thecaptureInstallLogproperty.voidsetCaptureSystemInfo(String captureSystemInfo) Sets the value of thecaptureSystemInfoproperty.voidsetComputeChecksum(String computeChecksum) Sets the value of thecomputeChecksumproperty.voidsetMaxLogEntries(String maxLogEntries) Sets the value of themaxLogEntriesproperty.voidsetMinLogLevel(String minLogLevel) Sets the value of theminLogLevelproperty.voidsetVerifyConfig(String verifyConfig) Sets the value of theverifyConfigproperty.Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParentMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Method Details
-
getComputeChecksum
String getComputeChecksum()Gets the value of thecomputeChecksumproperty.Boolean attribute. Indicates whether checksum of binaries is computed.
- Returns:
- possible object is
String
-
setComputeChecksum
Sets the value of thecomputeChecksumproperty.- Parameters:
computeChecksum- allowed object isString- Throws:
PropertyVetoException
-
getVerifyConfig
String getVerifyConfig()Gets the value of theverifyConfigproperty.A
Booleanattribute which indicates whether output ofverify-configasadmin command is included in the diagnostic report.- Returns:
- possible object is
String
-
setVerifyConfig
Sets the value of theverifyConfigproperty.- Parameters:
verifyConfig- allowed object isString- Throws:
PropertyVetoException
-
getCaptureInstallLog
String getCaptureInstallLog()Gets the value of thecaptureInstallLogproperty.Booleanattribute which indicated whether the log generated during installation of the application server is captured.- Returns:
- possible object is
String
-
setCaptureInstallLog
Sets the value of thecaptureInstallLogproperty.- Parameters:
captureInstallLog- allowed object isString- Throws:
PropertyVetoException
-
getCaptureSystemInfo
String getCaptureSystemInfo()Gets the value of thecaptureSystemInfoproperty.Booleanattribute which specifies whether OS level information is collected as part of diagnostic report.- Returns:
- possible object is
String
-
setCaptureSystemInfo
Sets the value of thecaptureSystemInfoproperty.- Parameters:
captureSystemInfo- allowed object isString- Throws:
PropertyVetoException
-
getCaptureHadbInfo
String getCaptureHadbInfo()Gets the value of thecaptureHadbInfoproperty.Booleanattribute to indicate if HADB related information is collected.- Returns:
- possible object is
String
-
setCaptureHadbInfo
Sets the value of thecaptureHadbInfoproperty.- Parameters:
captureHadbInfo- allowed object isString- Throws:
PropertyVetoException
-
getCaptureAppDd
String getCaptureAppDd()Gets the value of thecaptureAppDdproperty.Booleanattribute. Iftrue, application deployment descriptors in plain text are captured as part of diagnostic report. If Deployment descriptors contain any confidential information, it's recommended to set it tofalse.- Returns:
- possible object is
String
-
setCaptureAppDd
Sets the value of thecaptureAppDdproperty.- Parameters:
captureAppDd- allowed object isString- Throws:
PropertyVetoException
-
getMinLogLevel
String getMinLogLevel()Gets the value of theminLogLevelproperty.The log levels can be changed using one of the seven levels. Please refer JSR 047 to understand the Log Levels. The default level is
INFO, meaning that messages at that level or higher (WARNING,SEVERE) are captured as part of the diagnostic report. If set toOFF, log contents will not be captured as part of diagnostic report.- Returns:
- possible object is
String
-
setMinLogLevel
Sets the value of theminLogLevelproperty.- Parameters:
minLogLevel- allowed object isString- Throws:
PropertyVetoException
-
getMaxLogEntries
Gets the value of themaxLogEntriesproperty.Max number of log entries being captured as part of diagnostic report. A non-negative value.
- Returns:
- possible object is
String
-
setMaxLogEntries
Sets the value of themaxLogEntriesproperty.- Parameters:
maxLogEntries- allowed object isString- Throws:
PropertyVetoException
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<org.jvnet.hk2.config.types.Property> getProperty()Properties as perPropertyBag- Specified by:
getPropertyin interfaceorg.jvnet.hk2.config.types.PropertyBag
-
getExtensions
List<DiagnosticServiceExtension> getExtensions() -
getExtensionByType
Get anextensionof the specified type.If there is more than one, it is undefined as to which one is returned.
-