Package net.simplace.pipe.control
Klasse FWPipeLineHelper
java.lang.Object
net.simplace.pipe.control.FWPipeLineHelper
Provides different functions of the Impetus Engine.
- Autor:
- Andreas Enders
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungConstant Array of Parameters to Keep -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic voidappendAccessLog(String aPipeLineID, String aString) Constructs a FileWriter object given a File object.static booleancheckIfExpression(String aExpression, FWObservable aObservable) if parameter if is given in initialize parameters of the processor it is checked here.static voidfillParameterMapFromFormElement(Map<String, Object> aParameterMap, org.jdom2.Element aSettingElement) static FWObservablefilterParameters(FWObservable aOutput) static URLgetConnectorRessource(String aResourceName) Looks for a resource at different places in the following order: (- In the eTenderSuite/WorkServer/res/connector folder (for development version)) - In the eTenderSuite/WorkServer/conf folder (for development version) - In the eTenderSuite/AiConnector/res folder (for dist and development version) - in the classpathstatic org.jdom2.ElementgetInitElementFromFile(String aInitFileName) Parses the Init File .static longgetLastCallMillis(String aPipeID) static final FilegetPipeLineAccessFile(String aPipeID) returns the PipeLineAcessFile to given Pipestatic FWObservableperformChannelReplacements(FWObservable aObservable) performing replacements of internal parameters. commented - not used any morestatic FWObservableprocessPipeLine(FWPipeLinesContainer aContainer, String aPipeLineID, int aNumberOfSteps) Processes the pipeline with the id aPipeLineID.
-
Felddetails
-
PARAM_TO_REMOVE_AT_END
Constant Array of Parameters to Keep
-
-
Konstruktordetails
-
FWPipeLineHelper
public FWPipeLineHelper()
-
-
Methodendetails
-
appendAccessLog
Constructs a FileWriter object given a File object. String will be written to the end of the file.- Parameter:
aPipeLineID-aString- to be appended
-
getConnectorRessource
Looks for a resource at different places in the following order: (- In the eTenderSuite/WorkServer/res/connector folder (for development version)) - In the eTenderSuite/WorkServer/conf folder (for development version) - In the eTenderSuite/AiConnector/res folder (for dist and development version) - in the classpath- Parameter:
aResourceName-- Gibt zurück:
- URL of the connector resource
- Löst aus:
PipeLineException
-
getLastCallMillis
- Parameter:
aPipeID-- Gibt zurück:
- Millis when last call of Pipe was recognized
- Löst aus:
IOException- if File was not validParseException- if String in File could not be parsed
-
performChannelReplacements
performing replacements of internal parameters. commented - not used any more- Parameter:
aObservable-- Gibt zurück:
- FWObservable
-
fillParameterMapFromFormElement
public static void fillParameterMapFromFormElement(Map<String, Object> aParameterMap, org.jdom2.Element aSettingElement) - Parameter:
aParameterMap-aSettingElement-
-
getPipeLineAccessFile
returns the PipeLineAcessFile to given Pipe- Parameter:
aPipeID-- Gibt zurück:
- the PipeLineAcessFile to given Pipe
-
processPipeLine
public static FWObservable processPipeLine(FWPipeLinesContainer aContainer, String aPipeLineID, int aNumberOfSteps) throws PipeLineException, DatabaseInUseException Processes the pipeline with the id aPipeLineID.- Parameter:
aContainer-aPipeLineID-aNumberOfSteps-- Gibt zurück:
- FWObservable
- Löst aus:
PipeLineExceptionDatabaseInUseException
-
getInitElementFromFile
Parses the Init File .- Parameter:
aInitFileName-- Gibt zurück:
- the Init Element of the given file
-
checkIfExpression
public static boolean checkIfExpression(String aExpression, FWObservable aObservable) throws PipeLineException if parameter if is given in initialize parameters of the processor it is checked here.- Parameter:
aExpression-aObservable-- Gibt zurück:
- true, if parameter is given in initialize parameters of the processor, otherwise return false
- Löst aus:
PipeLineException
-
filterParameters
- Parameter:
aOutput-- Gibt zurück:
- FWObservable
-