public static SubTaskStrategy getSubTaskStrategy ( String attributeValue ) throws StrategyException { TaskInstanceStrategyFactory factory = getInstance ( ) ; String className = factory . getStrategyClassName ( attributeValue , StrategyType . SubTaskStrategy ) ; SubTaskStrategy strategy = ( SubTaskStrategy ) factory . getStrategyInstance ( SubTaskStrategy . class , className , null ) ; return strategy ; }
Returns a subtask strategy instance based on an attribute value which can consist of either the subtask strategy logical name or an xml document .