Interface ICompilationSupport

All Known Subinterfaces:
IBaseDesignManualTask, IDesignAbortTask, IDesignAndJoin, IDesignAnnotation, IDesignApplicationManualTask, IDesignBlock, IDesignCellBlock, IDesignConnectorTreatmentTask, IDesignEmbeddedWorkflowTask, IDesignEndTask, IDesignFieldTreatmentTask, IDesignForm, IDesignFormBlock, IDesignLineBlock, IDesignManualTask, IDesignParallel, IDesignRoleTreatmentTask, IDesignScriptTreatmentTask, IDesignSectionBlock, IDesignStartTask, IDesignStateTreatmentTask, IDesignTableBlock, IDesignTask, IDesignTest, IDesignTreatmentGroupTask, IDesignTreatmentTask, IDesignWorkflow

public interface ICompilationSupport
Interface to specify whether a design element support compilation process.
Since:
2.0, 15/11/2010
Version:
1.0
Author:
vlygeros
  • Method Summary

    Modifier and Type
    Method
    Description
    beforeCompile(IContext context, boolean validate)
    Allows to connect design elements to each other before creating and storing them.
    beforeMerge(IContext context, boolean validate)
    Allows to connect design elements to each other before creating and storing them.
    compile(IContext context, boolean validate)
    Compiles a design element.
    void
    Generate design element system name.
    merge(IContext context, boolean validate)
    Merges information on an existing design element.
  • Method Details

    • generateName

      void generateName()
      Generate design element system name.
    • compile

      IReport compile(IContext context, boolean validate) throws Exception
      Compiles a design element.
      Parameters:
      context - The execution context of a user.
      validate - Indicates whether the compilation should validate the states of each object.
      Returns:
      A IReport object containing errors, warnings, info and debug information.
      Throws:
      Exception
    • merge

      IReport merge(IContext context, boolean validate) throws Exception
      Merges information on an existing design element.
      Parameters:
      context - The execution context of a user.
      validate - Indicates whether the merge should validate the states of each object.
      Returns:
      A IReport object containing errors, warnings, info and debug information.
      Throws:
      Exception
    • beforeCompile

      IReport beforeCompile(IContext context, boolean validate) throws Exception
      Allows to connect design elements to each other before creating and storing them.
      Parameters:
      context - The execution context of a user.
      validate - Indicates whether the compilation should validate the states of each object.
      Returns:
      A IReport object containing errors, warnings, info and debug information.
      Throws:
      Exception
    • beforeMerge

      IReport beforeMerge(IContext context, boolean validate) throws Exception
      Allows to connect design elements to each other before creating and storing them.
      Parameters:
      context - The execution context of a user.
      validate - Indicates whether the merge should validate the states of each object.
      Returns:
      A IReport object containing errors, warnings, info and debug information.
      Throws:
      Exception