Interface DiagnosticService
-
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy,org.jvnet.hk2.config.types.PropertyBag
public interface DiagnosticService extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDiagnosticService.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCaptureAppDd()Gets the value of the captureAppDd property.StringgetCaptureHadbInfo()Gets the value of the captureHadbInfo property.StringgetCaptureInstallLog()Gets the value of the captureInstallLog property.StringgetCaptureSystemInfo()Gets the value of the captureSystemInfo property.StringgetComputeChecksum()Gets the value of the computeChecksum property.<T extends DiagnosticServiceExtension>
TgetExtensionByType(Class<T> type)List<DiagnosticServiceExtension>getExtensions()@Min(0L) StringgetMaxLogEntries()Gets the value of the maxLogEntries property.StringgetMinLogLevel()Gets the value of the minLogLevel property.List<org.jvnet.hk2.config.types.Property>getProperty()Properties as perPropertyBagStringgetVerifyConfig()Gets the value of the verifyConfig property.voidsetCaptureAppDd(String value)Sets the value of the captureAppDd property.voidsetCaptureHadbInfo(String value)Sets the value of the captureHadbInfo property.voidsetCaptureInstallLog(String value)Sets the value of the captureInstallLog property.voidsetCaptureSystemInfo(String value)Sets the value of the captureSystemInfo property.voidsetComputeChecksum(String value)Sets the value of the computeChecksum property.voidsetMaxLogEntries(String value)Sets the value of the maxLogEntries property.voidsetMinLogLevel(String value)Sets the value of the minLogLevel property.voidsetVerifyConfig(String value)Sets the value of the verifyConfig property.
-
-
-
Method Detail
-
getComputeChecksum
String getComputeChecksum()
Gets the value of the computeChecksum property. \Boolean attribute. Indicates whether checksum of binaries is computed.- Returns:
- possible object is
String
-
setComputeChecksum
void setComputeChecksum(String value) throws PropertyVetoException
Sets the value of the computeChecksum property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getVerifyConfig
String getVerifyConfig()
Gets the value of the verifyConfig property. A boolean attribute which indicates whether output of verify-config asadmin command is included in the diagnostic report.- Returns:
- possible object is
String
-
setVerifyConfig
void setVerifyConfig(String value) throws PropertyVetoException
Sets the value of the verifyConfig property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getCaptureInstallLog
String getCaptureInstallLog()
Gets the value of the captureInstallLog property. Boolean attribute which indicated whether the log generated during installation of the application server is captured.- Returns:
- possible object is
String
-
setCaptureInstallLog
void setCaptureInstallLog(String value) throws PropertyVetoException
Sets the value of the captureInstallLog property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getCaptureSystemInfo
String getCaptureSystemInfo()
Gets the value of the captureSystemInfo property. Boolean attribute which specifies whether OS level information is collected as part of diagnostic report.- Returns:
- possible object is
String
-
setCaptureSystemInfo
void setCaptureSystemInfo(String value) throws PropertyVetoException
Sets the value of the captureSystemInfo property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getCaptureHadbInfo
String getCaptureHadbInfo()
Gets the value of the captureHadbInfo property. Boolean attribute to indicate if HADB related information is collected.- Returns:
- possible object is
String
-
setCaptureHadbInfo
void setCaptureHadbInfo(String value) throws PropertyVetoException
Sets the value of the captureHadbInfo property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getCaptureAppDd
String getCaptureAppDd()
Gets the value of the captureAppDd property. Boolean attribute. If "true", 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 to false- Returns:
- possible object is
String
-
setCaptureAppDd
void setCaptureAppDd(String value) throws PropertyVetoException
Sets the value of the captureAppDd property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getMinLogLevel
String getMinLogLevel()
Gets the value of the minLogLevel property. 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 to OFF, log contents will not be captured as part of diagnostic report.- Returns:
- possible object is
String
-
setMinLogLevel
void setMinLogLevel(String value) throws PropertyVetoException
Sets the value of the minLogLevel property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getMaxLogEntries
@Min(0L) @Min(0L) String getMaxLogEntries()
Gets the value of the maxLogEntries property. Max no. of log entries being captured as part of diagnostic report. A non negative value.- Returns:
- possible object is
String
-
setMaxLogEntries
void setMaxLogEntries(String value) throws PropertyVetoException
Sets the value of the maxLogEntries property.- Parameters:
value- 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
@DuckTyped <T extends DiagnosticServiceExtension> T getExtensionByType(Class<T> type)
-
-