Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

oracle.apps.fnd.appltest.diagfwk.engine.impl.report
Class MessageExtnImpl

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.report.ContainerExtnImpl
      extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.report.LabelExtnImpl
          extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.report.MessageExtnImpl
All Implemented Interfaces:
Container, Label, Message, ReportConstants, DiagConstants, ContainerExtn, LabelExtn, MessageExtn

public class MessageExtnImpl
extends LabelExtnImpl
implements MessageExtn

Maintains a JAXB MessageType object


Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.Message
Message.MsgType
 
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status
 
Field Summary
 
Fields inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.ReportConstants
ERROR_TYPE_DIAG, ERROR_TYPE_EXEC, MSG_ATTENTION, MSG_NORMAL, SEVERITY_CRITICAL, SEVERITY_WARNING
 
Fields inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants
APPS_MSG_ID_TAG_NAME, CFG_ADR_PROVIDER_CLASS, CFG_CACHE_PROVIDER_CLASS, CFG_CRED_PROVIDER_CLASS, CFG_DAO_FACTORY_CLASS, CFG_DB_CONN_INFO_PROVIDER_CLASS, CFG_DB_CONN_PROVIDER_CLASS, CFG_NLS_PROVIDER_CLASS, CFG_PLSQL_PROVIDER_CLASS, CFG_PROFILE_PROVIDER_CLASS, CFG_SECURITY_PROVIDER_CLASS, CFG_SESSION_INFO_PROVIDER_CLASS, CFG_URL_PROVIDER_FACTORY_CLASS, CFG_WLS_MBEANSRV_CONNINFO_PROVIDER_CLASS, DATA_SECURITY_PERMISSION_ALLOWED, DATA_SECURITY_PERMISSION_NOT_ALLOWED, DELIM_URL, EXEC_MODE_CLI, EXEC_MODE_ESS, EXEC_MODE_INCIDENT, EXEC_MODE_JAVA, EXEC_MODE_UI, EXECUTABLE_TYPE_JAVA, EXECUTABLE_TYPE_PLSQL, EXECUTABLE_TYPE_TESTREF, FORMAT_HTML, FORMAT_XML, GUID_ORACLE_MINUS1, GUID_ORACLE_ZERO, INPUTS_STATUS_ALL_OPT_INPUTS, INPUTS_STATUS_NO_INPUTS, INPUTS_STATUS_REQ_INPUTS_NO_DEFAULTS, INPUTS_STATUS_REQ_INPUTS_W_DEFAULTS, IO_FLAG_I, IO_FLAG_O, JMX_API_BASE_OBJECT_NAME, LINK_EXTERNAL, LINK_INTERNAL, LINK_METALINK, N, NLS_BUNDLE_JAVA_RES, NLS_BUNDLE_MSG_SVC, NLS_BUNDLE_RES_REF, NLS_BUNDLE_XLIFF, NO, NULL, ODF_MBEAN_DOMAIN_NAME, PARAM_MON_INTERVAL, PLSQL_DEBUG_ENABLED_SYSTEM_PROP, PREREQ_TYPE_TAG_VALUE, PREREQ_TYPE_TEST, SECONDS_IN_ONE_DAY, SECONDS_IN_ONE_HOUR, STATUS_CANCELED, STATUS_EXECERROR, STATUS_FAILURE, STATUS_RUNNING, STATUS_SUCCESS, STATUS_WARNING, SYS_PROP_MAX_MONITOR_INTERNVAL, SYS_PROP_MAX_NUM_THREADS, SYSPROP_APPCONNFILE, SYSPROP_DIAG_CONFIG_FILE, TAG_TYPE_DIAG, TAG_TYPE_TAXONOMY, TEST_TYPE_DECL, TEST_TYPE_JAVA, USER_NAME, WEB_APP_NAME_TAG_NAME, Y, YES
 
Constructor Summary
MessageExtnImpl()
           
 
Method Summary
 void addLinkParameter(NameValue pParam)
          Adds a parameter for the link.
 void addLinkParameters(NameValueList pParams)
          Adds a list of parameters for the link.
 void addLinkToken(LinkToken pToken)
          Adds a Link Token to this Label
 void addLinkTokens(java.util.List<LinkToken> pTokens)
          Adds a list Link Token to this label
protected  void fillJAXBMetadataObj(MessageType messageType)
           
 java.lang.String getFunctionName()
          Gets the function name for the link.
 MessageType getJAXBMetadataObj()
          Returns the underlying JAXB LabelType object
 NameValueList getLinkParams()
          Gets the list of parameters to be added when creating the link URL
 java.util.List<LinkToken> getLinkTokens()
          Gets the list of Link Tokens
 DiagConstants.LinkType getLinkType()
          Gets the link type.
 java.lang.String getLinkURI()
          Gets the link URI for the link
 Message.MsgType getMsgType()
          Gets the message type for this message
 void setFunctionName(java.lang.String pFunctionName)
          Sets the function name for the link.
 void setJAXBMetadataObj(MessageType pObj)
          Sets the given underlying JAXB MessageType object
 void setLinkToMetalinkNote(java.lang.String pNoteId)
          Sets a link on this message to the given Metalink note ID.
 void setLinkType(DiagConstants.LinkType pLinkType)
          Sets the link type for the link.
 void setLinkType(java.lang.String pLinkType)
           
 void setLinkURI(java.lang.String pURI)
          Sets the URI for the link.
 void setMsgType(Message.MsgType pMsgType)
          Sets the message type for this message
 void setMsgType(java.lang.String pMsgType)
           
 void visitAll(ReportVisitor pVisitor)
          Visits all elements within this element and invokes the visitContainer() callback method on the visitor for each child ement visited.
 
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.report.LabelExtnImpl
addToken, addTokens, fillJAXBMetadataObj, getDefault, getNlsBundle, getNlsKey, getTokens, setDefault, setJAXBMetadataObj, setNlsBundle, setNlsBundleXliff, setNlsKey, setNlsKey
 
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.report.ContainerExtnImpl
copy, copy, fillJAXBMetadataObj, getMask, getObjectFactory, setJAXBMetadataObj, setMask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.Label
addToken, addTokens, getDefault, getNlsBundle, getNlsKey, getTokens, setDefault, setNlsBundle, setNlsBundleXliff, setNlsKey, setNlsKey
 
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.Container
getMask, setMask
 

