The class is needed for the URL creation within template processing. It
represents a reference to a pipeline name and start node, usually used in a
HREF or a FORM action. URLAction instances are usually passed to one of the
methods in URLUtils in order to generate an appropriately
constructed Commerce Cloud Digital URL. For example:
`
var urlAction : URLAction = new URLAction(“SimplePipeline-Start”, “SampleSite”);
Constructs an URL action for the specified site, locale and hostname.
The hostname must be defined in the site alias settings. If no hostname is provided, the HTTP/HTTPS
host defined in the site alias settings will be used. If no HTTP/HTTPS host is defined in the site alias
settings, the hostname of the current request is used.
Parameters:
action - the target pipeline/controller, e.g.: 'Default-Start'