sofya.mutator
Class MutatorConfiguration

java.lang.Object
  extended by sofya.mutator.MutatorConfiguration

public final class MutatorConfiguration
extends java.lang.Object

A configuration for the mutation table generator.

The main function of a mutator configuration is to specify the active mutation operators. It also specifies configuration parameters to the mutation table generator. Global parameters include the default directory to search for mutation operator implementing classes and the location of the default mutation operators list file. A rudimentary framework is also present for possible future support of per-operator configurations, though this functionality is not currently implemented.

Version:
09/28/2005
Author:
Alex Kinneer
See Also:
MutationGenerator

Method Summary
 java.lang.String getDefaultOperatorDirectory()
          Gets the default directory for mutation operator implementations.
 java.lang.String getOperatorListFile()
          Gets the path to the file listing mutation operators that are considered enabled by default.
 sofya.mutator.OperatorConfiguration[] getOperators()
          Gets the active mutation operators in this configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOperators

public sofya.mutator.OperatorConfiguration[] getOperators()
Gets the active mutation operators in this configuration.

Returns:
An array of mutation operators enabled in this configuration.

getDefaultOperatorDirectory

public java.lang.String getDefaultOperatorDirectory()
Gets the default directory for mutation operator implementations.

Returns:
The path to the default directory that is searched to load the classes implementing mutation operators.

getOperatorListFile

public java.lang.String getOperatorListFile()
Gets the path to the file listing mutation operators that are considered enabled by default.

Returns:
The path to the file that lists the names of classes implementing mutation operators to be included in the configuration by default.