com.ibm.ws.performance.tuning.rule
Class RuleOutput
- java.lang.Object
com.ibm.ws.performance.tuning.rule.RuleOutput
All implemented interfaces:
java.io.Serializable
- public class RuleOutput
- extends java.lang.Object
- implements java.io.Serializable
See Also:
Constructor Summary
Constructor and Description |
---|
RuleOutput(int type,com.ibm.ws.performance.tuning.rule.MessageWrapper msg,com.ibm.ws.performance.tuning.rule.MessageWrapper sym,SuggestedConfig[] cfg)
|
RuleOutput(java.lang.String title,com.ibm.websphere.pmi.client.PerfDescriptor myDD,int type,com.ibm.ws.performance.tuning.rule.MessageWrapper msg,com.ibm.ws.performance.tuning.rule.MessageWrapper[] syms,SuggestedConfig[] cfg)
|
RuleOutput(java.lang.String title,com.ibm.websphere.pmi.client.PerfDescriptor myDD,int type,com.ibm.ws.performance.tuning.rule.MessageWrapper msg,com.ibm.ws.performance.tuning.rule.MessageWrapper sym,SuggestedConfig[] cfg)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
addAdditionalInformation(com.ibm.ws.performance.tuning.rule.MessageWrapper sym)
|
|
addSympton(com.ibm.ws.performance.tuning.rule.MessageWrapper sym)
|
|
getAction()
Returns the action that an user should take to resolve the problem.
|
|
getAdditionalInformation()
Returns additional information, if any.
|
|
getDescription()
Returns the detailed description of the Rule Output.
|
|
getMessage()
Returns the message of the Rule Output.
|
|
getMessageArgs()
|
|
getMessageId()
|
|
getName()
Returns the name of the Rule.
|
|
getNodeName()
|
|
getOutputType()
Returns the type of the Rule Output.
|
|
getPerfDescriptor()
Returns the stats module representation.
|
|
getServerName()
|
getSuggestedCfg()
Returns the suggested configuration changes, if any, to resolve the problem.
|
|
|
getSymptoms()
Returns the symptoms which resulted in the advise output.This returns an array of strings containing the message.
|
|
setLocale(java.util.Locale locale)
Set the Locale of the Rule Output.
|
|
toString()
Returns the RuleOutput as a string for debug.
|
|
updateOutputType(int type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
RuleOutput
- public RuleOutput(int type,
- com.ibm.ws.performance.tuning.rule.MessageWrapper msg,
- com.ibm.ws.performance.tuning.rule.MessageWrapper sym,
- SuggestedConfig[] cfg)
RuleOutput
- public RuleOutput(java.lang.String title,
- com.ibm.websphere.pmi.client.PerfDescriptor myDD,
- int type,
- com.ibm.ws.performance.tuning.rule.MessageWrapper msg,
- com.ibm.ws.performance.tuning.rule.MessageWrapper sym,
- SuggestedConfig[] cfg)
RuleOutput
- public RuleOutput(java.lang.String title,
- com.ibm.websphere.pmi.client.PerfDescriptor myDD,
- int type,
- com.ibm.ws.performance.tuning.rule.MessageWrapper msg,
- com.ibm.ws.performance.tuning.rule.MessageWrapper[] syms,
- SuggestedConfig[] cfg)
Method Detail
setLocale
- public void setLocale(java.util.Locale locale)
Set the Locale of the Rule Output.
addSympton
- public void addSympton(com.ibm.ws.performance.tuning.rule.MessageWrapper sym)
getName
- public java.lang.String getName( )
Returns the name of the Rule.
getPerfDescriptor
- public com.ibm.websphere.pmi.client.PerfDescriptor getPerfDescriptor( )
Returns the stats module representation.
getOutputType
- public int getOutputType()
Returns the type of the Rule Output.
For example 101=NO_PROBLEM, 102=WARNING, 103=ALERT, 104=ALERT, 105=CONFIG_ALERT, 106=CANCEL_ALERT, 108=FATAL.
updateOutputType
- public void updateOutputType(int type)
getMessage
- public java.lang.String getMessage( )
Returns the message of the Rule Output.
getMessageId
- public java.lang.String getMessageId( )
getMessageArgs
- public java.lang.Object[] getMessageArgs( )
getDescription
- public java.lang.String getDescription( )
Returns the detailed description of the Rule Output.
getAction
- public java.lang.String getAction( )
Returns the action that an user should take to resolve the problem.
getSymptoms
- public java.lang.String[] getSymptoms( )
Returns the symptoms which resulted in the advise output.This returns an array of strings containing the message.
getSuggestedCfg
- public SuggestedConfig[] getSuggestedCfg( )
Returns the suggested configuration changes, if any, to resolve the problem.
getServerName
- public java.lang.String getServerName( )
getNodeName
- public java.lang.String getNodeName( )
getAdditionalInformation
- public java.lang.String[] getAdditionalInformation( )
Returns additional information, if any.
addAdditionalInformation
- public void addAdditionalInformation( com.ibm.ws.performance.tuning.rule.MessageWrapper sym)
toString
- public java.lang.String toString( )
Returns the RuleOutput as a string for debug.
Overrides:
toString
in class java.lang.Object