Constructor Detail

MessageExtnImpl

public MessageExtnImpl()
Method Detail

setJAXBMetadataObj

public void setJAXBMetadataObj(MessageType pObj)
Description copied from interface: MessageExtn
Sets the given underlying JAXB MessageType object

Specified by:
setJAXBMetadataObj in interface MessageExtn
Parameters:
pObj - the underlying JAXB MessageType object for this report

getJAXBMetadataObj

public MessageType getJAXBMetadataObj()
Description copied from interface: LabelExtn
Returns the underlying JAXB LabelType object

Specified by:
getJAXBMetadataObj in interface ContainerExtn
Specified by:
getJAXBMetadataObj in interface LabelExtn
Specified by:
getJAXBMetadataObj in interface MessageExtn
Overrides:
getJAXBMetadataObj in class LabelExtnImpl
Returns:
the internal JAXB LabelType object

fillJAXBMetadataObj

protected void fillJAXBMetadataObj(MessageType messageType)

setLinkType

public void setLinkType(DiagConstants.LinkType pLinkType)
Description copied from interface: Message
Sets the link type for the link. The type can be either internal or external.

Specified by:
setLinkType in interface Message
Parameters:
pLinkType - the link type for the link.

setLinkType

public void setLinkType(java.lang.String pLinkType)

setFunctionName

public void setFunctionName(java.lang.String pFunctionName)
Description copied from interface: Message
Sets the function name for the link. This is required if the link type is internal.

Specified by:
setFunctionName in interface Message
Parameters:
pFunctionName - the function name for the link.

setLinkURI

public void setLinkURI(java.lang.String pURI)
Description copied from interface: Message
Sets the URI for the link. This is required if the link type is external.

Specified by:
setLinkURI in interface Message
Parameters:
pURI - the base URI for the link.

setLinkToMetalinkNote

public void setLinkToMetalinkNote(java.lang.String pNoteId)
Description copied from interface: Message
Sets a link on this message to the given Metalink note ID.

Specified by:
setLinkToMetalinkNote in interface Message
Parameters:
pNoteId - Metalink note ID to which this message should be linked.

addLinkParameter

public void addLinkParameter(NameValue pParam)
Description copied from interface: Message
Adds a parameter for the link.

Specified by:
addLinkParameter in interface Message
Parameters:
pParam -

addLinkParameters

public void addLinkParameters(NameValueList pParams)
Description copied from interface: Message
Adds a list of parameters for the link.

Specified by:
addLinkParameters in interface Message
Parameters:
pParams -

getLinkType

public DiagConstants.LinkType getLinkType()
Description copied from interface: Message
Gets the link type. The link type can be either internal or external.

Specified by:
getLinkType in interface Message
Returns:
LinkType

getFunctionName

public java.lang.String getFunctionName()
Description copied from interface: Message
Gets the function name for the link.

Specified by:
getFunctionName in interface Message
Returns:
Function Name

getLinkURI

public java.lang.String getLinkURI()
Description copied from interface: Message
Gets the link URI for the link

Specified by:
getLinkURI in interface Message
Returns:
Link URI

getLinkParams

public NameValueList getLinkParams()
Description copied from interface: Message
Gets the list of parameters to be added when creating the link URL

Specified by:
getLinkParams in interface Message
Returns:
all Link param NameValue instances in a list

setMsgType

public void setMsgType(Message.MsgType pMsgType)
Description copied from interface: Message
Sets the message type for this message

Specified by:
setMsgType in interface Message
Parameters:
pMsgType -

setMsgType

public void setMsgType(java.lang.String pMsgType)

getMsgType

public Message.MsgType getMsgType()
Description copied from interface: Message
Gets the message type for this message

Specified by:
getMsgType in interface Message
Returns:

visitAll

public void visitAll(ReportVisitor pVisitor)
Description copied from class: ContainerExtnImpl
Visits all elements within this element and invokes the visitContainer() callback method on the visitor for each child ement visited.

Overrides:
visitAll in class LabelExtnImpl
Parameters:
pVisitor - visitor class to be invoked for each child element visited.

addLinkToken

public void addLinkToken(LinkToken pToken)
Adds a Link Token to this Label

Specified by:
addLinkToken in interface Message
Parameters:
pToken - LinkToken to be added
See Also:
LinkToken

addLinkTokens

public void addLinkTokens(java.util.List<LinkToken> pTokens)
Adds a list Link Token to this label

Specified by:
addLinkTokens in interface Message
Parameters:
pTokens - List of LinkToken
See Also:
LinkToken

getLinkTokens

public java.util.List<LinkToken> getLinkTokens()
Gets the list of Link Tokens

Specified by:
getLinkTokens in interface Message
Returns:
List of LinkToken
See Also:
LinkToken

Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.