Share via


TaskActivityFactory Interface

public interface TaskActivityFactory

Factory interface for producing TaskActivity implementations.

Method Summary

Modifier and Type Method and Description
abstract TaskActivity create()

Creates a new instance of TaskActivity

abstract java.lang.String getName()

Gets the name of the activity this factory creates.

Method Details

create

public abstract TaskActivity create()

Creates a new instance of TaskActivity

Returns:

the created activity instance

getName

public abstract String getName()

Gets the name of the activity this factory creates.

Returns:

the name of the activity

Applies to