|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.slamd.dslogplay.LogOperation
com.sun.slamd.dslogplay.CompareOperation
public class CompareOperation
This class defines an LDAP compare operation parsed from an access log and implements the necessary logic to parse the log file line and to replay the operation against a Directory Server.
| Field Summary | |
|---|---|
static java.lang.String |
RESULT_CODE_COMPARE_FALSE
The result code that will be used for a successful comparison in which the assertion value does not match the contents of the entry. |
static java.lang.String |
RESULT_CODE_COMPARE_TRUE
The result code that will be used for a successful comparison in which the assertion value does not match the contents of the entry. |
| Fields inherited from class com.sun.slamd.dslogplay.LogOperation |
|---|
DEFAULT_RESULT_CODE |
| Constructor Summary | |
|---|---|
CompareOperation(java.lang.String dn,
java.lang.String attribute)
Creates a new compare operation with the provided information. |
|
| Method Summary | |
|---|---|
static LogOperation |
parseLogLine(LogPlaybackJobClass jobThread,
java.lang.String line)
Parses the provided line as appropriate for this type of operation and constructs a new log operation based on the information it contains. |
void |
replayOperation(LogPlaybackJobClass jobThread)
Replays this operation against the directory server using the information contained in the provided job thread. |
java.lang.String |
toString()
Retrieves a string representation of this log operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String RESULT_CODE_COMPARE_FALSE
public static final java.lang.String RESULT_CODE_COMPARE_TRUE
| Constructor Detail |
|---|
public CompareOperation(java.lang.String dn,
java.lang.String attribute)
dn - The DN of the entry to target.attribute - The name of the attribute to target.| Method Detail |
|---|
public static LogOperation parseLogLine(LogPlaybackJobClass jobThread,
java.lang.String line)
jobThread - The job thread with which this parser is associated.line - The line to be parsed and converted to a log operation.
null if a problem prevented the line from being
parsed properly.public void replayOperation(LogPlaybackJobClass jobThread)
replayOperation in class LogOperationjobThread - The job thread to use when replaying this operation.public java.lang.String toString()
toString in class LogOperation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||