uk.org.ogsadai.service.resource.config
Interface ActivityConfig

All Known Implementing Classes:
BasicActivityConfig

public interface ActivityConfig

The configuration details that define an activity.

Author:
OGSA-DAI team

Method Summary
 org.w3c.dom.Document getConfigDocument()
          Gets the configuration document associated with the activity.
 java.lang.String getDescription()
          Gets a human readable description of the activity.
 java.lang.String getImplementationClassName()
          Gets the name of the class which implements the activity.
 java.lang.String getName()
          Gets the name of the activity.
 java.util.Properties getProperties()
          Gets the key/value pair properties associated with the activity.
 org.w3c.dom.Document getSchema()
          Gets the schema that defines the XML specifying the activity's parameters.
 

Method Detail

getName

public java.lang.String getName()
Gets the name of the activity.

Returns:
Activity name.

getImplementationClassName

public java.lang.String getImplementationClassName()
Gets the name of the class which implements the activity.

Returns:
Activity implementation class name.

getSchema

public org.w3c.dom.Document getSchema()
Gets the schema that defines the XML specifying the activity's parameters.

Returns:
Document that describes the schema (in XSD) of the activity's parameters.

getDescription

public java.lang.String getDescription()
Gets a human readable description of the activity.

Returns:
The activity description or null if none is specified.

getProperties

public java.util.Properties getProperties()
Gets the key/value pair properties associated with the activity. These properties are used to further configure the activity instance.

Returns:
The properties associated with the activity.

getConfigDocument

public org.w3c.dom.Document getConfigDocument()
Gets the configuration document associated with the activity. If it exists this document will contain further configuration specific to the activity.

Returns:
The activity specific configuration document or null if none is specified.