Interface IJobScopeHandler


public interface IJobScopeHandler
Handler which is able to construct job scope (see IJobUnit.getScope() from string.
Version:
$Revision$ $Date$
Author:
Stepan Roh, Polarion Software
  • Method Summary

    Modifier and Type
    Method
    Description
    Tries to parse job scope.
  • Method Details

    • parseJobScope

      IContextId parseJobScope(String str)
      Tries to parse job scope.

      Can throw exceptions only if scope description is surely associated with this handler, but is somehow malformed or points to unknown scope (although determination of unknown scope should be postponed to later if possible).

      Parameters:
      str - scope description
      Returns:
      scope id or null if scope description is not known
      Throws:
      IllegalArgumentException - if str is null