Represents how an activity should start or end. There are two modes:
AutomationMode.AUTOMATIC (the default mode) will result in the automatic start or finish
of an activity when the activity is executed;
AutomationMode.MANUAL requires some
sort of manual intervention to start the activity.
author: Adrian Price
Converts the specified String to an AutomationMode object. If there is
no matching AutomationMode for the given string then this method returns
null.
Parameters: tag - The string The AutomationMode object