summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/logging/SignedAuditEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/common/src/com/netscape/certsrv/logging/SignedAuditEvent.java')
-rw-r--r--base/common/src/com/netscape/certsrv/logging/SignedAuditEvent.java54
1 files changed, 27 insertions, 27 deletions
diff --git a/base/common/src/com/netscape/certsrv/logging/SignedAuditEvent.java b/base/common/src/com/netscape/certsrv/logging/SignedAuditEvent.java
index 8541eda34..b5483eb9f 100644
--- a/base/common/src/com/netscape/certsrv/logging/SignedAuditEvent.java
+++ b/base/common/src/com/netscape/certsrv/logging/SignedAuditEvent.java
@@ -27,8 +27,8 @@ import com.netscape.certsrv.base.MessageFormatter;
* The log event object that carries message detail of a log event
* that goes into the Signed Audit Event log. This log has the
* property of being digitally signed for security considerations.
- *
- *
+ *
+ *
* @version $Revision$, $Date$
* @see java.text.MessageFormat
* @see com.netscape.certsrv.logging.LogResources
@@ -61,7 +61,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Constructs a SignedAuditEvent message event.
* <P>
- *
+ *
* @param msgFormat The message string.
*/
public SignedAuditEvent(String msgFormat) {
@@ -71,12 +71,12 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Constructs a message with a parameter. For example,
- *
+ *
* <PRE>
* new SignedAuditEvent(&quot;failed to load {0}&quot;, fileName);
* </PRE>
* <P>
- *
+ *
* @param msgFormat Details in message string format.
* @param param Message string parameter.
*/
@@ -90,7 +90,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
* Constructs a message from an exception. It can be used to carry
* a signed audit exception that may contain information about
* the context. For example,
- *
+ *
* <PRE>
* try {
* ...
@@ -99,7 +99,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
* }
* </PRE>
* <P>
- *
+ *
* @param msgFormat Exception details in message string format.
* @param exception System exception.
*/
@@ -112,7 +112,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Constructs a message from a base exception. This will use the msgFormat
* from the exception itself.
- *
+ *
* <PRE>
* try {
* ...
@@ -121,7 +121,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
* }
* </PRE>
* <P>
- *
+ *
* @param e CMS exception.
*/
public SignedAuditEvent(Exception e) {
@@ -138,7 +138,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
* Constructs a message event with a list of parameters
* that will be substituted into the message format.
* <P>
- *
+ *
* @param msgFormat Message string format.
* @param params List of message format parameters.
*/
@@ -150,7 +150,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Returns the current message format string.
* <P>
- *
+ *
* @return Details message.
*/
public String getMessage() {
@@ -161,7 +161,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
* Returns a list of parameters. These parameters can be
* used to assist in formatting the message.
* <P>
- *
+ *
* @return List of message format parameters.
*/
public Object[] getParameters() {
@@ -172,7 +172,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
* Returns localized message string. This method should
* only be called if a localized string is necessary.
* <P>
- *
+ *
* @return Details message.
*/
public String toContent() {
@@ -182,7 +182,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Returns the string based on the given locale.
* <P>
- *
+ *
* @param locale Locale.
* @return Details message.
*/
@@ -195,7 +195,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Sets the resource bundle name for this class instance. This should
* be overridden by subclasses who have their own resource bundles.
- *
+ *
* @param bundle String with name of resource bundle.
*/
public void setBundleName(String bundle) {
@@ -204,7 +204,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Retrieves bundle name.
- *
+ *
* @return String with name of resource bundle.
*/
protected String getBundleName() {
@@ -215,7 +215,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
* Retrieves log source.
* This is an id of the subsystem responsible
* for creating the log event.
- *
+ *
* @return Integer source id.
*/
public int getSource() {
@@ -224,7 +224,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Sets log source.
- *
+ *
* @param source Integer id of log source.
*/
public void setSource(int source) {
@@ -235,7 +235,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
* Retrieves log level.
* The log level of an event represents its relative importance
* or severity within CMS.
- *
+ *
* @return Integer log level value.
*/
public int getLevel() {
@@ -244,7 +244,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Retrieves NT specific log event type.
- *
+ *
* @return Integer NTEventType value.
*/
public int getNTEventType() {
@@ -255,7 +255,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
* Sets log level, NT log event type.
* For certain log levels the NT log event type gets
* set as well.
- *
+ *
* @param level Integer log level value.
*/
public void setLevel(int level) {
@@ -286,7 +286,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Retrieves log multiline attribute.
- *
+ *
* @return Boolean whether or not this event is multiline.
* A multiline message simply consists of more than one line.
*/
@@ -297,7 +297,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Sets log multiline attribute. A multiline message consists of
* more than one line.
- *
+ *
* @param multiline Boolean multiline value.
*/
public void setMultiline(boolean multiline) {
@@ -306,7 +306,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Retrieves event time stamp.
- *
+ *
* @return Long integer of the time the event was created.
*/
public long getTimeStamp() {
@@ -316,7 +316,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Retrieves log event type. Each type of event
* has an associated String type value.
- *
+ *
* @return String containing the type of event.
*/
public String getEventType() {
@@ -326,7 +326,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Sets log event type. Each type of event
* has an associated String type value.
- *
+ *
* @param eventType String containing the type of event.
*/
public void setEventType(String eventType) {
@@ -335,7 +335,7 @@ public class SignedAuditEvent implements IBundleLogEvent {
/**
* Return string representation of log message.
- *
+ *
* @return String containing log message.
*/
public String toString() {