Class StartStopPauseWindowsService
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallableObject
-
- com.zerog.ia.auto.project.actions.Action
-
- com.zerog.ia.auto.project.actions.StartStopPauseWindowsService
-
- All Implemented Interfaces:
DBHostable
,GeneralAction
,JEEHostable
,OSHostable
,Referenceable
public final class StartStopPauseWindowsService extends Action implements GeneralAction
Manages a Windows service. If the application is interacting with a Windows Service, the installer may need to manage that service. This action, when the installer is run with sufficient privileges, allows the installer to stop, start, or pause registered windows services.
-
-
Constructor Summary
Constructors Constructor Description StartStopPauseWindowsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WinServiceOperation
getOperationType()
The operation to be performed on the service.java.lang.String
getServiceName()
The service name that will be managed.boolean
getWaitForProcess()
Whether to wait for the process to finish before continuing.void
setOperationType(WinServiceOperation type)
The operation to be performed on the service.void
setServiceName(java.lang.String name)
The service name that will be managed.void
setWaitForProcess(boolean WaitForProcess)
Whether to wait for the process to finish before continuing.-
Methods inherited from class com.zerog.ia.auto.project.InstallableObject
getBelongsToUninstallPhase, getRollbackEnabledCancel, getRollbackEnabledError, getRuleExpression, getRules, getRulesLogicalOperation, getTagsInInstallPiece, setBelongsToUninstallPhase, setRollbackEnabledCancel, setRollbackEnabledError, setRuleExpression, setRulesLogicalOperation, setTagsInInstallPiece
-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
Method Detail
-
setOperationType
public void setOperationType(WinServiceOperation type)
The operation to be performed on the service.
-
getOperationType
public WinServiceOperation getOperationType()
The operation to be performed on the service.
-
setServiceName
public void setServiceName(java.lang.String name)
The service name that will be managed.
-
getServiceName
public java.lang.String getServiceName()
The service name that will be managed.
-
getWaitForProcess
public boolean getWaitForProcess()
Whether to wait for the process to finish before continuing.
-
setWaitForProcess
public void setWaitForProcess(boolean WaitForProcess)
Whether to wait for the process to finish before continuing.
-
-