g-Eclipse
Release 1.0.0

eu.geclipse.core.simpleTest
Class ReachabilityTestDescription

java.lang.Object
  extended by eu.geclipse.core.simpleTest.ReachabilityTestDescription
All Implemented Interfaces:
ISimpleTestDescription

public class ReachabilityTestDescription
extends java.lang.Object
implements ISimpleTestDescription

A simple test description that is dedicated to ping.


Constructor Summary
ReachabilityTestDescription()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReachabilityTestDescription

public ReachabilityTestDescription()
Method Detail

createSimpleTest

public ISimpleTest createSimpleTest()
Description copied from interface: ISimpleTestDescription
Create a simple test from this ISimpleTestDescription.

Specified by:
createSimpleTest in interface ISimpleTestDescription
Returns:
A new simple test that is created from the settings of this ISimpleTestDescription.

getSimpleTestTypeName

public java.lang.String getSimpleTestTypeName()
Description copied from interface: ISimpleTestDescription
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.

Specified by:
getSimpleTestTypeName in interface ISimpleTestDescription
Returns:
The name of the type of simple tests that is described by this description.

matches

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

Specified by:
matches in interface ISimpleTestDescription
Parameters:
otherTest - The test we are comparing against
Returns:
Returns true if the test matches, false otherwise.

g-Eclipse
Release 1.0.0