IBM Rational Functional Tester
Version 8.2.1
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.services
Class LogMessageProperty

java.lang.Object
  extended by com.rational.test.ft.services.LogMessageProperty

public class LogMessageProperty
extends java.lang.Object

One piece of detailed information in a log message. Each piece of detailed information is stored as a name/value pair.


Constructor Summary
LogMessageProperty()
          Create a log message property with default values.
LogMessageProperty(java.lang.String name, java.lang.Object value)
          Create a log message with a specified name and value.
 
Method Summary
 java.lang.String getName()
          Return the name of the property.
 java.lang.Object getValue()
          Return the value of the property.
 boolean isCustom()
          Return true if the property is a custom property
 boolean isMasked()
          Return true if the property is masked.
 void setCustom(boolean custom)
          Set the property as custom property
 void setMask(boolean mask)
          Set the property to be masked.
 void setName(java.lang.String name)
          Set the name of the property.
 void setValue(java.lang.Object value)
          Set the value of the property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogMessageProperty

public LogMessageProperty()
Create a log message property with default values.


LogMessageProperty

public LogMessageProperty(java.lang.String name,
                          java.lang.Object value)
Create a log message with a specified name and value.

Parameters:
name - The property name.
value - The property value.
Method Detail

setName

public void setName(java.lang.String name)
Set the name of the property.

Parameters:
name - The property name

getName

public java.lang.String getName()
Return the name of the property.

Returns:
The property name.

setValue

public void setValue(java.lang.Object value)
Set the value of the property.

Parameters:
value - The property value

getValue

public java.lang.Object getValue()
Return the value of the property.

Returns:
The property value.

setCustom

public void setCustom(boolean custom)
Set the property as custom property

Parameters:
isCustom -

isCustom

public boolean isCustom()
Return true if the property is a custom property

Returns:

setMask

public void setMask(boolean mask)
Set the property to be masked. Masked Properties are not persisted

Parameters:
mask -

isMasked

public boolean isMasked()
Return true if the property is masked. Masked properties are not persisted in logs

Returns:
true if masked.