oracle.clex.tools.processgenerator.process
Class CheckProcessExistence

java.lang.Object
  |
  +--oracle.cle.process.Process
        |
        +--oracle.cle.process.GenericProcess
              |
              +--oracle.clex.tools.processgenerator.process.CheckProcessExistence
All Implemented Interfaces:
Child, java.lang.Cloneable, ProcessConstants, java.io.Serializable, State

public class CheckProcessExistence
extends GenericProcess

This process checks to see if processes defined in a vector as string either exist on a file system or in the source root defined. The process has one required parameter defined by constants in ProcessGeneratorConstants named PROCESSES. The result of the process is the setting of PROCESSES vector back into the info table with only the processes that are not found in the classpath or file system as defined by the fully qualified name of the class appended to the source root defined.

See Also:
Serialized Form

Field Summary
static java.lang.String JAVA_EXTENSION
           
 
Fields inherited from class oracle.cle.process.GenericProcess
parent
 
Fields inherited from class oracle.cle.process.Process
condition, DEBUG, endState, FAILURE, name, processes, service, stateMachine, SUCCESS, TRANSITION_CONDITION_FAILURE, TRANSITION_CONDITION_SUCCESS
 
Fields inherited from interface oracle.cle.process.ProcessConstants
ALLINFO, BINARYSIZE, CONNECTION_PROVIDER_DTD_NAME, CONNECTION_PROVIDER_VALIDATION_PROPERTY, CONTENTTYPE, CURRENTPAGEID, CURRENTSERVICE, ERRORMESSAGE, GENERICBINARYRESULT, GENERICTEXTRESULT, GETINFO_CHECK_ALL, GETINFO_CHECK_CONTROLLERONLY, GETINFO_CHECK_SERVICEONLY, HTML, HTMLRESULT, JSPRESULT, LOGOFF, NOMESSAGE, PAGEID, PDF, PDFRESULT, PRE_GROUP_DTD_NAME, PRE_GROUP_VALIDATION_PROPERTY, PROCESS_FEEDBACK, RESTART, RESULTTYPE, RULES_DTD_NAME, SERVICE_DESCRIPTOR, SERVICE_DTD_NAME, SERVICE_VALIDATION_PROPERTY, SERVICEINITIALSTATE, SERVICENAME, SESSIONID, SKIP, STACKTRACE, USER, USERROLE, WML, XML, XMLRESULT
 
Constructor Summary
CheckProcessExistence()
           
 
Method Summary
protected  void registerInfo()
          Registers the information from the info table that the process is interested in.
 void start()
          The method will check the for each of the Processes within the PROCESSES vector whether it is either found in the class path or in the Hashtable of GENERATED_PROCESSES.
 
Methods inherited from class oracle.cle.process.GenericProcess
clone, getBooleanInfo, getFloatInfo, getInfo, getInfo, getInfo, getInfoValue, getInfoValue, getInfoValueFromController, getInfoValueFromService, getIntegerInfo, getParameterNamed, getParameters, getParent, getParents, getResultNamed, getResults, getSessionId, getStringInfo, processParameters, processResults, registerBooleanParameter, registerBooleanResult, registerIntegerParameter, registerIntegerResult, registerParameter, registerProcessInfo, registerResult, registerStringArrayParameter, registerStringArrayResult, registerStringParameter, registerStringParameter, registerStringResult, registerStringResult, retrieveStringParameter, runTest, setParent, setResult, setResult, setResult
 
Methods inherited from class oracle.cle.process.Process
addCondition, addProcess, cloneProcess, debug, generateFailureCondition, generateSuccessCondition, getClassname, getCondition, getConditions, getIconName, getImageName, getName, getProcesses, getProcessNamed, getStateMachine, hashCode, isEndState, removeCondition, removeCondition, reportException, returnCondition, setCondition, setCondition, setEndState, setName, setService, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

JAVA_EXTENSION

public static final java.lang.String JAVA_EXTENSION
Constructor Detail

CheckProcessExistence

public CheckProcessExistence()
Method Detail

registerInfo

protected void registerInfo()
Registers the information from the info table that the process is interested in. The parameters for this class are PROCESSES and GENERATED_PROCESSES. Both of these constants are defined in ProcessGeneratorConstants and represent the processes defined in the defined service definition and the processes that have been generated by this service respectively. The results of the service are PROCESSES and PROCESSFEEDBACK. PROCESSFEEDBACK is used for messages.
Overrides:
registerInfo in class GenericProcess
See Also:
ProcessGeneratorConstants

start

public void start()
The method will check the for each of the Processes within the PROCESSES vector whether it is either found in the class path or in the Hashtable of GENERATED_PROCESSES. If it is found, it will not be placed in the PROCESSES Vector which contains a collection of all processes available for generation
Overrides:
start in class GenericProcess


Copyright © 2003 ORACLE Corp. All Rights Reserved.