Class SmokeTestSingleServerService
- java.lang.Object
-
- sailpoint.server.Service
-
- com.identityworksllc.iiq.common.service.BaseCommonService
-
- com.identityworksllc.iiq.common.plugin.SingleServerService
-
- com.identityworksllc.iiq.common.plugin.SmokeTestSingleServerService
-
- All Implemented Interfaces:
BaseServiceImplementation
,sailpoint.plugin.PluginContext
public class SmokeTestSingleServerService extends SingleServerService
A no-op implementation of the single-server service class, used for testing and demonstrations.
-
-
Field Summary
-
Fields inherited from class com.identityworksllc.iiq.common.service.BaseCommonService
executedOnce, executionCount, invoker
-
-
Constructor Summary
Constructors Constructor Description SmokeTestSingleServerService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPluginName()
Gets the plugin name (empty for this one)void
implementation(sailpoint.api.SailPointContext context)
Your code goes here and will be invoked byBaseServiceImplementation.execute(SailPointContext)
after some setup and validationint
skipExecutionCount()
Return the number of executions that should be skipped on service startup.-
Methods inherited from class com.identityworksllc.iiq.common.plugin.SingleServerService
getConnection
-
Methods inherited from class com.identityworksllc.iiq.common.service.BaseCommonService
afterExecution, beforeExecution, execute, getElapsedRuntimeMillis, incrementExecutions
-
Methods inherited from class sailpoint.server.Service
configure, getDefinition, getInterval, getLastEnd, getLastExecute, getName, getServiceLock, getStatusString, handleRequest, isEnabled, isPriority, isStarted, isStarting, isStopping, ping, setDefinition, setInterval, setLastEnd, setLastExecute, setStarted, setStarting, setStopping, start, suspend, terminate, waitForStart, wake
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.identityworksllc.iiq.common.service.BaseServiceImplementation
getDefinition
-
-
-
-
Constructor Detail
-
SmokeTestSingleServerService
public SmokeTestSingleServerService()
-
-
Method Detail
-
getPluginName
public String getPluginName()
Gets the plugin name (empty for this one)- Returns:
- an empty string
-
implementation
public void implementation(sailpoint.api.SailPointContext context) throws sailpoint.tools.GeneralException
Description copied from interface:BaseServiceImplementation
Your code goes here and will be invoked byBaseServiceImplementation.execute(SailPointContext)
after some setup and validation- Parameters:
context
- IIQ context- Throws:
sailpoint.tools.GeneralException
- if any failures occur
-
skipExecutionCount
public int skipExecutionCount()
Description copied from interface:BaseServiceImplementation
Return the number of executions that should be skipped on service startup.This can allow the IIQ server to start up without having to worry about this service doing weird stuff during initialization or heavy startup load.
The subclass can override this, or the ServiceDefinition can specify ‘skipExecutionCount’ as an attribute.
- Returns:
- The number of executions that should be skipped, default 0
-
-