g-Eclipse
Release 1.0.0

eu.geclipse.core.simpleTest
Interface ISimpleTestDescription

All Known Implementing Classes:
DNSLookUpDescription, PortScanDescription, ReachabilityTestDescription

public interface ISimpleTestDescription

This interface is the base for all classes that describe specialized simple tests.


Method Summary
 ISimpleTest createSimpleTest()
          Create a simple test from this ISimpleTestDescription.
 java.lang.String getSimpleTestTypeName()
          Get the name of the simple test type that is described by this description.
 boolean matches(ISimpleTestDescription otherTest)
          Returns whether the argument test matches this test.
 

Method Detail

createSimpleTest

ISimpleTest createSimpleTest()
Create a simple test from this ISimpleTestDescription.

Returns:
A new simple test that is created from the settings of this ISimpleTestDescription.

getSimpleTestTypeName

java.lang.String getSimpleTestTypeName()
Get the name of the simple test type that is described by this description. This is a short name like "Ping" or "Trace Route" that is used in UI components to reference this description.

Returns:
The name of the type of simple tests that is described by this description.

matches

boolean matches(ISimpleTestDescription otherTest)
Returns whether the argument test matches this test.

Parameters:
otherTest - The test we are comparing against
Returns:
Returns true if the test matches, false otherwise.

g-Eclipse
Release 1.0.0