ControlTier > controltier-elements
 

WindowsService

Automate Windows Service Control

Overview

Open in Workbench WindowsService: Automate Windows Service Control

Design

Super Type
Service
Role Concrete. (Objects can be created.)
Instance Names Unique
Notification false
Template Directory
Data View Children, proximity: 1
Logger Name

Constraints

Allowed Child Dependencies

  • DeploymentSetting
  • Package

Allowed Parent Dependencies

  • Node
  • Site

Attributes

Exported Attributes

Name Property
basedir deployment-basedir
install-root deployment-install-root

Commands

Note
Commandline options displayed in square brackets "[]" are optional. If an option expects arguments, then angle brackets are shown after the option "<>". Any default value is shown within the brackets.

assertServiceIsDown

Check whether the specified Windows service is down

Usage
assertServiceIsDown

assertServiceIsUp

Check whether the specified Windows service is up

Usage
assertServiceIsUp

startService

Start the specified Windows service

Usage
startService

stopService

Stop the specified Windows service

Usage
stopService