Package com.installshield.wizard.service
Interface Service
-
- All Known Subinterfaces:
FileService
,SecurityService
,SystemUtilService
,Win32RegistryService
,Win32Service
public interface Service
NOTE : This API is for internal use. Customer use is not recommended.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancelOperation(OperationKey key)
java.lang.String
getName()
Returns the name of the service.Progress
getOperationProgress(OperationKey key)
java.lang.Class
getServiceImplementorType()
Returns the class this service uses as its implementor.boolean
isNoopMode()
Returns the current operating mode of this service.boolean
isOperationCanceled(OperationKey key)
boolean
isOperationEnded(OperationKey key)
boolean
isOperationSuspended(OperationKey key)
void
resumeOperation(OperationKey key)
void
setNoopMode(boolean noopMode)
Sets the current operating mode of this service.void
suspendOperation(OperationKey key)
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of the service. This value can be used to retrieve a service from a service manager via getService().
-
getServiceImplementorType
java.lang.Class getServiceImplementorType()
Returns the class this service uses as its implementor. Service initializers user this value to select an appropriate implementor from the list of available implementors in the current services definition.The class name must be that of a valid interface that extends com.installshield.wizard.service.ServiceImplementor.
- See Also:
ServiceImplementor
-
setNoopMode
void setNoopMode(boolean noopMode)
Sets the current operating mode of this service. In noop mode, the service will not modify the target system but will perform all other operations. Noop mode is useful for previewing wizard functionality without modifying the target system.
-
isNoopMode
boolean isNoopMode()
Returns the current operating mode of this service. In noop mode, the service will not modify the target system but will perform all other operations. Noop mode is useful for previewing wizard functionality without modifying the target system.
-
getOperationProgress
Progress getOperationProgress(OperationKey key) throws ServiceException
- Throws:
ServiceException
-
suspendOperation
void suspendOperation(OperationKey key) throws ServiceException
- Throws:
ServiceException
-
isOperationSuspended
boolean isOperationSuspended(OperationKey key) throws ServiceException
- Throws:
ServiceException
-
cancelOperation
void cancelOperation(OperationKey key) throws ServiceException
- Throws:
ServiceException
-
isOperationCanceled
boolean isOperationCanceled(OperationKey key) throws ServiceException
- Throws:
ServiceException
-
resumeOperation
void resumeOperation(OperationKey key) throws ServiceException
- Throws:
ServiceException
-
isOperationEnded
boolean isOperationEnded(OperationKey key) throws ServiceException
- Throws:
ServiceException
-
-