Package adams.flow.rest.flow
Class CallableTextPipeline
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.rest.AbstractRESTPlugin
-
- adams.flow.rest.AbstractRESTPluginWithFlowContext
-
- adams.flow.rest.flow.AbstractCallablePipeline
-
- adams.flow.rest.flow.CallableTextPipeline
-
- All Implemented Interfaces:
adams.core.AdditionalInformationHandler
,adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.SizeOfHandler
,adams.flow.core.CallableActorUser
,adams.flow.core.FlowContextHandler
,RESTPlugin
,Serializable
public class CallableTextPipeline extends AbstractCallablePipeline
Processing pipeline for arbitrary text.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.flow.rest.flow.AbstractCallablePipeline
m_Helper, m_Pipeline, m_PipelineActor, m_PipelineActorInitialized, m_ScopeHandlingStorage, m_ScopeHandlingVariables
-
Fields inherited from class adams.flow.rest.AbstractRESTPluginWithFlowContext
m_FlowContext
-
-
Constructor Summary
Constructors Constructor Description CallableTextPipeline()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
globalInfo()
Returns a string describing the object.javax.ws.rs.core.Response
process(String input)
Processes the measurement.-
Methods inherited from class adams.flow.rest.flow.AbstractCallablePipeline
checkCompatibility, defineOptions, doProcess, getCallableActor, getPipeline, getScopeHandlingStorage, getScopeHandlingVariables, globalInfoBase, initialize, initPipeline, pipelineTipText, reset, scopeHandlingStorageTipText, scopeHandlingVariablesTipText, setPipeline, setScopeHandlingStorage, setScopeHandlingVariables
-
Methods inherited from class adams.flow.rest.AbstractRESTPluginWithFlowContext
getFlowContext, setFlowContext
-
Methods inherited from class adams.flow.rest.AbstractRESTPlugin
getAdditionalInformation
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
process
@POST @Path("/process") public javax.ws.rs.core.Response process(String input)
Processes the measurement.- Parameters:
input
- the incoming measurement- Returns:
- the response
-
-