@ConfigurationDescription(properties=) public class DefaultProcessCheckService extends AbstractAuthenticatedService implements ProcessCheckService
AbstractADEPT2Service.ActiveSessionsProcessCheckService.CheckSet| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CHECKS_BASIC_MODELLING
The plug-in ID for the basic modelling checks.
|
static java.lang.String |
CHECKS_CONSISTENCY
The plug-in ID for the consistency checks.
|
static java.lang.String |
CHECKS_EXECUTION_PRODUCTION
The plug-in ID for the execution / production checks.
|
static java.lang.String |
CHECKS_EXECUTION_TEST_CLIENT
The plug-in ID for the execution / test client checks.
|
static java.lang.String |
CHECKS_STRUCTURE
The plug-in ID for the structure checks.
|
CFG_EARLY_SERVICEAUTH_ORGPOSID, CFG_EARLY_SERVICEAUTH_ORGPOSNAME, CFG_EARLY_SERVICEAUTH_PASSWORD, CFG_EARLY_SERVICEAUTH_USERNAME, CFG_SERVICEAUTH_ORGPOSID, CFG_SERVICEAUTH_ORGPOSNAME, CFG_SERVICEAUTH_PASSWORD, CFG_SERVICEAUTH_USERNAMECONF_CSV_LOGGING, configuration, logger, registry, runtimeRequiredServices, startupRequiredServicesPLUGIN_TYPE_ACTIVITY_CHECK, PLUGIN_TYPE_TEMPLATE_CHECK| Constructor and Description |
|---|
DefaultProcessCheckService(Configuration configuration,
Registry registry)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ProcessTemplateCheck |
getBasicModellingChecks()
Returns the basic process modelling checks.
|
ProcessTemplateCheck |
getConsistencyChecks()
Returns the checks ensuring the internal consistency of the data model.
|
ProcessTemplateCheck |
getExecutionProductionChecks()
Returns all checks which are required to be fulfilled for production use.
|
ProcessTemplateCheck |
getExecutionTestClientChecks()
Returns the checks which are required to be fulfilled for execution
in the test client.
|
Pair<SessionToken,PolicyResolution> |
getPolicyResolution() |
ProcessTemplateCheck |
getProcessTemplateCheck(java.lang.String checkID) |
ProcessTemplateCheck |
getStructureChecks()
Returns the checks ensuring the structural correctness of the process
model.
|
void |
init(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris)
Copies the designated URI array and stores it internally and authenticates
to the system and sets the session factory.
|
void |
start()
Method setting the status to the current time.
|
_sessionActive, authenticateService, awaitActiveSessions, createChildSession, createSession, getAgent, getSecurityManager, getSessionFactory, getStartupRequired, getTopLevelAgent, getUserCredentials, globalSecurityManagerAvailable, isEarlyService, sessionHasCapability, shutdown_sessionFinished, activeOrInvalidServiceStateException, changeLogContext, changeLogContext, changeLogContext, consoleLog, csvLoggingEnabled, getClassSpecificJulLogger, getDependencyRegistry, getLocalUris, getLogger, getRelease, getRuntimeRequiredServices, getServiceInstanceName, getStartupRequiredServices, getURIs, isActive, isSessionActive, isShutdown, logMethodEntry, logMethodEntry, logMethodEntry, logMethodExit, logMethodExit, ping, preShutdown, privilegeSession, privilegeThread, revertLogContextChanges, sessionActive, sessionActive, sessionActive, sessionActive, sessionFinished, sessionFinished, signalShutdown, signalStart, unprivilegeThreadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocalUris, getRelease, getRuntimeRequiredServices, getServiceInstanceName, getStartupRequiredServices, getURIs, ping, preShutdown, shutdownpublic static final java.lang.String CHECKS_CONSISTENCY
public static final java.lang.String CHECKS_STRUCTURE
public static final java.lang.String CHECKS_BASIC_MODELLING
public static final java.lang.String CHECKS_EXECUTION_PRODUCTION
public static final java.lang.String CHECKS_EXECUTION_TEST_CLIENT
public DefaultProcessCheckService(Configuration configuration, Registry registry) throws ConfigurationException
configuration - registry - ConfigurationException - If the password for this authenticated
service cannot be parsed from the configuration, a
ConfigurationException will be thrown.public void init(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris)
throws AbortServiceException
AbstractAuthenticatedService
In case of an early service, this will not authenticate to the system! Such
a service need to AbstractAuthenticatedService.authenticateService() later when the security
manager is available.
init in interface ADEPT2Serviceinit in class AbstractAuthenticatedServicelocalExportedUris - The URIs with which this service is exported
locally or a local URI or an empty array for internal services.globalExportedUris - The URIs with which this service is published
globally or null in case the service is not
published.AbortServiceException - If authenticating at the security manager
fails, an AbortServiceException will be thrown.public void start()
throws AbortServiceException
AbstractADEPT2Servicestart in interface ADEPT2Servicestart in class AbstractADEPT2ServiceAbortServiceException - If this service cannot be started due to
a severe problem, an AbortServiceException will be
thrown. ADEPT2Service.shutdown(boolean) will not be called when aborting; the
service has to shut down itself/clean up before throwing the
exception.public ProcessTemplateCheck getProcessTemplateCheck(java.lang.String checkID)
getProcessTemplateCheck in interface ProcessCheckServicepublic ProcessTemplateCheck getBasicModellingChecks()
ProcessCheckServiceNote, that the consistency and structure checks are not part of these checks, since the data model and change operations already take care of these constraints.
getBasicModellingChecks in interface ProcessCheckServicepublic ProcessTemplateCheck getConsistencyChecks()
ProcessCheckServicegetConsistencyChecks in interface ProcessCheckServicepublic ProcessTemplateCheck getStructureChecks()
ProcessCheckServicegetStructureChecks in interface ProcessCheckServicepublic ProcessTemplateCheck getExecutionProductionChecks()
ProcessCheckServiceNote, that the consistency and structure checks are not part of these checks, since the data model and change operations already take care of these constraints.
getExecutionProductionChecks in interface ProcessCheckServicepublic ProcessTemplateCheck getExecutionTestClientChecks()
ProcessCheckServiceNote, that the consistency and structure checks are not part of these checks, since the data model and change operations already take care of these constraints.
getExecutionTestClientChecks in interface ProcessCheckServicepublic Pair<SessionToken,PolicyResolution> getPolicyResolution()