Crossfire JXClient, Trunk
Public Member Functions | Private Member Functions | Private Attributes | List of all members
com.sun.jmx.examples.scandir.config.ResultRecord Class Reference
Collaboration diagram for com.sun.jmx.examples.scandir.config.ResultRecord:
Collaboration graph

Public Member Functions

boolean equals (Object o)
 
Action[] getActions ()
 
Date getDate ()
 
String getDirectoryScanner ()
 
String getFilename ()
 
int hashCode ()
 
 ResultRecord ()
 
 ResultRecord (DirectoryScannerConfig scan, Action[] actions, File f)
 
void setActions (Action[] actions)
 
void setDate (Date date)
 
void setDirectoryScanner (String directoryScanner)
 
void setFilename (String filename)
 

Private Member Functions

Object[] toArray ()
 

Private Attributes

Action[] actions
 
Date date
 
String directoryScanner
 
String filename
 

Detailed Description

The ResultRecord Java Bean is used to write the results of a directory scan to a result log.

This class is annotated for XML binding.

Author
Sun Microsystems, 2006 - All rights reserved.

Definition at line 62 of file ResultRecord.java.

Constructor & Destructor Documentation

◆ ResultRecord() [1/2]

com.sun.jmx.examples.scandir.config.ResultRecord.ResultRecord ( )

Creates a new empty instance of ResultRecord.

Definition at line 88 of file ResultRecord.java.

◆ ResultRecord() [2/2]

com.sun.jmx.examples.scandir.config.ResultRecord.ResultRecord ( DirectoryScannerConfig  scan,
Action[]  actions,
File  f 
)

Creates a new instance of ResultRecord.

Parameters
scanThe DirectoryScannerConfig for which this result was obtained.
actionsThe list of actions that were successfully carried out.
fThe file for which these actions were successfully carried out.

Definition at line 98 of file ResultRecord.java.

Member Function Documentation

◆ equals()

boolean com.sun.jmx.examples.scandir.config.ResultRecord.equals ( Object  o)

Definition at line 195 of file ResultRecord.java.

◆ getActions()

Action [] com.sun.jmx.examples.scandir.config.ResultRecord.getActions ( )

Gets the list of actions that were successfully carried out.

Returns
the list of actions that were successfully carried out.

Definition at line 174 of file ResultRecord.java.

◆ getDate()

Date com.sun.jmx.examples.scandir.config.ResultRecord.getDate ( )

Gets the Date at which this result was obtained.

Returns
the Date at which this result was obtained.

Definition at line 129 of file ResultRecord.java.

◆ getDirectoryScanner()

String com.sun.jmx.examples.scandir.config.ResultRecord.getDirectoryScanner ( )

Gets the short name of the directory scanner which performed the operation.

See also
DirectoryScannerConfig::getName()
Returns
the short name of the directory scanner which performed the operation.

Definition at line 153 of file ResultRecord.java.

◆ getFilename()

String com.sun.jmx.examples.scandir.config.ResultRecord.getFilename ( )

Gets the name of the file for which this result record is built.

Returns
The name of the file for which this result record is built.

Definition at line 111 of file ResultRecord.java.

◆ hashCode()

int com.sun.jmx.examples.scandir.config.ResultRecord.hashCode ( )

Definition at line 202 of file ResultRecord.java.

◆ setActions()

void com.sun.jmx.examples.scandir.config.ResultRecord.setActions ( Action[]  actions)

Sets the list of actions that were successfully carried out.

Parameters
actionsthe list of actions that were successfully carried out.

Definition at line 182 of file ResultRecord.java.

◆ setDate()

void com.sun.jmx.examples.scandir.config.ResultRecord.setDate ( Date  date)

Sets the Date at which this result was obtained.

Parameters
datethe Date at which this result was obtained.

Definition at line 139 of file ResultRecord.java.

◆ setDirectoryScanner()

void com.sun.jmx.examples.scandir.config.ResultRecord.setDirectoryScanner ( String  directoryScanner)

Sets the short name of the directory scanner which performed the operation.

See also
DirectoryScannerConfig::getName()
Parameters
directoryScannerthe short name of the directory scanner which performed the operation.

Definition at line 164 of file ResultRecord.java.

◆ setFilename()

void com.sun.jmx.examples.scandir.config.ResultRecord.setFilename ( String  filename)

Sets the name of the file for which this result record is being built.

Parameters
filenamethe name of the file for which this result record is being built.

Definition at line 120 of file ResultRecord.java.

◆ toArray()

Object [] com.sun.jmx.examples.scandir.config.ResultRecord.toArray ( )
private

Definition at line 187 of file ResultRecord.java.

Member Data Documentation

◆ actions

Action [] com.sun.jmx.examples.scandir.config.ResultRecord.actions
private

The list of actions that were successfully carried out.

Definition at line 83 of file ResultRecord.java.

◆ date

Date com.sun.jmx.examples.scandir.config.ResultRecord.date
private

The Date at which this result was obtained.

Definition at line 72 of file ResultRecord.java.

◆ directoryScanner

String com.sun.jmx.examples.scandir.config.ResultRecord.directoryScanner
private

The short name of the directory scanner which performed the operation.

See also
DirectoryScannerConfig::getName()

Definition at line 78 of file ResultRecord.java.

◆ filename

String com.sun.jmx.examples.scandir.config.ResultRecord.filename
private

The name of the file for which this result record is built.

Definition at line 67 of file ResultRecord.java.


The documentation for this class was generated from the following file: