public interface DynamicServiceFramework
ClientsFramework
,
BaseFramework
Modifier and Type | Method and Description |
---|---|
boolean |
clearGlobalState(java.lang.String destination)
Clears the saved GLOBAL (cross job) state.
|
boolean |
clearState()
Clears the saved state.
|
boolean |
clearState(java.lang.String jobId,
java.lang.String destination)
Clears the saved state.
|
java.lang.String[] |
filterJobsWithoutTrigger(java.lang.String[] jobIds,
java.lang.String trigger_id)
Gets an destination and job ids and finds which of those jobs exists for this destination
|
ClassModelServicesImpl |
getClassModelServices()
Returns the Class model service object, allowing querying for attribute existence in class model.
|
java.lang.String |
getCodePage()
Returns the code page value.
|
BaseConfigFile |
getConfigFile(java.lang.String configFileName)
Returns the object that represents the specified configuration file.
|
EnvironmentInformation |
getEnvironmentInformation()
Returns the runtime environment information object for querying probe domain/IP information
|
java.lang.String[] |
getJobsForAdapter(java.lang.String adapterId)
Returns the jobs of a given adapter
|
boolean |
isExecutionActive()
Check if current execution (Job and CI) is active.
|
java.lang.String |
loadGlobalState(java.lang.String destination)
Returns the GLOBAL (cross job) state most recently saved to the database for this destination (any value) in this job.
|
java.lang.String |
loadState()
Returns the state most recently saved to the database for this trigger in this job.
|
boolean |
saveGlobalState(java.lang.String destination,
java.lang.String state)
Saves GLOBAL (cross job) state of this invocation which can be accessed by other jobs
|
boolean |
saveState(java.lang.String state)
Saves the state of this invocation of the working trigger in the running job.
|
boolean |
saveState(java.lang.String jobId,
java.lang.String destination,
java.lang.String state)
Saves the state of a given job and trigger.
|
boolean saveState(java.lang.String state)
state
- the state string is application-dependentboolean saveState(java.lang.String jobId, java.lang.String destination, java.lang.String state)
jobId
- the job iddestination
- the trigger idstate
- the state string is application-dependentboolean saveGlobalState(java.lang.String destination, java.lang.String state)
destination,
- any valuestate
- any valuejava.lang.String loadState()
java.lang.String loadGlobalState(java.lang.String destination)
boolean clearState()
loadState
is called after clearState
,
loadState
returns an empty string.boolean clearState(java.lang.String jobId, java.lang.String destination)
loadState
is called after clearState
,
loadState
returns an empty string.jobId
- the job iddestination
- the destinationboolean clearGlobalState(java.lang.String destination)
BaseConfigFile getConfigFile(java.lang.String configFileName) throws java.io.FileNotFoundException, java.lang.Exception
configFileName
- the name of the configuration filejava.io.FileNotFoundException
java.lang.Exception
java.lang.String getCodePage()
EnvironmentInformation getEnvironmentInformation()
ClassModelServicesImpl getClassModelServices()
boolean isExecutionActive()
java.lang.String[] getJobsForAdapter(java.lang.String adapterId)
adapterId
- the id of the adapterjava.lang.String[] filterJobsWithoutTrigger(java.lang.String[] jobIds, java.lang.String trigger_id) throws java.sql.SQLException
jobIds
- the array of jobs that we want to checktrigger_id
- the trigger id to find it's existing jobsjava.sql.SQLException
- when there was a problem retrieving the existing jobs of the destinationDocumentation Feedback
Copyright 2012 Micro Focus or one of its affiliates.