javax.datamining.task
Interface ComputeStatisticsTaskFactory

All Superinterfaces:
Factory

public interface ComputeStatisticsTaskFactory
extends Factory

A factory class that creates instances of ComputeStatisticsTask.

Author:
JSR-73 Java Data Mining Expert Group
See Also:
Factory

Method Summary
 ComputeStatisticsTask create(java.lang.String physicalDataName)
          Creates an instance of ComputeStatisticsTask with the specfied physical data.
 boolean supportsCapability(ComputeStatisticsTaskCapability capability)
          Returns true if the specified capability is supported in the implementation being used.
 

Method Detail

create

public ComputeStatisticsTask create(java.lang.String physicalDataName)
                             throws JDMException
Creates an instance of ComputeStatisticsTask with the specfied physical data. Argument cannot be NULL.

Parameters:
physicalDataName - The name of the physical data for which the statistics is to be computed.
Returns:
ComputeStatisticsTask
Throws:
JDMException

supportsCapability

public boolean supportsCapability(ComputeStatisticsTaskCapability capability)
                           throws JDMException
Returns true if the specified capability is supported in the implementation being used. Returns false otherwise.

Parameters:
capability - The capability.
Returns:
boolean
Throws:
JDMException