Interface BuildtimeActivity

  • All Superinterfaces:
    AbstractActivity, PluginDataContainer, UserAttributeContainer
    All Known Subinterfaces:
    Activity, ActivityTemplate, DecisionActivity

    public interface BuildtimeActivity
    extends AbstractActivity
    A BuildtimeActivity unifies the similarities of the objects representing activities at buildtime. These are: activities (used in the process model), activity templates (intermediate objects for transferring the necessary information from the activity model to the process model) and activity template definitions (the corresponding objects in the activity model). This allows for easier implementation of checks based on these objects. However, the semantic of the attributes may slightly differ especially for the ActivityTemplateDefintion since all other activity objects stem from such an activity template definition. Refer to the documentation of the corresponding interface for further information.
    Author:
    Ulrich Kreher
    • Method Detail

      • supportsTestExecution

        boolean supportsTestExecution()
        Gets whether this buildtime activity supports a test execution. If so, the operation will be able to run in a special test environment with a test configuration which does not have any critical side effects. The operation is provided a flag at runtime whether it is in test mode.
        Returns:
        Whether the operation of this abstract activity supports a test mode without any critical side effects.
        See Also:
        getTestConfiguration(), SessionContext.isTestMode()
      • getTestConfiguration

        ActivityConfiguration getTestConfiguration()
        Gets the test configuration of this buildtime activity. These configuration values only apply when the operation of this buildtime activity executed in test mode, that is the operation is provided this configuration. Depending on the concrete interface, this configuration may already be merged with the normal configuration.
        Note that the test configuration allows to override fixed values of the normal configuration.
        Returns:
        The configuration values set for the test mode of the operation of this buildtime activity based on the configuration description.
      • getParameterChangePolicy

        ParameterChangePolicy getParameterChangePolicy()
        Gets the parameter change policy for the operation of this activity, that is the supported interface changes for this operation (add, change and/or remove parameters).
        Returns:
        The parameter change policy for the operation of this activity that specifies the supported interface changes for the operation.