All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sgi.sysadm.category.ItemTester

public interface ItemTester
Interface for specifying the Item(s) that a particular action is applicable to. For example, this interface is used by Tasks to specify Item states that they are applicable to.

For a simple ItemTester which tests Items by their selector, see SelectorItemTester.

See Also:
SelectorItemTester, Task

Method Index

 o testItem(Item)
Determine if the Item matches criteria specified in the implementation of the interface.

Methods

 o testItem
 public abstract ItemTestResult testItem(Item item)
Determine if the Item matches criteria specified in the implementation of the interface.

Parameters:
item - Item to be tested.
Returns:
an ItemTestResult object that contains the results of testing.

All Packages  Class Hierarchy  This Package  Previous  Next  Index