Uses of Interface
adams.flow.core.Actor
-
-
Uses of Actor in adams.core.command
Fields in adams.core.command declared as Actor Modifier and Type Field Description protected Actor
AbstractExternalCommand. m_FlowContext
the flow context.Methods in adams.core.command that return Actor Modifier and Type Method Description Actor
AbstractExternalCommand. getFlowContext()
Returns the flow context, if any.Methods in adams.core.command with parameters of type Actor Modifier and Type Method Description void
AbstractExternalCommand. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.core.command.stderr
Fields in adams.core.command.stderr declared as Actor Modifier and Type Field Description protected Actor
CallableActorSink. m_CallableActor
the callable actor.Methods in adams.core.command.stderr that return Actor Modifier and Type Method Description Actor
CallableActorSink. getCallableActor()
Returns the currently set callable actor. -
Uses of Actor in adams.core.command.stdout
Fields in adams.core.command.stdout declared as Actor Modifier and Type Field Description protected Actor
CallableActorSink. m_CallableActor
the callable actor.Methods in adams.core.command.stdout that return Actor Modifier and Type Method Description Actor
CallableActorSink. getCallableActor()
Returns the currently set callable actor. -
Uses of Actor in adams.core.option
Fields in adams.core.option declared as Actor Modifier and Type Field Description Actor
AbstractDocumentationProducer.ActorPosition. actor
the actor.Methods in adams.core.option that return Actor Modifier and Type Method Description Actor
CompactFlowProducer. strip(Actor actor)
Returns a stripped down version of the actor, i.e., for ActorHandlers, a copy of the actor without any sub-actors gets returned.Methods in adams.core.option with parameters of type Actor Modifier and Type Method Description protected String
FlowStructureDotProducer. addNode(Actor actor)
Adds the actor as node.protected String
FlowStructureDotProducer. addNode(Actor actor, String shape, String style)
Adds the actor as node.protected String
FlowStructureGraphMLProducer. addNode(Actor actor)
Adds the actor as node.protected void
AbstractDocumentationProducer. addPosition(Actor actor, int nesting, int index)
Adds the position to the internal list/map.protected void
CompactFlowProducer. process(Actor actor)
Processes the actor.Actor
CompactFlowProducer. strip(Actor actor)
Returns a stripped down version of the actor, i.e., for ActorHandlers, a copy of the actor without any sub-actors gets returned.Constructors in adams.core.option with parameters of type Actor Constructor Description ActorPosition(Actor actor, int nesting, int index)
Initializes the container. -
Uses of Actor in adams.core.tags
Methods in adams.core.tags with parameters of type Actor Modifier and Type Method Description static List<BaseKeyValuePair>
TagProcessorHelper. getAllTags(Actor actor, boolean traverse)
Retrieves all tags from the actor, going up in the actor tree, with lower ones overriding ones defined higher up. -
Uses of Actor in adams.data.image
Fields in adams.data.image declared as Actor Modifier and Type Field Description protected Actor
AbstractImageTransformer. m_FlowContext
the flow context.Methods in adams.data.image that return Actor Modifier and Type Method Description Actor
AbstractImageTransformer. getFlowContext()
Returns the flow context, if any.Methods in adams.data.image with parameters of type Actor Modifier and Type Method Description void
AbstractImageTransformer. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.data.io.input
Methods in adams.data.io.input that return Actor Modifier and Type Method Description protected Actor
AbstractFlowReader. doReadActor(File file)
Performs the actual reading.protected Actor
AbstractFlowReader. doReadActor(InputStream in)
Performs the actual reading.protected Actor
AbstractFlowReader. doReadActor(Reader r)
Performs the actual reading.protected Actor
DefaultFlowReader. doReadActor(File file)
Performs the actual reading.protected Actor
DefaultFlowReader. doReadActor(InputStream in)
Performs the actual reading.protected Actor
DefaultFlowReader. doReadActor(Reader r)
Performs the actual reading.protected Actor
JsonFlowReader. doReadActor(File file)
Performs the actual reading.Actor
AbstractFlowReader. readActor(File file)
Reads the flow from the specified file.Actor
AbstractFlowReader. readActor(InputStream stream)
Reads the flow from the stream.Actor
AbstractFlowReader. readActor(Reader r)
Reads the flow from the given reader.Actor
AbstractFlowReader. readActor(String filename)
Reads the flow from the given file.protected Actor
DefaultFlowReader. readActor(List<String> lines)
Performs the actual reading.Actor
FlowReader. readActor(File file)
Reads the flow from the specified file.Actor
FlowReader. readActor(InputStream stream)
Reads the flow from the stream.Actor
FlowReader. readActor(Reader r)
Reads the flow from the given reader.Actor
FlowReader. readActor(String filename)
Reads the flow from the given file.protected Actor
DefaultFlowReader. readNonCompact(List<String> lines)
Reads the actor from the non-compact format. -
Uses of Actor in adams.data.io.output
Methods in adams.data.io.output with parameters of type Actor Modifier and Type Method Description protected boolean
AbstractFlowWriter. doWrite(Actor content, File file)
Performs the actual writing.protected boolean
AbstractFlowWriter. doWrite(Actor content, OutputStream out)
Performs the actual writing.protected boolean
AbstractFlowWriter. doWrite(Actor content, Writer writer)
Performs the actual writing.protected boolean
DefaultFlowWriter. doWrite(Actor content, File file)
Writes the given content to the specified file.protected boolean
DefaultFlowWriter. doWrite(Actor content, OutputStream out)
Performs the actual writing.protected boolean
DefaultFlowWriter. doWrite(Actor content, Writer writer)
Performs the actual writing.protected boolean
JsonFlowWriter. doWrite(Actor content, File file)
Writes the given content to the specified file.protected String
DefaultFlowWriter. toCompactString(Actor actor)
Turns the actor into a compact string.boolean
AbstractFlowWriter. write(Actor content, File file)
Writes the given content to the specified file.boolean
AbstractFlowWriter. write(Actor content, OutputStream stream)
Writes the content to the given output stream.boolean
AbstractFlowWriter. write(Actor content, Writer writer)
Writes the content to the given writer.boolean
AbstractFlowWriter. write(Actor content, String filename)
Writes the content to the given file.boolean
FlowWriter. write(Actor content, File file)
Writes the given content to the specified file.boolean
FlowWriter. write(Actor content, OutputStream stream)
Writes the content to the given output stream.boolean
FlowWriter. write(Actor content, Writer writer)
Writes the content to the given writer.boolean
FlowWriter. write(Actor content, String filename)
Writes the content to the given file. -
Uses of Actor in adams.data.objectfilter
Fields in adams.data.objectfilter declared as Actor Modifier and Type Field Description protected Actor
TransformMetaData. m_CallableActor
the callable actor.protected Actor
AbstractObjectFilter. m_FlowContext
the flow context.Methods in adams.data.objectfilter that return Actor Modifier and Type Method Description protected Actor
TransformMetaData. findCallableActor()
Tries to find the callable actor referenced by its callable name.Actor
AbstractObjectFilter. getFlowContext()
Returns the flow context, if any.Methods in adams.data.objectfilter with parameters of type Actor Modifier and Type Method Description void
AbstractObjectFilter. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.data.spreadsheet
Methods in adams.data.spreadsheet with parameters of type Actor Modifier and Type Method Description static HashMap<String,Object>
LookUpHelper. getTable(Actor context, StorageName name)
Returns the specified lookup table. -
Uses of Actor in adams.event
Methods in adams.event that return Actor Modifier and Type Method Description Actor
FlowPauseStateEvent. getActor()
Returns the actor that triggered the event.Constructors in adams.event with parameters of type Actor Constructor Description FlowPauseStateEvent(Actor source, FlowPauseStateEvent.Type type)
Initializes the event. -
Uses of Actor in adams.flow
Fields in adams.flow declared as Actor Modifier and Type Field Description protected Actor
FlowRunner. m_Actor
the actor to execute.protected Actor
FlowRunner. m_LastActor
the last actor that was executed.Methods in adams.flow that return Actor Modifier and Type Method Description Actor
FlowRunner. getLastActor()
Returns the instance of the last actor that was executed. -
Uses of Actor in adams.flow.condition.bool
Methods in adams.flow.condition.bool with parameters of type Actor Modifier and Type Method Description protected abstract boolean
AbstractAttributeCapabilities. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected abstract boolean
AbstractBooleanCondition. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
AbstractScriptedCondition. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
AdamsInstanceCapabilities. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
And. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
BinaryFile. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
BooleanReportValue. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
BytesComplete. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
Counting. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
DirectoriesMatch. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
DirectoryExists. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
Expression. doEvaluate(Actor owner, Token token)
Evaluates the expression.protected boolean
False. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
FileComplete. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
FileExists. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
FileInUse. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
FilesMatch. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HasClass. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HasColumn. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HasElements. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HasExifTag. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HashSet. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HasInterface. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HasLength. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HasMapValue. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HasProperty. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HasQueue. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HasRows. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HasSize. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HasStorageValue. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HasVariable. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
HasVariableValue. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
InList. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsAndroid. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsArm64. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsArray. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsBoolean. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsByte. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsBzip2Compressed. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsDouble. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsFloat. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsGzipCompressed. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsInteger. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsLinux. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsLong. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsMac. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsMat5Array. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsMat5Matrix. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsMat5Struct. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsNull. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsNumeric. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsRarCompressed. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsShort. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsSubClass. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsWindows. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsXzCompressed. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsZipCompressed. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
IsZstdCompressed. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
Not. doEvaluate(Actor owner, Token token)
Evaluates the condition.protected boolean
NotesErrors. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
Or. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
PromptUser. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
RegExp. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
ReportValueExists. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
StorageFlagSet. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
TableExists. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
True. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
VariableFlagSet. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
WekaCapabilities. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected boolean
WekaClassification. doEvaluate(Actor owner, Token token)
Performs the actual evaluation.protected abstract boolean
AbstractScriptedCondition. doScriptEvaluate(Actor owner, Token token)
Runs the script evaluation.protected boolean
Groovy. doScriptEvaluate(Actor owner, Token token)
Runs the script evaluation.protected boolean
Scripted. doScriptEvaluate(Actor owner, Token token)
Runs the script evaluation.boolean
AbstractBooleanCondition. evaluate(Actor owner, Token token)
Uses the token to determine the evaluation.boolean
BooleanCondition. evaluate(Actor owner, Token token)
Evaluates whether to executed the "then" or "else" branch.int
IndexedBooleanCondition. getCaseIndex(Actor owner, Token token)
Returns the index of the case that should get executed.int
WekaClassification. getCaseIndex(Actor owner, Token token)
Returns the index of the case that should get executed.protected AbstractDatabaseConnection
AbstractBooleanDatabaseCondition. getConnection(Actor actor)
Returns the database connection from the flow.int
IndexedBooleanCondition. getDefaultCaseIndex(Actor owner, Token token)
Returns the index of the default case.int
WekaClassification. getDefaultCaseIndex(Actor owner, Token token)
Returns the index of the default case.protected String
AbstractBooleanCondition. preEvaluate(Actor owner, Token token)
Uses the token to determine the evaluation.protected String
AbstractBooleanDatabaseCondition. preEvaluate(Actor owner, Token token)
Uses the token to determine the evaluation.String
AbstractAttributeCapabilities. setUp(Actor owner)
Configures the condition.String
AbstractBooleanCondition. setUp(Actor owner)
Configures the condition.String
AbstractExpression. setUp(Actor owner)
Configures the condition.String
AbstractMultiCondition. setUp(Actor owner)
Configures the condition.String
AbstractScriptedCondition. setUp(Actor owner)
Configures the condition.String
BinaryFile. setUp(Actor owner)
Configures the condition.String
BooleanCondition. setUp(Actor owner)
Configures the condition.String
BooleanReportValue. setUp(Actor owner)
Configures the condition.String
DirectoriesMatch. setUp(Actor owner)
Configures the condition.String
DirectoryExists. setUp(Actor owner)
Configures the condition.String
FileComplete. setUp(Actor owner)
Configures the condition.String
FileExists. setUp(Actor owner)
Configures the condition.String
FileInUse. setUp(Actor owner)
Configures the condition.String
FilesMatch. setUp(Actor owner)
Configures the condition.String
HasClass. setUp(Actor owner)
Configures the condition.String
HasInterface. setUp(Actor owner)
Configures the condition.String
IsSubClass. setUp(Actor owner)
Configures the condition.String
Not. setUp(Actor owner)
Configures the condition.String
ReportValueExists. setUp(Actor owner)
Configures the condition.String
WekaClassification. setUp(Actor owner)
Initializes the item for flow execution.protected String
WekaClassification. setUpModel(Actor owner)
Loads the model from the model file. -
Uses of Actor in adams.flow.container
Constructors in adams.flow.container with parameters of type Actor Constructor Description EncapsulatedActorsContainer(Actor actor, Variables variables, Storage storage)
Initializes the container with the actors, variables and storage.EncapsulatedActorsContainer(Actor actor, Variables variables, Storage storage, Object input, StorageName inputName)
Initializes the container with the actors, variables and storage.EncapsulatedActorsContainer(Actor actor, Variables variables, Storage storage, Object input, StorageName inputName, Object output, StorageName outputName)
Initializes the container with the actors, variables and storage.ProcessActorContainer(Actor actor)
Initializes the container with the actor.ProcessActorContainer(Actor actor, String[] list)
Initializes the container with the actor and list. -
Uses of Actor in adams.flow.control
Subinterfaces of Actor in adams.flow.control Modifier and Type Interface Description interface
AtomicExecution
Interface for actors that can be configured to finish execution first before attempting to be stopped.interface
FlowStructureModifier
Interface for actors that modify the flow structure somehow.interface
LocalScopeHandler
Interface for actor handlers that provide a local scope for their sub-actors.interface
ScopeHandler
For actors that define a scope like theFlow
orLocalScopeTrigger
actor.interface
StorageHandler
Interface for actors that allow the storing of temporary data.Classes in adams.flow.control that implement Actor Modifier and Type Class Description class
AbstractConnectedControlActor
Ancestor for all actors that control (connected) sub-actors in some way.class
AbstractContainerUpdater
Ancestor for control actors that update a specific value of a container using the defined sub-actors.class
AbstractControlActor
Ancestor for all actors that control sub-actors in some way.class
AbstractDataContainerFileChecker<T extends DataContainer>
Abstract ancestor for transformers that check data container files whether they are consistents before passing on the file/file arrays.class
AbstractDirectedControlActor
Ancestor for all actors that control sub-actors in some way.class
AbstractTee
Abstract ancestor for actors that tee-off tokens.class
ArrayGenerate
Applies all sub-actors to the input token and generates an array from the collected output.
Each of the branches is expected to produce at most one output token (ideally one per branch, otherwise there will be null elements in the output array).class
ArrayProcess
Applies all sub-actors to each of the array elements.class
Block
Blocks the propagation of tokens if the condition evaluates to 'true', therefore acts like the 'continue' control statement.
In case of integer or double tokens that arrive at the input, these can be accessed in the expression via 'X'.
The following grammar is used for evaluating the boolean expressions (depends on the selected condition):
expr_list ::= '=' expr_list expr_part | expr_part ;
expr_part ::= expr ;
expr ::= ( expr )
# data types
| number
| string
| boolean
| date
# constants
| true
| false
| pi
| e
| now()
| today()
# negating numeric value
| -expr
# comparisons
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr (or: expr <> expr)
# boolean operations
| ! expr (or: not expr)
| expr & expr (or: expr and expr)
| expr | expr (or: expr or expr)
| if[else] ( expr , expr (if true) , expr (if false) )
| ifmissing ( variable , expr (default value if variable is missing) )
# arithmetics
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr ^ expr (power of)
| expr % expr (modulo)
;
# numeric functions
| abs ( expr )
| sqrt ( expr )
| log ( expr )
| exp ( expr )
| sin ( expr )
| cos ( expr )
| tan ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| year ( expr )
| month ( expr )
| day ( expr )
| hour ( expr )
| minute ( expr )
| second ( expr )
| weekday ( expr )
| weeknum ( expr )
# string functions
| substr ( expr , start [, end] )
| left ( expr , len )
| mid ( expr , start , len )
| right ( expr , len )
| rept ( expr , count )
| concatenate ( expr1 , expr2 [, expr3-5] )
| lower[case] ( expr )
| upper[case] ( expr )
| trim ( expr )
| matches ( expr , regexp )
| trim ( expr )
| len[gth] ( str )
| find ( search , expr [, pos] )
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
;
Notes:
- Variables are either all upper case letters (e.g., "ABC") or any character apart from "]" enclosed by "[" and "]" (e.g., "[Hello World]").
- 'start' and 'end' for function 'substr' are indices that start at 1.
- Index 'end' for function 'substr' is excluded (like Java's 'String.substring(int,int)' method)
- Line comments start with '#'
- Semi-colons (';') or commas (',') can be used as separator in the formulas,
e.g., 'pow(2,2)' is equivalent to 'pow(2;2)'
- dates have to be of format 'yyyy-MM-dd' or 'yyyy-MM-dd HH:mm:ss'
- times have to be of format 'HH:mm:ss' or 'yyyy-MM-dd HH:mm:ss'
- the characters in square brackets in function names are optional:
e.g.class
Branch
Branches off the flow into several sub-branches, each being supplied with a copy of the same object being passed into this meta-actor.class
Breakpoint
Allows to pause the execution of the flow when this actor is reached and the condition evaluates to 'true'.class
CallableActorScreenshot
Takes a screenshot of a callable actor whenever a token passes through.
The screenshot can either be written to disk (and the input token is forwarded), or the screenshot is forwarded as adams.data.image.BufferedImageContainer (dropping the input token).class
Cast
Casts the incoming data to the specified classname.class
ClearCallableDisplay
Clears the referenced callable graphical actor whenever a token passes through.class
CloseCallableDisplay
Closes the referenced callable graphical actor whenever a token passes through.class
CollectionProcess
Applies all sub-actors to each of the collection elements.class
ConditionalSequence
The sequence gets only executed if the condition holds true.class
ConditionalSubProcess
Encapsulates a sequence of flow items.class
ConditionalTee
Tees off the tokens if the condition evaluates to 'true'.class
ConditionalTrigger
Executes the tee-actor whenever a token gets passed through.class
ContainerValuePicker
Picks a named value from any container object and tees it off.
With the 'switch-outputs' option it is possible to forward the named value and teeing off the container instead.
If 'ignore missing' is turned off, any value that cannot be found will generate an error logging message and, in case of switched outputs, an actual error.class
Count
Counts the number of tokens that pass through and meet the condition and tees off the current count every n-th token.class
DesktopScreenshot
Takes a screenshot of the desktop whenever a token passes through.class
FileProcessor
class
Flow
Container object for actors, used for executing a flow.class
ForceFlush
Forces all actors that implement adams.flow.core.FlushSupporter
See also:
adams.flow.sink.DumpFile
Input/output:
- accepts:
adams.flow.core.Unknown
- generates:
adams.flow.core.Unknown
class
FreeMemory
Attempts to free up memory of the sub-flow that it belongs to.
This actor is useful in case when sub-flows are only executed once, but still keep their data-structures and gobble up unnecessary memory.class
GC
Calls the garbage collector.class
HeapDump
Generates a heapdump and saves it to the specified file (with .hprof extension) whenever a token passes through.class
IfStorageValue
An If-Then-Else source actor for storage values.class
IfThenElse
Emulates an If-Then-Else construct.class
Injector
Injects a string token into the token sequence.
The string can be inject before or after the current token.class
InputOutputListener
Listens to the input/output tokens of the sub-actors, sending them to callable actors.class
Inspect
Allows the user to inspect tokens with the specified viewer.
Inspection can be done interactively, allowing the user to drop tokens, or non-interactively, with the viewer updating whenever a token passes through.
Of course, this actor should only be used during development for debugging purposes as can slow down the execution significantly depending on how expensive the view generation is.class
JDeps
Runs jdeps on the classname arriving at the input.
The application's classpath is automatically added to the command-line if no classpath directories or jars are provided.
Classpath directories and jars get combined, but directories take precedence over jars.class
JMap
Runs jmap whenever a token gets passed through.class
LaunchTee
Launches the sub-flow in a separate thread each time a token arrives.
Internally, a adams.flow.control.LocalScopeTee is used to manage the scope and forward the token.class
LaunchTrigger
Launches the sub-flow in a separate thread each time a token arrives.
Internally, a adams.flow.control.LocalScopeTrigger is used to manage the scope.class
LoadBalancer
Runs the specified 'load actor' in as many separate threads as specified with the 'num-threads' parameter.
Always uses a copy of the variables.
NB: no callable transformer or sink allowed.class
LocalScopeSubProcess
Provides a local scope for the sub-actors.
It is possible to 'propagate' or 'leak' variables and storage items from within the local scope back to the output scope.class
LocalScopeTee
Executes the sub-actors whenever a token gets passed through, just like the adams.flow.control.Tee actor, but also provides its own scope for variables and internal storage.
It is possible to 'propagate' or 'leak' variables and storage items from within the local scope back to the output scope.class
LocalScopeTransformer
Provides a local scope for the sub-actors.
It is possible to 'propagate' or 'leak' variables and storage items from within the local scope back to the output scope.class
LocalScopeTrigger
Executes the sub-actors whenever a token gets passed through, just like the adams.flow.control.Trigger actor, but also provides its own scope for variables and internal storage.
It is possible to 'propagate' or 'leak' variables and storage items from within the local scope back to the output scope.class
MissionControl
Displays a control panel for pausing/resuming/stopping the flow.
Useful when executing flows from command-line with the flow runner, offering a minimal control interface.class
MutableConnectedControlActor
Abstract superclass for actors that allow their sub-actors to modified (adding, removing, editing).class
MutableControlActor
Abstract superclass for actors that allow their sub-actors to modified (adding, removing, editing).class
Once
Tees off a token only once to its sub-actors.
However, this can be reset when the monitored variable changes.class
PlotContainerUpdater
Applies all sub-actors to process either the selected value of the plot container.class
PlotProcessor
Applies the specified processing algorithm to the stream of plot containers passing through.class
RaiseError
Raises a java.lang.Error if the condition evaluates to 'true', using the provided error message.
See also:
adams.flow.control.TryCatch
Input/output:
- accepts:
adams.flow.core.Unknown
- generates:
adams.flow.core.Unknown
class
Rejector
Rejects data containers with errors attached.class
RemoteExecutionTrigger
Transfers the actors below itself, the specified storage items and variables using the specified connection for remote execution.
Uses the adams.scripting.command.flow.RemoteFlowExecution remote command behind the scenes.class
RemoveOutliers
Allows the user to interactively remove outliers.
You can toggle the 'outlier' state of individual points by left-clicking them.You can also toggle whole regions by selecting a polygon around them: use SHIFT+left-click to place vertices and SHIFT+right-click to finish the polygon.class
Sequence
Encapsulates a sequence of flow items.class
SetContainerValue
Updates a single item in the container passing through, using either the data obtained from a callable actor or a storage item.
Using the 'force' option, additional meta-data can be stored in the container as well.class
SinkReset
Resets all sub-actors in case the monitored variable changed since the last execution.class
Sleep
Waits for a fixed amount of milliseconds.class
SourceReset
Resets all sub-actors in case the monitored variable changed since the last execution.class
Stop
Stops the execution of the flow when triggered.class
StorageValueSequence
After executing a sequence of actors, the stored item is forwarded in the flow.class
SubProcess
Encapsulates a sequence of flow items.class
Switch
Emulates a Switch control statement.class
Tee
Allows to tap into the flow and tee-off tokens.class
TimedSubProcess
Encapsulates a sequence of flow items.class
TimedTee
Allows to tap into the flow and tee-off tokens.
Times how long the sub-flow execution takes and sends the time in milli-seconds (as double) in a adams.flow.container.TimingContainer container to the specified callable actor.class
TimedTrigger
Executes the subs-actors whenever a token gets passed through.class
TransformerReset
Resets all sub-actors in case the monitored variable changed since the last execution.class
Trigger
Executes the tee-actor whenever a token gets passed through.class
TriggerEvent
Triggers the specified event.class
TriggerOnce
Triggers the sub-flow only once.
However, this can be reset when the monitored variable changes.class
TryCatch
Safe-guards the execution of the 'try' sequence of actors.class
UpdateCallableDisplay
Updates callable display actors that implement adams.flow.core.DataPlotUpdaterHandler.class
UpdateContainerValue
Applies all sub-actors to process the specified value of the container passing through.class
UpdateProperties
Updates the properties of the sub-actor using the values associated with the specfiied variables.class
WhileLoop
Emulates a while-loop.Fields in adams.flow.control declared as Actor Modifier and Type Field Description protected Actor
Flow. m_AfterExecuteActor
the actor that was executed after the flow finished.protected Actor
CallableActorScreenshot. m_CallableActor
the callable actor.protected Actor
TimedSubProcess. m_CallableActor
the callable actor.protected Actor
TimedTee. m_CallableActor
the callable actor.protected Actor
TimedTrigger. m_CallableActor
the callable actor.protected Actor
UpdateCallableDisplay. m_CallableActor
the callable actor.protected Actor
InputOutputListener. m_CallableInput
the callable actor (input).protected Actor
InputOutputListener. m_CallableOutput
the callable actor (output).protected Actor
TryCatch. m_Catch
the catch branch.protected Actor
IfStorageValue. m_ElseActor
the actor to execute in the "else" branch.protected Actor
IfThenElse. m_ElseActor
the actor to execute in the "else" branch.protected Actor
TriggerEvent. m_EventActor
the event actor to execute.protected Actor
Flow. m_ExecuteOnErrorActor
the external actor to execute in case of an abnormal stop.protected Actor
Flow. m_ExecuteOnFinishActor
the external actor to execute in case the flow finishes normal.protected Actor
FileProcessor. m_Input
the actor to use for input.protected Actor
StorageQueueHandler. m_Logging
the (optional) logging actor.protected Actor
StorageQueueHandler. m_Monitoring
the (optional) monitoring actor.protected Actor
UpdateProperties. m_SubActor
the actor to update the properties foe.protected Actor
IfStorageValue. m_ThenActor
the actor to execute in the "then" branch.protected Actor
IfThenElse. m_ThenActor
the actor to execute in the "then" branch.protected Actor
TryCatch. m_Try
the try branch.Fields in adams.flow.control with type parameters of type Actor Modifier and Type Field Description protected List<Actor>
MutableConnectedControlActor. m_Actors
the actors.protected List<Actor>
MutableControlActor. m_Actors
the actors.protected List<Actor>
Branch. m_Branches
the branches.protected List<Actor>
Switch. m_Cases
the "cases" to execute if the corresponding expression matches.protected List<Actor>
LoadBalancer. m_ToCleanUp
the actors to clean up in the end.Methods in adams.flow.control that return Actor Modifier and Type Method Description protected Actor
SequentialDirector. doExecuteStandalones()
Executes all the standalone actors.protected Actor
CallableActorScreenshot. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
CloseCallableDisplay. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
TimedSubProcess. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
TimedTee. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
TimedTrigger. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
UpdateCallableDisplay. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
TriggerEvent. findEventActor()
Tries to find the event referenced by its global name.Actor
AbstractControlActor. firstActive()
Returns the first non-skipped actor.Actor
FileProcessor. firstActive()
Returns the first non-skipped actor.Actor
AbstractControlActor. firstInputConsumer()
Returns the first non-skipped InputConsumer.abstract Actor
AbstractControlActor. get(int index)
Returns the actor at the given position.Actor
AbstractTee. get(int index)
Returns the actor at the given position.Actor
Branch. get(int index)
Returns the actor at the given position.Actor
FileProcessor. get(int index)
Returns the actor at the given position.Actor
IfStorageValue. get(int index)
Returns the actor at the given position.Actor
IfThenElse. get(int index)
Returns the actor at the given position.Actor
LaunchTee. get(int index)
Returns the actor at the given position.Actor
LaunchTrigger. get(int index)
Returns the actor at the given position.Actor
LoadBalancer. get(int index)
Returns the actor at the given position.Actor
LocalScopeSubProcess. get(int index)
Returns the actor at the given position.Actor
MutableConnectedControlActor. get(int index)
Returns the actor at the given position.Actor
MutableControlActor. get(int index)
Returns the actor at the given position.Actor
Switch. get(int index)
Returns the actor at the given position.Actor
TryCatch. get(int index)
Returns the actor at the given position.Actor
UpdateProperties. get(int index)
Returns the actor at the given position.Actor
WhileLoop. get(int index)
Returns the actor at the given position.Actor[]
AbstractTee. getActors()
Returns the actors to tee-off to.Actor[]
FileProcessor. getActors()
Returns the actors to tee-off to.Actor[]
LaunchTee. getActors()
Returns the actors to launch.Actor[]
LaunchTrigger. getActors()
Returns the actors to launch.Actor[]
LocalScopeSubProcess. getActors()
Returns the actors of the loop.Actor[]
MutableConnectedControlActor. getActors()
Returns the flow items of this sequence.Actor[]
MutableControlActor. getActors()
Returns the flow items of this sequence.Actor[]
WhileLoop. getActors()
Returns the actors of the loop.Actor[]
Branch. getBranches()
Returns the branches.Actor
TimedSubProcess. getCallableActor()
Returns the currently set callable actor.Actor
TimedTee. getCallableActor()
Returns the currently set callable actor.Actor
TimedTrigger. getCallableActor()
Returns the currently set callable actor.Actor[]
Switch. getCases()
Returns the cases.Actor
TryCatch. getCatch()
Returns the try branch.protected Actor
TryCatch. getDefaultCatch()
Returns the default catch branch.protected Actor
IfStorageValue. getDefaultElse()
Returns the default 'Else' actor.protected Actor
IfThenElse. getDefaultElse()
Returns the default 'Else' actor.protected Actor
IfStorageValue. getDefaultThen()
Returns the default 'Then' actor.protected Actor
IfThenElse. getDefaultThen()
Returns the default 'Then' actor.protected Actor
TryCatch. getDefaultTry()
Returns the default try branch.Actor
IfStorageValue. getElseActor()
Returns the actor of the 'else' branch.Actor
IfThenElse. getElseActor()
Returns the actor of the 'else' branch.Actor[]
LoadBalancer. getLoadActors()
Returns the load actors.Actor
StorageQueueHandler. getLogging()
Returns the logging actor.Actor
StorageQueueHandler. getMonitoring()
Returns the monitoring actor.Actor
Flow. getRoot()
Returns the root of this actor, e.g., the group at the highest level.Actor
UpdateProperties. getSubActor()
Returns the sub-actor.Actor
IfStorageValue. getThenActor()
Returns the actor of the 'then' branch.Actor
IfThenElse. getThenActor()
Returns the actor of the 'then' branch.Actor
TryCatch. getTry()
Returns the try branch.Actor
AbstractControlActor. lastActive()
Returns the last non-skipped actor.Actor
FileProcessor. lastActive()
Returns the last non-skipped actor.Actor
AbstractTee. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
Branch. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
FileProcessor. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
LaunchTee. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
LaunchTrigger. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
LoadBalancer. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
LocalScopeSubProcess. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
MutableConnectedControlActor. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
MutableControlActor. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
Switch. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
WhileLoop. remove(int index)
Removes the actor at the given position and returns the removed object.Methods in adams.flow.control with parameters of type Actor Modifier and Type Method Description String
AbstractTee. add(int index, Actor actor)
Inserts the actor at the given position.String
AbstractTee. add(Actor actor)
Inserts the actor at the end.String
Branch. add(int index, Actor actor)
Inserts the actor at the given position.String
Branch. add(Actor actor)
Inserts the actor at the end.String
FileProcessor. add(int index, Actor actor)
Inserts the actor at the given position.String
FileProcessor. add(Actor actor)
Inserts the actor at the end.String
LaunchTee. add(int index, Actor actor)
Inserts the actor at the given position.String
LaunchTee. add(Actor actor)
Inserts the actor at the end.String
LaunchTrigger. add(int index, Actor actor)
Inserts the actor at the given position.String
LaunchTrigger. add(Actor actor)
Inserts the actor at the end.String
LoadBalancer. add(int index, Actor actor)
Inserts the actor at the given position.String
LoadBalancer. add(Actor actor)
Inserts the actor at the end.String
LocalScopeSubProcess. add(int index, Actor actor)
Inserts the actor at the given position.String
LocalScopeSubProcess. add(Actor actor)
Inserts the actor at the end.String
MutableConnectedControlActor. add(int index, Actor actor)
Inserts the actor at the given position.String
MutableConnectedControlActor. add(Actor actor)
Inserts the actor at the end.String
MutableControlActor. add(int index, Actor actor)
Inserts the actor at the given position.String
MutableControlActor. add(Actor actor)
Inserts the actor at the end.String
Switch. add(int index, Actor actor)
Inserts the actor at the given position.String
Switch. add(Actor actor)
Inserts the actor at the end.String
WhileLoop. add(int index, Actor actor)
Inserts the actor at the given position.String
WhileLoop. add(Actor actor)
Inserts the actor at the end.String
Flow. addCallableName(ActorHandler handler, Actor actor)
Adds the callable name to the list of used ones.String
LocalScopeSubProcess. addCallableName(ActorHandler handler, Actor actor)
Adds the callable name to the list of used ones.String
LocalScopeTee. addCallableName(ActorHandler handler, Actor actor)
Adds the callable name to the list of used ones.String
LocalScopeTrigger. addCallableName(ActorHandler handler, Actor actor)
Adds the callable name to the list of used ones.String
ScopeHandler. addCallableName(ActorHandler handler, Actor actor)
Adds the callable name to the list of used ones.protected String
SequentialDirector. checkActorHasStopped(Actor actor)
Checks whether the actor has already stopped.protected String
ArrayGenerate. checkBranch(Actor branch)
Checks the sub-branch.protected String
Branch. checkBranch(Actor branch)
Checks the sub-branch.protected String
FileProcessor. checkSubActor(int index, Actor actor)
Checks the tee actor before it is set.protected String
LaunchTee. checkSubActor(int index, Actor actor)
Checks the sub actor before it is set.protected String
LaunchTrigger. checkSubActor(int index, Actor actor)
Checks the sub actor before it is set.protected String
UpdateProperties. checkSubActor(Actor actor)
Checks the sub-actor before it is set via the setSubActor method.protected String
FileProcessor. checkSubActors(Actor[] actors)
Checks the tee actors before they are set via the setTeeActors method.protected String
LaunchTee. checkSubActors(Actor[] actors)
Checks the tee actors before they are set via the setSubActors method.protected String
LaunchTrigger. checkSubActors(Actor[] actors)
Checks the tee actors before they are set via the setSubActors method.protected abstract String
AbstractTee. checkTeeActor(int index, Actor actor)
Checks the tee actor before it is set.protected String
RemoteExecutionTrigger. checkTeeActor(int index, Actor actor)
Checks the tee actor before it is set.protected String
Tee. checkTeeActor(int index, Actor actor)
Checks the tee actor before it is set.protected String
Trigger. checkTeeActor(int index, Actor actor)
Checks the tee actor before it is set.protected abstract String
AbstractTee. checkTeeActors(Actor[] actors)
Checks the tee actors before they are set via the setTeeActors method.protected String
RemoteExecutionTrigger. checkTeeActors(Actor[] actors)
Checks the tee actors before they are set via the setTeeActors method.protected String
Tee. checkTeeActors(Actor[] actors)
Checks the tee actor before it is set via the setTeeActor method.protected String
Trigger. checkTeeActors(Actor[] actors)
Checks the tee actors before they are set via the setTeeActors method.protected String
SequentialDirector. doExecute(Actor actor)
Calls the execute() method of the actor.protected String
SequentialDirector. doExecuteActors(Actor startActor)
Peforms the execution of the actors.protected String
SubProcess.SubProcessDirector. doExecuteActors(Actor startActor)
Peforms the execution of the actors.protected boolean
SequentialDirector. doHasOutput(Actor actor)
Checks whether the actor has pending output.protected String
SequentialDirector. doInput(Actor actor, Token input)
Presents the specified token to the actor.protected Token
SequentialDirector. doOutput(Actor actor)
Retrieves the token from the actor.protected String
SequentialDirector. handleError(Actor actor, String action, String msg)
Handles the given error message, calling the actor's error handler, if defined.String
TryCatch. handleError(Actor source, String type, String msg)
Handles the given error message with the flow that this actor belongs to, if the flow has error logging turned on.protected String
SequentialDirector. handleException(Actor actor, String msg, Throwable t)
Handles the error message, by outputting the exception on stderr and generating/returning a combined error string.boolean
Flow. isCallableNameUsed(ActorHandler handler, Actor actor)
Checks whether a callable name is already in use.boolean
LocalScopeSubProcess. isCallableNameUsed(ActorHandler handler, Actor actor)
Checks whether a callable name is already in use.boolean
LocalScopeTee. isCallableNameUsed(ActorHandler handler, Actor actor)
Checks whether a callable name is already in use.boolean
LocalScopeTrigger. isCallableNameUsed(ActorHandler handler, Actor actor)
Checks whether a callable name is already in use.boolean
ScopeHandler. isCallableNameUsed(ActorHandler handler, Actor actor)
Checks whether a callable name is already in use.protected void
StorageQueueHandler. log(LogEntry log, Actor actor)
Logs the log entry with the specified actor.abstract String
AbstractControlActor. set(int index, Actor actor)
Sets the actor at the given position.String
AbstractTee. set(int index, Actor actor)
Sets the actor at the given position.String
Branch. set(int index, Actor actor)
Sets the actor at the given position.String
FileProcessor. set(int index, Actor actor)
Sets the actor at the given position.String
IfStorageValue. set(int index, Actor actor)
Sets the actor at the given position.String
IfThenElse. set(int index, Actor actor)
Sets the actor at the given position.String
LaunchTee. set(int index, Actor actor)
Sets the actor at the given position.String
LaunchTrigger. set(int index, Actor actor)
Sets the actor at the given position.String
LoadBalancer. set(int index, Actor actor)
Sets the actor at the given position.String
LocalScopeSubProcess. set(int index, Actor actor)
Sets the actor at the given position.String
MutableConnectedControlActor. set(int index, Actor actor)
Sets the actor at the given position.String
MutableControlActor. set(int index, Actor actor)
Sets the actor at the given position.String
Switch. set(int index, Actor actor)
Sets the actor at the given position.String
TryCatch. set(int index, Actor actor)
Sets the actor at the given position.String
UpdateProperties. set(int index, Actor actor)
Sets the actor at the given position.String
WhileLoop. set(int index, Actor actor)
Sets the actor at the given position.void
AbstractTee. setActors(Actor[] value)
Sets the actor to tee-off to.void
FileProcessor. setActors(Actor[] value)
Sets the actor to tee-off to.void
LaunchTee. setActors(Actor[] value)
Sets the actor to launch.void
LaunchTrigger. setActors(Actor[] value)
Sets the actor to launch.void
LocalScopeSubProcess. setActors(Actor[] value)
Sets the actors of the loop.void
MutableConnectedControlActor. setActors(Actor[] value)
Sets the flow items for this sequence.void
MutableControlActor. setActors(Actor[] value)
Sets the flow items for this sequence.void
WhileLoop. setActors(Actor[] value)
Sets the actors of the loop.void
Branch. setBranches(Actor[] value)
Sets the branches.void
Switch. setCases(Actor[] value)
Sets the cases.void
TryCatch. setCatch(Actor value)
Sets the catch branch.void
IfStorageValue. setElseActor(Actor value)
Sets the actor of the 'else' branch.void
IfThenElse. setElseActor(Actor value)
Sets the actor of the 'else' branch.void
LoadBalancer. setLoadActors(Actor[] value)
Sets the load actors.void
AbstractControlActor. setParent(Actor value)
Sets the parent of this actor, e.g., the group it belongs to.void
UpdateProperties. setSubActor(Actor value)
Sets the sub actor.void
IfStorageValue. setThenActor(Actor value)
Sets the actor of the 'then' branch.void
IfThenElse. setThenActor(Actor value)
Sets the actor of the 'then' branch.void
TryCatch. setTry(Actor value)
Sets the try branch.Constructors in adams.flow.control with parameters of type Actor Constructor Description StorageQueueHandler(String name, int limit, Actor logging, Actor monitoring)
Initializes the queue with the specified limit and logging. -
Uses of Actor in adams.flow.control.errorpostprocessor
Fields in adams.flow.control.errorpostprocessor declared as Actor Modifier and Type Field Description protected Actor
OutOfMemory. m_LogActor
the callable log actor.Methods in adams.flow.control.errorpostprocessor with parameters of type Actor Modifier and Type Method Description protected void
AbstractErrorPostProcessor. check(ErrorHandler handler, Actor source, String type, String msg)
Hook method for checks.protected void
OutOfMemory. check(ErrorHandler handler, Actor source, String type, String msg)
Hook method for checks.protected abstract void
AbstractErrorPostProcessor. doPostProcessError(ErrorHandler handler, Actor source, String type, String msg)
Performs the actual post-processing of the error.protected void
Null. doPostProcessError(ErrorHandler handler, Actor source, String type, String msg)
Does nothing.protected void
OutOfMemory. doPostProcessError(ErrorHandler handler, Actor source, String type, String msg)
Performs the actual post-processing of the error.void
AbstractErrorPostProcessor. postProcessError(ErrorHandler handler, Actor source, String type, String msg)
Post-processes the error.void
ErrorPostProcessor. postProcessError(ErrorHandler handler, Actor source, String type, String msg)
Post-processes the error. -
Uses of Actor in adams.flow.core
Subinterfaces of Actor in adams.flow.core Modifier and Type Interface Description interface
ActorHandler
For actors that handle "sub-actors".interface
ActorReferenceHandler
Interface for actors that manage callable actors.interface
ActorWithConditionalEquivalent
Actors that have an conditional equivalent, i.e., one that implementsBooleanConditionSupporter
.interface
ActorWithTimedEquivalent
Actors that have a timed equivalent, i.e., one that implementsTimedActor
.interface
ArrayProvider
For actors that can output the items either as an array or one-by-one.interface
AutogeneratedActor
Indicator interface for actors that have been automatically generated.interface
AutomatableInteractiveActor
Interface for actors that interact with the user, but can also be automated, e.g., for testing purposes.interface
AutoStartSupporter
Interface for actors that support "auto-start" functionality.interface
ConnectionHandler
For actors that handle "sub-actors" that are connected.interface
ControlActor
Indicator interface for control actors.interface
DaemonEvent
Indicator interface for events that run in the background and will get executed when the Events actor gets executed.interface
DataInfoActor
Indicator interface for actors that produce information on data structures.interface
DisplayTypeSupporter
Interface for actors that allow how their graphical output is being displayed.interface
DryRunSupporter
Interface for actors that support dry runs.interface
DynamicInitializer
Interface for actors that can be initialized at runtime and files may not be present at startup time.interface
DynamicModelLoaderSupporter
Interface for classes that support model loading.interface
ErrorScopeRestrictor
Interface for actors that restrict the error scope.interface
Event
Indicator interface for actors that can be used with the Events standalone.interface
FixedNameActorHandler
Interface for actor handlers that use fixed names for their sub-actors, e.g., IfThenElse.interface
Flushable
Interface for actors that can be flushed, i.e., the execution stopped without actually stopping the actor.interface
FlushSupporter
Interface for actors that can be flushed.interface
InactiveActor
Indicator interface for actors that have been "put to sleep".interface
InputConsumer
Interface for flow actors that can process input tokens.interface
InteractiveActor
Interface for actors that interact with the user.interface
InteractiveActorWithCustomParentComponent
Interface for interactive actors that allow the selection of a custom parent component using a callable actor; instead of just using the outer dialog/frame.interface
KeyManagerFactoryProvider
Interface for actors that provide an instance to aKeyManagerFactory
.interface
LazySetupSupporter
Interface for actors that optionally perform asetUp()
call first time they get executed.interface
MutableActorHandler
Interface for actors that allow to add/remove sub-actors as well.interface
OptionalOneTimeInitializer
Interface for actors that can be fixed to be only initialized once.interface
OptionalPasswordPrompt
Interface for actors that prompt the user to enter a password in case no password currently provided.interface
OptionalStopRestrictor
Interface for stop restrictors that can turn on/off stop restrictions.interface
OutputProducer
Interface for flow actors that generate output.interface
PauseStateHandler
Interface for actors that manage the pause state in some sense.interface
PropertiesUpdater
Interface for actors that update one or more properties of a Java object using variables.interface
RemoteExecutionHandler
Interface for actors that manage remote execution.interface
RestorableActor
Interface for actors that can save their state to disk and restore it again next time they are run.interface
SortableActorHandler
Interface for actor handlers that can sort their child actors.interface
SSLContextProvider
Interface for actors that provide access to an instance ofSSLContext
.interface
StopModeSupporter
Interface for actors that support a specific stop mode.interface
StopRestrictor
Interface for actors that can limit the scope of theStop
control actor or other actors that can stop the execution.interface
SubFlowWrapUp
Interface for actors that can wrap-up (i.e., save memory) their sub-actors and, if need be, re-initialize again.interface
TimedActor
Interface for actors that time their execution and send the timing data to a callable actor.interface
TokenEventHandler
Interface for actors that supportTokenEvent
s and handleTokenListener
s.interface
TriggerableEvent
Indicator interface for events that can be triggered with the TriggerEvent actor.interface
TrustManagerFactoryProvider
Interface for actors that provide an instance to aTrustManagerFactory
.interface
WeakExternalActor
Indicator interface for weak external actor handlers, which are only used at design time and deactivated at runtime.Classes in adams.flow.core that implement Actor Modifier and Type Class Description class
AbstractActor
Abstract base class for actors.class
AbstractBaseExternalActor
Ancestor of actors that load another actor from disk and execute it.class
AbstractCallableActor
Abstract ancestor for all actors that access callable actors.class
AbstractCallableActorPropertyUpdater
Abstract ancestor for actors that manipulate properties of callable actors, e.g., WEKA classes.class
AbstractCopyCallableActor
Ancestor for actors that use a copy of a callable actor.class
AbstractDisplay
Ancestor for actors that display stuff.class
AbstractExternalActor
Ancestor of actors that load another actor from disk and execute it.class
AbstractGroovyActor
Abstract ancestor for actors that execute Groovy scripts.class
AbstractIncludeExternalActor
Ancestor for actors that get replaced with the externally stored actor.class
AbstractPropertyUpdater
Abstract ancestor for actors that manipulate properties of objects.class
AbstractScriptedActor
Abstract ancestor for actors that execute external scripts.class
AbstractScriptingHandlerActor
Abstract ancestor for actors that execute external scripts using a scripting handler.class
AbstractTemplate
Abstract ancestor for all actors that use a template to generate the actual actor/sub-flow to be executed.Fields in adams.flow.core declared as Actor Modifier and Type Field Description protected Actor
AbstractTemplate. m_Actor
the generated actor.protected Actor
ActorStatistic. m_Actor
the actor to create the statistics for.protected Actor
AbstractGroovyActor. m_ActorObject
the loaded script object.protected Actor
AbstractScriptingHandlerActor. m_ActorObject
the loaded script object.protected Actor
AbstractCallableActor. m_CallableActor
the callable actor.protected Actor
AbstractCallableActorPropertyUpdater. m_CallableActor
the callable actor to update the property for.protected Actor
AbstractExternalActor. m_ExternalActor
the external actor itself.protected Actor
FlowVariables. m_Flow
the flow reference.protected Actor
AbstractModelLoader. m_FlowContext
the flow context.protected Actor
AbstractPyroCall. m_FlowContext
the flow context.protected Actor
ObjectRetriever. m_FlowContext
the flow context.protected Actor
AbstractActor. m_Parent
the parent actor this actor is part of, e.g., a sequence.protected Actor
AbstractActor. m_Self
the actor itself.Methods in adams.flow.core with type parameters of type Actor Modifier and Type Method Description static <T extends Actor & VariablesHandler>
voidActorUtils. updateProgrammaticVariables(T context, File flow)
Adds some programmatic variables.Methods in adams.flow.core that return Actor Modifier and Type Method Description static Actor
ActorUtils. cleanUpFlow(Actor actor)
Cleans up the flow, e.g., removing disabled actors, unused callable actors.static Actor
CallableActorHelper. createCallableActor(Actor actor)
Turns the specified actor into a callable actor.static Actor
ActorUtils. createExternalActor(Actor[] actors, ActorHandler suggestion)
Ensures that the actors are enclosed in an "instantiable" wrapper.protected Actor
AbstractCallableActor. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
AbstractCopyCallableActor. findCallableActor()
Tries to find the callable actor referenced by its name.Actor
CallableActorHelper. findCallableActor(ActorHandler handler, CallableActorReference name)
Checks a control actor's children whether they contain the callable actor that we're looking for.Actor
CallableActorHelper. findCallableActor(Actor root, CallableActorReference name)
Tries to find the callable actor referenced by its name.Actor
CallableActorHelper. findCallableActor(ActorReferenceHandler handler, CallableActorReference name)
Checks a reference handler's children whether they contain the callable actor that we're looking for.Actor
CallableActorHelper. findCallableActorRecursive(Actor actor, CallableActorReference name)
Tries to find the referenced callable actor.protected static Actor
ActorUtils. findClosestType(ActorHandler handler, Class type)
Checks an actor handler's children whether they contain the actor type we're looking for.static Actor
ActorUtils. findClosestType(Actor actor, Class type)
Tries to find the closest type in the actor tree, starting with the current actor.static Actor
ActorUtils. findClosestType(Actor actor, Class type, boolean includeSameLevel)
Tries to find the closest type in the actor tree, starting with the current actor.Actor
EventHelper. findEvent(ActorHandler group, EventReference name)
Checks a control actor's children whether they contain the event that we're looking for.Actor
EventHelper. findEvent(Actor root, EventReference name)
Tries to find the event referenced by its global name.Actor
EventHelper. findEventRecursive(Actor actor, EventReference name)
Tries to find the referenced event.Actor
CallableActorHelper. findMultiView(ActorHandler handler, CallableActorReference name)
Checks a control actor's children whether they contain the multi-view actor that we're looking for.Actor
CallableActorHelper. findMultiViewRecursive(Actor actor, CallableActorReference name)
Tries to find the referenced multi-view actor.Actor
ActorHandler. firstActive()
Returns the first non-skipped actor.static Actor
AbstractActor. forCommandLine(String cmdline)
Instantiates the item from the given commandline (i.e., classname and optional options).static Actor
AbstractActor. forName(String classname, String[] options)
Instantiates the item with the given options.static Actor
AbstractActor. forName(String classname, String[] options, boolean quiet)
Instantiates the item with the given options.Actor
ActorHandler. get(int index)
Returns the actor at the given position.Actor
ActorStatistic. getActor()
Returns the underlying actor.Actor
AbstractTemplate. getActualActor()
Returns the actual actor that was generated from the template.Actor
AbstractCallableActor. getCallableActor()
Returns the currently set callable actor.Actor
CallableActorUser. getCallableActor()
Returns the currently set callable actor.Actor
TimedActor. getCallableActor()
Returns the currently set callable actor.protected abstract Actor
AbstractCopyCallableActor. getDefaultActor()
Returns the default actor if the callable actor is optional and not found.Actor
AbstractExternalActor. getExternalActor()
Returns the external actor.Actor
ExternalActorHandler. getExternalActor()
Returns the external actor.Actor
FlowVariables. getFlow()
Returns the flow to obtain callable actors from.Actor
AbstractModelLoader. getFlowContext()
Returns the flow context, if any.Actor
AbstractPyroCall. getFlowContext()
Returns the flow context, if any.Actor
FlowContextHandler. getFlowContext()
Returns the flow context, if any.Actor
ObjectRetriever. getFlowContext()
Returns the flow context, if any.Actor
AbstractTemplate. getInternalActor()
Returns the internal actor.Actor
InternalActorHandler. getInternalActor()
Returns the internal actor.Actor
AbstractActor. getNextSibling()
If the actor is part of a group, this method returns the actor following it in that group.Actor
Actor. getNextSibling()
If the actor is part of a group, this method returns the actor following it in that group.Actor
AbstractActor. getParent()
Returns the parent of this actor, e.g., the group.Actor
Actor. getParent()
Returns the parent of this actor, e.g., the group.Actor
AbstractActor. getPreviousSibling()
If the actor is part of a group, this method returns the actor preceding it in that group.Actor
Actor. getPreviousSibling()
If the actor is part of a group, this method returns the actor preceding it in that group.Actor
AbstractActor. getRoot()
Returns the root of this actor, e.g., the group at the highest level.Actor
Actor. getRoot()
Returns the root of this actor, e.g., the group at the highest level.protected static Actor
StopHelper. getRoot(Actor context)
Returns the root actor.static Actor
StopHelper. getStopActor(Actor context, StopMode mode)
Determines the actor to call the stopExecution method on.protected static Actor
StopHelper. getStopRestrictor(Actor context)
Returns the enclosingStopRestrictor
.Actor
ActorHandler. lastActive()
Returns the last non-skipped actor.static Actor
ActorUtils. locate(ActorPath path, Actor parent)
Tries to locate the actor specified by the path parts.static Actor
ActorUtils. locate(ActorPath path, Actor parent, boolean included, boolean quiet)
Tries to locate the actor specified by the path parts.static Actor
ActorUtils. locate(String path, Actor root)
Locates the actor in the actor tree based on the specified path.static Actor
ActorUtils. locate(String path, Actor root, boolean included, boolean quiet)
Locates the actor in the actor tree based on the specified path.static Actor
ActorUtils. read(String filename)
Reads an actor from a file.static Actor
ActorUtils. read(String filename, MessageCollection errors)
Reads an actor from a file.static Actor
ActorUtils. read(String filename, MessageCollection errors, MessageCollection warnings)
Reads an actor from a file.Actor
MutableActorHandler. remove(int index)
Removes the actor at the given position and returns the removed object.static Actor
ActorUtils. removeDisabledActors(Actor actor)
Removes all disabled actors (recursively) from the actor.Actor
AbstractActor. shallowCopy()
Returns a shallow copy of itself, i.e., based on the commandline options.Actor
AbstractActor. shallowCopy(boolean expand)
Returns a shallow copy of itself, i.e., based on the commandline options.Actor
Actor. shallowCopy()
Returns a shallow copy of itself, i.e., based on the commandline options.Actor
Actor. shallowCopy(boolean expand)
Returns a shallow copy of itself, i.e., based on the commandline options.static Actor
ActorUtils. strip(Actor actor)
Returns a stripped down version of the actor, i.e., for ActorHandlers, a copy of the actor without any sub-actors gets returned.Methods in adams.flow.core that return types with arguments of type Actor Modifier and Type Method Description static List<Actor>
ActorUtils. enumerate(Actor actor)
Enumerates all children of the given actor (depth-first search).static List<Actor>
ActorUtils. enumerate(Actor actor, ActorFilter filter)
Enumerates all children of the given actor (depth-first search).static List<Actor>
ActorUtils. enumerate(Actor actor, Class[] filter)
Enumerates all children of the given actor (depth-first search).static List<Actor>
CallableActorHelper. findAllCallableActors(Actor flow)
Returns allCallableActors
instances that can be located in the flowList<Actor>
CallableActorHelper. findCallableActorsRecursive(Actor actor)
Locates all callable actors .protected static List<Actor>
ActorUtils. findClosestTypes(ActorHandler handler, Class type)
Checks an actor handler's children whether they contain the actor type we're looking for.static List<Actor>
ActorUtils. findClosestTypes(Actor actor, Class type)
Tries to find the closest types in the actor tree, starting with the current actor.static List<Actor>
ActorUtils. findClosestTypes(Actor actor, Class type, boolean includeSameLevel)
Tries to find the closest types in the actor tree, starting with the current actor.Methods in adams.flow.core with parameters of type Actor Modifier and Type Method Description void
CallableNamesRecorder. add(ActorHandler handler, Actor actor)
Adds the name to the recorded ones.String
MutableActorHandler. add(int index, Actor actor)
Inserts the actor at the given position.String
MutableActorHandler. add(Actor actor)
Inserts the actor at the end.protected abstract String
AbstractCopyCallableActor. checkCallableActor(Actor actor)
Performs checks on the callable actor.protected abstract String
AbstractIncludeExternalActor. checkExternalActor(Actor actor)
Performs checks on the external actor.static String
ActorUtils. checkFlow(Actor actor, boolean variables, boolean storage, File file)
Checks the flow.static String
ActorUtils. checkFlow(Actor actor, File file)
Checks the flow.static boolean
ActorUtils. checkForCallableActorUser(Actor actor)
Checks whether a callable actor user is present in this sub-tree.static boolean
ActorUtils. checkForExternalActor(Actor actor)
Checks whether an external actor is present in this sub-tree.static String
ActorUtils. checkForSource(Actor actor)
Checks whether the actor has a source as first actor (can be nested).static String
ActorUtils. checkForSource(Actor[] actors)
Checks whether the actors have a source as first actor (can be nested).static Actor
ActorUtils. cleanUpFlow(Actor actor)
Cleans up the flow, e.g., removing disabled actors, unused callable actors.int
ActorComparator. compare(Actor o1, Actor o2)
For comparing actors.int
DefaultActorComparator. compare(Actor o1, Actor o2)
For comparing actors.boolean
CallableNamesRecorder. contains(ActorHandler handler, Actor actor)
Checks whether the name of the actor is already in use.static Actor
CallableActorHelper. createCallableActor(Actor actor)
Turns the specified actor into a callable actor.static CallableActors
CallableActorHelper. createCallableActors(Actor actor, boolean insert)
Returns theCallableActors
instance.static Actor
ActorUtils. createExternalActor(Actor[] actors, ActorHandler suggestion)
Ensures that the actors are enclosed in an "instantiable" wrapper.static int
ActorUtils. determineNumActors(Actor flow)
Returns how many actors this flow is made of.static String
InteractionDisplayLocationHelper. display(Actor context, GUIHelper.DialogCommunication comm, GUIHelper.InputPanelWithButtons panel)
Displays the panel in the notification area.static String
InteractionDisplayLocationHelper. display(Actor context, GUIHelper.DialogCommunication comm, GUIHelper.InputPanelWithComboBox panel, int btnJustification)
Displays the panel in the notification area.static String
InteractionDisplayLocationHelper. display(Actor context, GUIHelper.DialogCommunication comm, GUIHelper.InputPanelWithTextArea panel, int btnJustification)
Displays the panel in the notification area.static Boolean
InteractionDisplayLocationHelper. display(Actor context, GUIHelper.DialogCommunication comm, JPanel panel, int btnJustification)
Displays the panel in the notification area.static Boolean
InteractionDisplayLocationHelper. display(Actor context, GUIHelper.DialogCommunication comm, JPanel panel, int btnJustification, String icon)
Displays the panel in the notification area.static EncapsulatedActorsContainer
EncapsulateActors. encapsulate(Actor actor, VariableName[] vars, StorageName[] items)
Encapsulates the actor as is.static EncapsulatedActorsContainer
EncapsulateActors. encapsulate(Actor actor, VariableName[] vars, StorageName[] items, Object input)
Encapsulates the actor as is.static boolean
QueueHelper. enqueue(Actor actor, StorageName queue, Object payload)
Queues the payload in the specified queue.static boolean
QueueHelper. enqueueDelayedAt(Actor actor, StorageName queue, Object payload, long retrievalAt)
Queues the payload in the specified queue, applying the specified retrieval timestamp.static boolean
QueueHelper. enqueueDelayedBy(Actor actor, StorageName queue, Object payload, long retrievalDelay)
Queues the payload in the specified queue, applying the specified retrieval delay.static String
ActorUtils. ensureValidVariables(Actor actor)
Ensures that the variables within this actor are valid.static List<Actor>
ActorUtils. enumerate(Actor actor)
Enumerates all children of the given actor (depth-first search).static List<Actor>
ActorUtils. enumerate(Actor actor, ActorFilter filter)
Enumerates all children of the given actor (depth-first search).static List<Actor>
ActorUtils. enumerate(Actor actor, Class[] filter)
Enumerates all children of the given actor (depth-first search).protected static void
ActorUtils. enumerate(Actor actor, List<Actor> children, ActorFilter filter)
Enumerates all children of the given actor (depth-first search).static List<String>
ActorUtils. extractActorNames(Actor current, String text)
Extracts all the valid actor names from the given text fragment that exist within the specified flow.static List<ActorHandler>
ActorUtils. findActorHandlers(Actor actor)
Returns a list of actor handlers, starting from the current note (excluded).static List<ActorHandler>
ActorUtils. findActorHandlers(Actor actor, boolean mustAllowStandalones)
Returns a list of actor handlers, starting from the current note (excluded).static List<ActorHandler>
ActorUtils. findActorHandlers(Actor actor, boolean mustAllowStandalones, boolean includeSameLevel)
Returns a list of actor handlers, starting from the current note (excluded).static List<Actor>
CallableActorHelper. findAllCallableActors(Actor flow)
Returns allCallableActors
instances that can be located in the flowActor
CallableActorHelper. findCallableActor(Actor root, CallableActorReference name)
Tries to find the callable actor referenced by its name.Actor
CallableActorHelper. findCallableActorRecursive(Actor actor, CallableActorReference name)
Tries to find the referenced callable actor.List<Actor>
CallableActorHelper. findCallableActorsRecursive(Actor actor)
Locates all callable actors .static Hashtable<String,Integer>
ActorUtils. findCallableTransformers(Actor actor)
Locates callable transformers.static Actor
ActorUtils. findClosestType(Actor actor, Class type)
Tries to find the closest type in the actor tree, starting with the current actor.static Actor
ActorUtils. findClosestType(Actor actor, Class type, boolean includeSameLevel)
Tries to find the closest type in the actor tree, starting with the current actor.static List<Actor>
ActorUtils. findClosestTypes(Actor actor, Class type)
Tries to find the closest types in the actor tree, starting with the current actor.static List<Actor>
ActorUtils. findClosestTypes(Actor actor, Class type, boolean includeSameLevel)
Tries to find the closest types in the actor tree, starting with the current actor.Actor
EventHelper. findEvent(Actor root, EventReference name)
Tries to find the event referenced by its global name.Actor
EventHelper. findEventRecursive(Actor actor, EventReference name)
Tries to find the referenced event.Actor
CallableActorHelper. findMultiViewRecursive(Actor actor, CallableActorReference name)
Tries to find the referenced multi-view actor.protected HashSet<String>
AbstractActor. findVariables(Actor actor)
Recursively finds all the variables used in the specified actor's setup.static String
ActorUtils. forceVariables(Actor actor, Variables vars)
Forces the update of the variables of this actor.static AbstractDatabaseConnection
ActorUtils. getDatabaseConnection(Actor actor, Class cls, AbstractDatabaseConnection defCon)
Returns the database connection object to use.static int
ActorUtils. getFlowID(Actor source)
Returns the flow ID (if possible) for the given actor.static FlowWorkerHandler
InteractionDisplayLocationHelper. getFlowWorkerHandler(Actor context)
Retrieves the FlowWorkerHandler from the context.static String
ActorUtils. getFunctionalAspect(Actor actor)
Determines the functional aspect of an actor.static String
ActorUtils. getProceduralAspect(Actor actor)
Determines the procedural aspect of an actor.static StorageQueueHandler
QueueHelper. getQueue(Actor actor, StorageName queue)
Returns the specified queue.protected static Actor
StopHelper. getRoot(Actor context)
Returns the root actor.static Object
CallableActorHelper. getSetup(Class cls, CallableActorReference name, Actor start, MessageCollection errors)
Returns the setup obtained from the callable actor, source or transformer.protected static Object
CallableActorHelper. getSetup(Class cls, CallableActorReference name, Actor start, AbstractCallableActor callable, MessageCollection errors)
Returns the setup obtained from the callable actor, source or transformer.static Object
CallableActorHelper. getSetupFromSource(Class cls, CallableActorReference name, Actor start, MessageCollection errors)
Returns the setup obtained from the callable source.static Object
CallableActorHelper. getSetupFromTransformer(Class cls, CallableActorReference name, Actor start, MessageCollection errors)
Returns the setup obtained from the callable transformer.static Actor
StopHelper. getStopActor(Actor context, StopMode mode)
Determines the actor to call the stopExecution method on.protected static Actor
StopHelper. getStopRestrictor(Actor context)
Returns the enclosingStopRestrictor
.static Storage
EncapsulateActors. getStorage(Actor context, StorageName[] items)
Extracts the specified storage items and returns the subset.static Variables
EncapsulateActors. getVariables(Actor context, VariableName[] vars)
Extracts the specified variables and their values and returns the subset.String
AbstractActor. handleError(Actor source, String type, String msg)
Handles the given error message with the flow that this actor belongs to, if the flow has error logging turned on.String
Actor. handleError(Actor source, String type, String msg)
Handles the given error message with the flow that this actor belongs to, if the flow has error logging turned on.String
ErrorHandler. handleError(Actor source, String type, String msg)
Handles the given error message with the flow that the actor belongs to, if the flow has error logging turned on.static boolean
QueueHelper. hasQueue(Actor actor, StorageName queue)
Checks whether the specified queue is available.static boolean
ActorUtils. isActorHandler(Actor actor)
Checks whether this actor is an actor handler.static boolean
ActorUtils. isControlActor(Actor actor)
Checks whether this actor is a control actor.static boolean
ActorUtils. isInteractive(Actor actor)
Checks whether the actor or its sub-actors are interactive ones.static boolean
ActorUtils. isSink(Actor actor)
Checks whether this actor is a sink (input).protected boolean
ActorStatistic. isSkipped(Actor actor)
Checks whether the actor itself or one of its parents is skipped.static boolean
ActorUtils. isSource(Actor actor)
Checks whether this actor is a source (output).static boolean
ActorUtils. isStandalone(Actor actor)
Checks whether this actor is a standalone.static boolean
ActorUtils. isTransformer(Actor actor)
Checks whether this actor is a transformer (input/output).static Actor
ActorUtils. locate(ActorPath path, Actor parent)
Tries to locate the actor specified by the path parts.static Actor
ActorUtils. locate(ActorPath path, Actor parent, boolean included, boolean quiet)
Tries to locate the actor specified by the path parts.static Actor
ActorUtils. locate(String path, Actor root)
Locates the actor in the actor tree based on the specified path.static Actor
ActorUtils. locate(String path, Actor root, boolean included, boolean quiet)
Locates the actor in the actor tree based on the specified path.static com.github.fracpete.javautils.struct.Struct3<KeyManagerFactoryProvider,TrustManagerFactoryProvider,SSLContextProvider>
TLSHelper. locateActors(Actor context, boolean requireAll)
Locates the following actors KeyManager (=0), TrustManager (=1), SSLContext (=2)void
PauseStateManager. pause(Actor source)
Pauses the flow.static BasePassword
ActorUtils. promptPassword(Actor context)
Performs the interaction with the user.static BasePassword
ActorUtils. promptPassword(Actor context, String labelText)
Performs the interaction with the user.static Actor
ActorUtils. removeDisabledActors(Actor actor)
Removes all disabled actors (recursively) from the actor.void
PauseStateManager. resume(Actor source)
Resumes the flow.String
ActorHandler. set(int index, Actor actor)
Sets the actor at the given position.void
ActorStatistic. setActor(Actor value)
Sets the actor to generate the statistics for.protected static String
ActorUtils. setActors(ActorHandler handler, Actor[] actors)
Sets the actors in the handler.void
FlowVariables. setFlow(Actor value)
Sets the flow to obtain callable actors from.void
AbstractModelLoader. setFlowContext(Actor value)
Sets the flow context.void
AbstractPyroCall. setFlowContext(Actor value)
Sets the flow context.void
FlowContextHandler. setFlowContext(Actor value)
Sets the flow context.void
ObjectRetriever. setFlowContext(Actor value)
Sets the flow context.void
AbstractActor. setParent(Actor value)
Sets the parent of this actor, e.g., the group it belongs to.void
AbstractExternalActor. setParent(Actor value)
Sets the parent of this actor, e.g., the group it belongs to.void
Actor. setParent(Actor value)
Sets the parent of this actor, e.g., the group it belongs to.static String
StopHelper. stop(Actor context, StopMode mode)
Stops the flow using the specified stop mode, with no message.static String
StopHelper. stop(Actor context, StopMode mode, String message)
Stops the flow using the specified stop mode, with no message.static Actor
ActorUtils. strip(Actor actor)
Returns a stripped down version of the actor, i.e., for ActorHandlers, a copy of the actor without any sub-actors gets returned.static List
ActorUtils. transform(Actor transformer, Object input)
Processes the data using the specified transformer.static boolean
ActorUtils. uniqueName(Actor actor, ActorHandler handler, int index)
Updates the name of the actor to make it unique among all the other actors of the given handler.static boolean
ActorUtils. uniqueName(Actor actor, Set<String> names)
Updates the name of the actor to make it unique among all the other specified names.static boolean
ActorUtils. uniqueName(Actor actor, Set<String> names, boolean tailRemoval)
Updates the name of the actor to make it unique among all the other specified names.static boolean
ActorUtils. uniqueNames(Actor[] actors)
Updates the names of the actors to make then unique among all of them.void
ActorStatistic. update(Actor actor)
Updates the statistics with the specified actor.static void
PropertiesUpdaterHelper. update(Actor context, Object obj, BaseString[] props, VariableName[] vars, PropertyPath.PropertyContainer[] conts, MessageCollection errors)
Updates the properties of the object using the current values of the variables.static void
ActorUtils. updateErrorHandler(Actor actor, ErrorHandler handler, boolean trace)
Updates the error handler.static void
ActorUtils. updateFlowAwarePaintlet(Paintlet paintlet, Actor actor)
Updates a "flow-aware" paintlet with the specified actor.static void
ActorUtils. updateFlowAwarePaintlets(PaintablePanel panel, Actor actor)
Updates all the "flow-aware" paintlets of the panel with the specified actor.static void
ActorUtils. updateProgrammaticVariables(VariablesHandler handler, Actor context, File flow)
Adds some programmatic variables.static EncapsulatedActorsContainer
EncapsulateActors. wrap(Actor actor, VariableName[] vars, StorageName[] items)
Wraps the actor to obtain a fully self-container flow.static EncapsulatedActorsContainer
EncapsulateActors. wrap(Actor actor, VariableName[] vars, StorageName[] items, Object input)
Wraps the actor to obtain a fully self-container flow.static boolean
ActorUtils. write(String filename, Actor actor)
Writes the actor to a file.Method parameters in adams.flow.core with type arguments of type Actor Modifier and Type Method Description protected static void
ActorUtils. enumerate(Actor actor, List<Actor> children, ActorFilter filter)
Enumerates all children of the given actor (depth-first search).protected void
CallableActorHelper. findCallableActors(ActorHandler handler, List<Actor> collected)
Locates callable actors.protected void
CallableActorHelper. findCallableActors(ActorReferenceHandler handler, List<Actor> collected)
Locates callable actors.Constructors in adams.flow.core with parameters of type Actor Constructor Description ActorStatistic(Actor actor)
Initializes the statistics with the specified actor. -
Uses of Actor in adams.flow.core.actorfilter
Methods in adams.flow.core.actorfilter with parameters of type Actor Modifier and Type Method Description boolean
AcceptAll. accept(Actor actor)
Returns whether the actor should be kept.boolean
ActorFilter. accept(Actor actor)
Returns whether the actor should be kept.boolean
ExactMatch. accept(Actor actor)
Returns whether the actor should be kept.boolean
Invert. accept(Actor actor)
Returns whether the actor should be kept.boolean
Match. accept(Actor actor)
Returns whether the actor should be kept.boolean
SuperclassOrInterface. accept(Actor actor)
Returns whether the actor should be kept. -
Uses of Actor in adams.flow.execution
Fields in adams.flow.execution declared as Actor Modifier and Type Field Description protected Actor
Debug. m_Current
the current actor.Methods in adams.flow.execution with parameters of type Actor Modifier and Type Method Description protected void
ExecutionLog. add(String origin, Actor actor, String msg, Token token)
Writes a message to the log file.void
AbstractFlowExecutionListener. postExecute(Actor actor)
Gets called after the actor was executed.void
CurrentlyExecuted. postExecute(Actor actor)
Gets called after the actor was executed.void
Debug. postExecute(Actor actor)
Gets called after the actor was executed.void
ExecutionCounter. postExecute(Actor actor)
Gets called after the actor was executed.void
ExecutionLog. postExecute(Actor actor)
Gets called after the actor was executed.void
FlowExecutionListener. postExecute(Actor actor)
Gets called after the actor was executed.void
MultiListener. postExecute(Actor actor)
Gets called after the actor was executed.void
Time. postExecute(Actor actor)
Gets called after the actor was executed.void
AbstractFlowExecutionListener. postInput(Actor actor)
Gets called after the actor received the token.void
Debug. postInput(Actor actor)
Gets called after the actor received the token.void
ExecutionLog. postInput(Actor actor)
Gets called after the actor received the token.void
FlowExecutionListener. postInput(Actor actor)
Gets called after the actor received the token.void
MultiListener. postInput(Actor actor)
Gets called after the actor received the token.void
Time. postInput(Actor actor)
Gets called after the actor received the token.void
AbstractFlowExecutionListener. postOutput(Actor actor, Token token)
Gets called after a token was acquired from the actor.void
Debug. postOutput(Actor actor, Token token)
Gets called after a token was acquired from the actor.void
ExecutionLog. postOutput(Actor actor, Token token)
Gets called after a token was acquired from the actor.void
FlowExecutionListener. postOutput(Actor actor, Token token)
Gets called after a token was acquired from the actor.void
MultiListener. postOutput(Actor actor, Token token)
Gets called after a token was acquired from the actor.void
Time. postOutput(Actor actor, Token token)
Gets called after a token was acquired from the actor.void
AbstractFlowExecutionListener. preExecute(Actor actor)
Gets called before the actor gets executed.void
CurrentlyExecuted. preExecute(Actor actor)
Gets called before the actor gets executed.void
Debug. preExecute(Actor actor)
Gets called before the actor gets executed.void
ExecutionLog. preExecute(Actor actor)
Gets called before the actor gets executed.void
FlowExecutionListener. preExecute(Actor actor)
Gets called before the actor gets executed.void
MultiListener. preExecute(Actor actor)
Gets called before the actor gets executed.void
Time. preExecute(Actor actor)
Gets called before the actor gets executed.void
AbstractFlowExecutionListener. preInput(Actor actor, Token token)
Gets called before the actor receives the token.void
Debug. preInput(Actor actor, Token token)
Gets called before the actor receives the token.void
ExecutionLog. preInput(Actor actor, Token token)
Gets called before the actor receives the token.void
FlowExecutionListener. preInput(Actor actor, Token token)
Gets called before the actor receives the token.void
MultiListener. preInput(Actor actor, Token token)
Gets called before the actor receives the token.void
Time. preInput(Actor actor, Token token)
Gets called before the actor receives the token.void
AbstractFlowExecutionListener. preOutput(Actor actor)
Gets called before a token gets obtained from the actor.void
Debug. preOutput(Actor actor)
Gets called before a token gets obtained from the actor.void
ExecutionLog. preOutput(Actor actor)
Gets called before a token gets obtained from the actor.void
FlowExecutionListener. preOutput(Actor actor)
Gets called before a token gets obtained from the actor.void
MultiListener. preOutput(Actor actor)
Gets called before a token gets obtained from the actor.void
Time. preOutput(Actor actor)
Gets called before a token gets obtained from the actor.protected void
Debug. triggered(AbstractBreakpoint point, Actor actor, ExecutionStage stage)
Suspends the flow execution.protected void
Debug. triggered(AbstractBreakpoint point, Actor actor, ExecutionStage stage, Token token)
Suspends the flow execution. -
Uses of Actor in adams.flow.execution.debug
Fields in adams.flow.execution.debug declared as Actor Modifier and Type Field Description protected Actor
ControlPanel. m_CurrentActor
the current actor.Methods in adams.flow.execution.debug that return Actor Modifier and Type Method Description Actor
ControlPanel. getCurrentActor()
Returns the current actor.Methods in adams.flow.execution.debug with parameters of type Actor Modifier and Type Method Description abstract boolean
AbstractScopeRestriction. checkScope(Actor actor, ExecutionStage stage)
Checks whether the specified actor falls within the scope.boolean
MultiScopeRestriction. checkScope(Actor actor, ExecutionStage stage)
Checks whether the specified actor falls within the scope.boolean
NoScopeRestriction. checkScope(Actor actor, ExecutionStage stage)
Checks whether the specified actor falls within the scope.boolean
SubFlowRestriction. checkScope(Actor actor, ExecutionStage stage)
Checks whether the specified actor falls within the scope.protected abstract boolean
AbstractBreakpoint. evaluatePostExecute(Actor actor)
Evaluates the breakpoint at post-execute.protected boolean
AnyActorBreakpoint. evaluatePostExecute(Actor actor)
Evaluates the breakpoint at post-execute.protected boolean
ClassBreakpoint. evaluatePostExecute(Actor actor)
Evaluates the breakpoint at post-execute.protected boolean
PathBreakpoint. evaluatePostExecute(Actor actor)
Evaluates the breakpoint at post-execute.protected abstract boolean
AbstractBreakpoint. evaluatePostInput(Actor actor)
Evaluates the breakpoint at post-input.protected boolean
AnyActorBreakpoint. evaluatePostInput(Actor actor)
Evaluates the breakpoint at post-input.protected boolean
ClassBreakpoint. evaluatePostInput(Actor actor)
Evaluates the breakpoint at post-input.protected boolean
PathBreakpoint. evaluatePostInput(Actor actor)
Evaluates the breakpoint at post-input.protected abstract boolean
AbstractBreakpoint. evaluatePostOutput(Actor actor, Token token)
Evaluates the breakpoint at post-output.protected boolean
AnyActorBreakpoint. evaluatePostOutput(Actor actor, Token token)
Evaluates the breakpoint at post-output.protected boolean
ClassBreakpoint. evaluatePostOutput(Actor actor, Token token)
Evaluates the breakpoint at post-output.protected boolean
PathBreakpoint. evaluatePostOutput(Actor actor, Token token)
Evaluates the breakpoint at post-output.protected abstract boolean
AbstractBreakpoint. evaluatePreExecute(Actor actor)
Evaluates the breakpoint at pre-execute.protected boolean
AnyActorBreakpoint. evaluatePreExecute(Actor actor)
Evaluates the breakpoint at pre-execute.protected boolean
ClassBreakpoint. evaluatePreExecute(Actor actor)
Evaluates the breakpoint at pre-execute.protected boolean
PathBreakpoint. evaluatePreExecute(Actor actor)
Evaluates the breakpoint at pre-execute.protected abstract boolean
AbstractBreakpoint. evaluatePreInput(Actor actor, Token token)
Evaluates the breakpoint at pre-input.protected boolean
AnyActorBreakpoint. evaluatePreInput(Actor actor, Token token)
Evaluates the breakpoint at pre-input.protected boolean
ClassBreakpoint. evaluatePreInput(Actor actor, Token token)
Evaluates the breakpoint at pre-input.protected boolean
PathBreakpoint. evaluatePreInput(Actor actor, Token token)
Evaluates the breakpoint at pre-input.protected abstract boolean
AbstractBreakpoint. evaluatePreOutput(Actor actor)
Evaluates the breakpoint at pre-output.protected boolean
AnyActorBreakpoint. evaluatePreOutput(Actor actor)
Evaluates the breakpoint at pre-output.protected boolean
ClassBreakpoint. evaluatePreOutput(Actor actor)
Evaluates the breakpoint at pre-output.protected boolean
PathBreakpoint. evaluatePreOutput(Actor actor)
Evaluates the breakpoint at pre-output.static AbstractScopeRestriction
DebugScopeRestrictionHelper. getDebugScopeRestriction(Actor actor)
Goes up in the flow locating the firstDebugScopeRestrictionHandler
to determine any different scope restrictions.void
ControlPanel. setCurrentActor(Actor value)
Sets the current actor.boolean
AbstractBreakpoint. triggersPostExecute(Actor actor)
Checks whether the breakpoint gets triggered in post-execute.boolean
AbstractBreakpoint. triggersPostInput(Actor actor)
Checks whether the breakpoint gets triggered in post-input.boolean
AbstractBreakpoint. triggersPostOutput(Actor actor, Token token)
Checks whether the breakpoint gets triggered in post-output.boolean
AbstractBreakpoint. triggersPreExecute(Actor actor)
Checks whether the breakpoint gets triggered in pre-execute.boolean
AbstractBreakpoint. triggersPreInput(Actor actor, Token token)
Checks whether the breakpoint gets triggered in pre-input.boolean
AbstractBreakpoint. triggersPreOutput(Actor actor)
Checks whether the breakpoint gets triggered in pre-output. -
Uses of Actor in adams.flow.generator
Classes in adams.flow.generator with type parameters of type Actor Modifier and Type Class Description class
AbstractFlowGenerator<T extends Actor>
Ancestor for generators that use model setups to generate flows.interface
Generator<T extends Actor>
Generator interface for flow generators.Fields in adams.flow.generator declared as Actor Modifier and Type Field Description protected T
AbstractFlowGenerator. m_Owner
the owner.Methods in adams.flow.generator that return Actor Modifier and Type Method Description protected abstract Actor
AbstractFlowGenerator. doGenerate()
Generates the flow.protected Actor
Template. doGenerate()
Generates the flow.Actor
AbstractFlowGenerator. generate()
Generates the flow and returns it.Actor
Generator. generate()
Generates the flow and returns it. -
Uses of Actor in adams.flow.processor
Fields in adams.flow.processor declared as Actor Modifier and Type Field Description protected Actor
AbstractActorListingProcessor. m_Current
the current actor being processed.protected Actor
AbstractModifyingProcessor. m_ModifiedActor
the modified flow.Fields in adams.flow.processor with type parameters of type Actor Modifier and Type Field Description protected Map<String,Actor>
RemoveUnusedReferenceableActors. m_ReferenceableActors
the referenceable actors.Methods in adams.flow.processor that return Actor Modifier and Type Method Description protected Actor
AbstractActorListingProcessor. findEnclosingActor(OptionHandler owner, OptionTraversalPath path)
Tries to locate the enclosing actor.protected Actor
AbstractActorListingProcessor. findEnclosingActor(OptionHandler owner, OptionTraversalPath path, int index)
Tries to locate the enclosing actor.Actor
AbstractModifyingProcessor. getModifiedActor()
Returns the modified actor.Actor
ModifyingProcessor. getModifiedActor()
Returns the modified actor.protected Actor
ReactivateActors. transferName(Actor source, Actor target)
Transfer the name of "source" to "target" and returns "target".Methods in adams.flow.processor with parameters of type Actor Modifier and Type Method Description protected void
AbstractActorProcessor. checkData(Actor actor)
The default implementation only checks whether there is any actor set.protected void
ChangePath. checkData(Actor actor)
The default implementation only checks whether there is any actor set.void
AbstractActorProcessor. process(Actor actor)
Processes the actor.void
AbstractModifyingProcessor. process(Actor actor)
Processes the actor.void
ActorProcessor. process(Actor actor)
Processes the actor.protected void
AbstractActorListingProcessor. processActor(Actor actor)
Performs the actual processing.protected abstract void
AbstractActorProcessor. processActor(Actor actor)
Performs the actual processing.protected void
AbstractListingProcessor. processActor(Actor actor)
Performs the actual processing.protected void
AbstractModifyingInteractiveProcessor. processActor(Actor actor)
Performs the actual processing.protected void
AbstractNameUpdater. processActor(Actor actor)
Performs the actual processing.protected void
ActorStatistics. processActor(Actor actor)
Performs the actual processing.protected void
ChangeDatabaseConditionLimit. processActor(Actor actor)
Performs the actual processing.protected void
ChangeDatabaseConnection. processActor(Actor actor)
Performs the actual processing.protected void
ChangeDisplayType. processActor(Actor actor)
Performs the actual processing.protected void
ChangeNumThreads. processActor(Actor actor)
Performs the actual processing.protected void
ChangePath. processActor(Actor actor)
Performs the actual processing.protected void
CheckActorReferenceUsage. processActor(Actor actor)
Performs the actual processing.protected void
CheckPlaceholders. processActor(Actor actor)
Performs the actual processing.protected void
CheckStorageUsage. processActor(Actor actor)
Performs the actual processing.protected void
CheckVariableUsage. processActor(Actor actor)
Performs the actual processing.protected void
FlattenStructure. processActor(Actor actor)
Performs the actual processing.protected void
ForwardSlashSwitch. processActor(Actor actor)
Performs the actual processing.protected void
ListAllStorageNames. processActor(Actor actor)
Performs the actual processing.protected void
ListAllVariables. processActor(Actor actor)
Performs the actual processing.protected void
ManageInteractiveActors. processActor(Actor actor)
Performs the actual processing.protected void
ManageTimedActors. processActor(Actor actor)
Performs the actual processing.protected void
MultiProcessor. processActor(Actor actor)
Performs the actual processing.protected void
ReactivateActors. processActor(Actor actor)
Performs the actual processing.protected void
RemoveAutogeneratedActors. processActor(Actor actor)
Performs the actual processing.protected void
RemoveBreakpoints. processActor(Actor actor)
Performs the actual processing.protected void
RemoveDisabledActors. processActor(Actor actor)
Performs the actual processing.protected void
RemoveUnusedReferenceableActors. processActor(Actor actor)
Performs the actual processing.protected void
SwapObjects. processActor(Actor actor)
Performs the actual processing.protected Actor
ReactivateActors. transferName(Actor source, Actor target)
Transfer the name of "source" to "target" and returns "target". -
Uses of Actor in adams.flow.setup
Fields in adams.flow.setup declared as Actor Modifier and Type Field Description protected Actor
FlowSetup. m_LastActor
the last actor that was executed.protected Actor
FlowSetupWorker. m_LastActor
the last actor that was run.Methods in adams.flow.setup that return Actor Modifier and Type Method Description Actor
FlowSetupWorker. getLastActor()
Returns the actor that was executed. -
Uses of Actor in adams.flow.sink
Subinterfaces of Actor in adams.flow.sink Modifier and Type Interface Description interface
DisplayPanelProvider
Interface for graphical sinks that can also generate a panel from scratch for a new token.Classes in adams.flow.sink that implement Actor Modifier and Type Class Description class
AbstractAppendableFileWriter
Ancestor for file writers that allow appending to the file instead of just replacing any existing files.class
AbstractDbSink
Ancestor for sinks that use the database.class
AbstractDisplay
Ancestor for actors that display stuff.class
AbstractFileWriter
Ancestor for sinks that write to output files.class
AbstractGraphicalDisplay
Ancestor for actors that display stuff.class
AbstractGraphicsGenerator
Ancestor for actors that generate graphics of some kind.class
AbstractScript
Ancestor for sink script actors.class
AbstractSink
Ancestor for all flow items that function as sink.class
AbstractTextualDisplay
Ancestor for actors that display textual stuff.class
AbstractWekaModelWriter
Ancestor for actors that serialize models.class
ActualVsPredictedPlot
Plots actual vs predicted columns obtained from a spreadsheet.class
ArrayDisplay
Displays the array elements in a single panel.class
AutogeneratedSink
Encapsulates a sequence of auto-generated actors.
Can be removed with the adams.flow.processor.RemoveAutogeneratedActors processor.class
BinaryFileWriter
Writes a byte array or adams.data.blob.BlobContainer to a binary file.class
BoxPlot
* Actor for displaying box plots.
*
* For more information, see:
* http://en.wikipedia.org/wiki/Box_plot *
Valid options are:class
Browser
Displays a URL in a webbrowser.
By default, the system's default browser is used.class
CallableSink
Lets a callable sink consume the input tokens.class
Canvas
General purpose drawing canvas.class
CloseInputStream
Closes the incoming input stream instance.
See also:
adams.flow.source.InputStreamGenerator
Input/output:
- accepts:
java.io.InputStream
class
CloseReader
Closes the incoming reader instance.
See also:
adams.flow.source.ReaderGenerator
Input/output:
- accepts:
java.io.Reader
class
Console
Non-graphical actor that outputs any object that arrives at its input port via the 'toString()' method on stdout.class
ContainerDisplay
Actor for displaying a spreadsheet.class
ControlChartPlot
Actor for generating control chart plots.
The plot needs to be initialized with a class adams.flow.container.ControlChartContainer.class
CopyCallableSink
Copies a callable sink to consume the tokens.class
Display
Actor that outputs any object that arrives at its input port via the 'toString()' method.class
DisplayPanelGrid
Sink that places a panel in the grid for each each arriving token.
Uses the user-defined panel provider for creating the panels.class
DisplayPanelManager
Actor that displays a 'history' of panels created by the selected panel provider.class
DOMDisplay
Displays a DOM node object as tree structure.class
DownloadFile
Downloads a file from a URL and saves it locally.
Also handles basic authentication when using URLs like this:
http://user:pass@domain.com/url
Input/output:
- accepts:
java.lang.String
java.net.URL
class
DumpFile
Actor that just dumps any input token into a separate line of the specified output file.class
EmailFileWriter
Actor that writes Email objects to files.class
EmailViewer
Actor for displaying an email object.class
EnQueue
Enqueues the incoming data in the specified queue in internal storage.class
Exec
Pipes the incoming data, after converting it using the provided conversion scheme, into the started process.class
ExternalSink
Sink that executes an external sink actor stored on disk.class
FileBrowser
Displays the file or directory with the system's file browser.class
FilePreview
Actor for previewing file contents.class
FlowDisplay
Displays an actor or flow.class
FlowFileWriter
Writes the incoming actor(s) to a file.
A custom flow writer can be specified.class
FourInOneDisplay
Actor for displaying a four-in-one plot.class
Groovy
A sink that uses a Groovy script for processing the token(s).class
Histogram
Generates a histogram based on the incoming data.class
HistoryDisplay
Actor that outputs any object that arrives at its input port via the 'toString()' method in a separate 'history' entry.class
Html4Display
Viewer for HTML 4.class
ImageFileWriter
Writes the image to disk using the specified writer.class
ImageHistogram
Displays a histogram of a gray image or histograms per channel for color image.class
ImageSegmentationFileWriter
Write image segmentation containers using the specified writer.class
ImageSegmentationViewer
Displays image segmentation containers.class
ImageViewer
Actor for displaying an image.class
InactiveSink
Encapsulates a sequence of inactive actors.
Can be removed with the adams.flow.processor.ReactivateActors processor.class
IncludeExternalSink
Includes an external sink.class
IndexedSplitsRunsWriter
Reads indexed splits runs from disk using the specified writer.class
InformationDialog
Displays the incoming message in a message box.class
JavaLogging
Uses the Java logging framework to output the incoming data.
Simply uses an object's 'toString()' method.class
JFreeChartFileWriter
Generates a JFreeChart plot and writes the bitmap to a file.class
JFreeChartPlot
Generates and displays a plot using JFreeChart.class
JsonDisplay
Displays a JSON object as tree structure.class
JsonFileWriter
Writes a JSON object/array to a file.class
LargeObjectDbWriter
Allows storing large objects in a SQL database.class
LogDumper
Actor that stores LogEntry objects in a file (CSV format).class
Logger
Actor that stores LogEntry objects in the Log table.class
LogViewer
Actor that displays LogEntry objects, but doesn't store them in the database.class
Mat5FileWriter
Writes the Mat5File object to the specified file.class
MatrixPlot
Actor for displaying a matrix of scatter plots
Valid options are:class
MenuItem
Launches a menu item from the main menu.class
MergeFiles
Combines the incoming files in a single one.class
NotesWriter
Saves the notes attached to a data structure to a text file.class
Null
Actor that gobbles up all tokens, like '/dev/null' in Unix.class
ObjectPreview
Actor for previewing file contents.class
ObjectViewer
Allows to inspect any object using ADAMS' inspection capabilities.class
OpenFile
Opens the incoming file with the appropriate platform-specific application.
Does nothing in a headless (non-graphical) environment.class
PasteFiles
Generates a single file from combined lines from the input files.class
PDFCloseDocument
Closes the incoming PDF document, writing out its content.
The PDF document can be generated with adams.flow.source.PDFNewDocument and appended using adams.flow.transformer.PDFAppendDocument.
See also:
adams.flow.source.PDFNewDocument
adams.flow.transformer.PDFAppendDocument
Input/output:
- accepts:
adams.flow.transformer.pdfproclet.PDFGenerator
class
PDFViewer
Actor for displaying PDF files.class
PlotContainerSink
Actor that outputs the plot containers in various formats.class
ProbabilityPlotDisplay
Actor for displaying a probability plot
Valid options are:class
ProgrammaticSink
For programmatically hooking into a flow and receive tokens.class
ProgressBar
Displays a progress bar.class
PropertiesDisplay
Displays a Properties object as table.class
PropertiesFileWriter
Writes a Java properties object to a file.class
Publish
Publishes the incoming data using the specified publish/subscribe handler in storage.class
PyroSink
Consumes data using a Pyro4 call.
For more information see:
https://pythonhosted.org/Pyro4/
https://github.com/irmen/Pyrolite
Input/output:
- accepts:
java.lang.Object
class
RemoteCommandWriter
Sends a command to the remote host defined by the connection settings.
Unsuccessful commands can be store on disk to retry later.class
ReportDisplay
Displays reports.class
ScatterDisplay
Actor for displaying a scatter plot of one attribute vs another.class
Screenshot
Actor that takes screenshots of graphical components.class
Scripted
A sink that uses an exterrnal script for processing the token(s).class
SendEmail
Actor for sending emails.class
SendNotification
Sends the incoming message string via the configured notification scheme.class
SendRemoteCommand
Sends a command to the remote host defined by the connection settings.
Unsuccessful commands can be store on disk to retry later.class
SequencePlotter
Actor that plots sequences over time.
See also:
adams.flow.sink.SimplePlot
Input/output:
- accepts:
adams.flow.container.SequencePlotterContainer
adams.flow.container.SequencePlotterContainer[]
Container information:
- adams.flow.container.SequencePlotterContainer: PlotName, X, Y, Content type, Error X, Error Y, MetaData
class
Serialize
Saves a Java object to a file using the specified object writer.class
SideBySideDiff
Actor for displaying a side-by-side diff.class
SimpleLogging
Turns the incoming objects into strings, formats them with the selected formatter and then outputs them with the specified output(s).class
SimplePlot
Actor for generating simple plots.
See also:
adams.flow.sink.SequencePlotter
Input/output:
- accepts:
adams.flow.container.SequencePlotterContainer
adams.flow.container.SequencePlotterContainer[]
Container information:
- adams.flow.container.SequencePlotterContainer: PlotName, X, Y, Content type, Error X, Error Y, MetaData
class
Socket
Just outputs the data to the specified socket.
Any incoming data that isn't a byte array gets converted to a string and its bytes (using the specified encoding) are then transmitted.
See also:
adams.flow.source.Socket
Input/output:
- accepts:
java.lang.Object
byte[]
java.lang.Byte[]
class
SpreadSheetDbWriter
Transfers a SpreadSheet object into a database.class
SpreadSheetDisplay
Actor for displaying a spreadsheet.
Custom background for negative/positive values can be specified as well.class
SpreadSheetFileWriter
Actor that writes SpreadSheet objects to files.class
SpreadSheetRowViewer
Actor for displaying spreadsheet rows in a graphical way, like the 'Spreadsheet Explorer' tool.class
StringTree
Generates a tree from the strings arriving at the input, splitting them into parts using the specified separator.class
TemplateSink
Lets a sink generated from a template consume the input tokens.class
TextWriter
Writes incoming textual data to a text file.class
TimeseriesDisplay
Actor that displays timeseries.class
WebSocketClient
Sends the incoming data to a websocket server and forwards the received data.class
WekaAttributeSummary
Displays an attribute summary.class
WekaClassifierErrors
Actor for displaying classifier errors.class
WekaCostBenefitAnalysis
Actor for displaying a cost benefit analysis dialog.class
WekaCostCurve
Actor for displaying a cost curve.class
WekaDatabaseWriter
Actor for saving a weka.core.Instances object in a database.
The relation name of the incoming dataset can be used to replace the current filename (path and extension are kept).class
WekaExperimentFileWriter
Saves an experiment file.class
WekaExperimentGenerator
Generates an experiment setup that can be used in conjunction with the Experiment transformer actor.class
WekaFileWriter
Actor for saving a weka.core.Instances object as file.
The relation name of the incoming dataset can be used to replace the current filename (path and extension are kept).class
WekaGraphVisualizer
Displays BayesNet graphs in XML or BIF notation
Either displays the contents of a file or an object that implements weka.core.Drawable and generates a BayesNet graph.class
WekaInstancesDisplay
Actor for displaying a weka.core.Instances object in table format.class
WekaInstancesPlot
Actor for plotting one attribute vs another.class
WekaInstanceViewer
Actor for displaying adams.data.instance.Instance objects in a graphical way (using the internal format), like the 'Instance Explorer' tool.class
WekaMarginCurve
Actor for displaying margin errors.class
WekaModelWriter
Actor for saving a model (classifier or clusterer) alongside an optional header (i.e., weka.core.Instances object) as file.class
WekaThresholdCurve
Actor for displaying threshold curves, like ROC or precision/recall.class
WekaTreeVisualizer
Displays trees in dot notation.class
XMLFileWriter
Writes a org.w3c.dom.Document to an XML file.
In case of org.w3c.dom.Node objects, the owning document is written to disk.class
YamlFileWriter
Writes a Map object to a YAML file.
http://yaml.org/
Input/output:
- accepts:
java.util.Map
java.util.List
class
ZScoreDisplay
Actor for displaying a z score plot
Valid options are:Methods in adams.flow.sink that return Actor Modifier and Type Method Description protected Actor
CallableSink. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
CopyCallableSink. getDefaultActor()
Returns the default actor if the callable actor is optional and not found.Methods in adams.flow.sink with parameters of type Actor Modifier and Type Method Description protected String
CopyCallableSink. checkCallableActor(Actor actor)
Performs checks on the callable actor.protected String
IncludeExternalSink. checkExternalActor(Actor actor)
Performs checks on the external actor.void
TimeseriesDisplay.DisplayPanel. updateFlowAwarePaintlets(Actor actor)
Constructors in adams.flow.sink with parameters of type Actor Constructor Description AutogeneratedSink(Actor actor)
Encapsulates the specified actor.AutogeneratedSink(Actor[] actors)
Encapsulates the specified actors.InactiveSink(Actor actor)
Encapsulates the specified actor.InactiveSink(Actor[] actors)
Encapsulates the specified actors. -
Uses of Actor in adams.flow.sink.sendnotification
Fields in adams.flow.sink.sendnotification declared as Actor Modifier and Type Field Description protected Actor
AbstractNotification. m_FlowContext
the flow context.Methods in adams.flow.sink.sendnotification that return Actor Modifier and Type Method Description Actor
AbstractNotification. getFlowContext()
Returns the flow context, if any.Methods in adams.flow.sink.sendnotification with parameters of type Actor Modifier and Type Method Description void
AbstractNotification. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.flow.sink.sequenceplotter
Fields in adams.flow.sink.sequenceplotter declared as Actor Modifier and Type Field Description protected Actor
ByNameErrorPaintlet. m_Actor
the actor the paintlet belongs to.protected Actor
ByNameMarkerPaintlet. m_Actor
the actor the paintlet belongs to. -
Uses of Actor in adams.flow.sink.simplelogging.format
Fields in adams.flow.sink.simplelogging.format declared as Actor Modifier and Type Field Description protected Actor
AbstractSimpleFormat. m_FlowContext
the flow context.Methods in adams.flow.sink.simplelogging.format that return Actor Modifier and Type Method Description Actor
AbstractSimpleFormat. getFlowContext()
Returns the flow context.Methods in adams.flow.sink.simplelogging.format with parameters of type Actor Modifier and Type Method Description void
AbstractSimpleFormat. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.flow.sink.simplelogging.output
Fields in adams.flow.sink.simplelogging.output declared as Actor Modifier and Type Field Description protected Actor
AbstractSimpleOutput. m_FlowContext
the flow context.Methods in adams.flow.sink.simplelogging.output that return Actor Modifier and Type Method Description Actor
AbstractSimpleOutput. getFlowContext()
Returns the flow context.Methods in adams.flow.sink.simplelogging.output with parameters of type Actor Modifier and Type Method Description void
AbstractSimpleOutput. setFlowContext(Actor value)
Sets the flow context.void
MultiOutput. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.flow.source
Subinterfaces of Actor in adams.flow.source Modifier and Type Interface Description interface
ConditionalIdSupplier
Interface for ID suppliers that use a conditions object.Classes in adams.flow.source that implement Actor Modifier and Type Class Description class
AbstractArrayProvider
Ancestor for source actors that can output items one by one or as a single array.class
AbstractBufferingSource
Ancestor for queues that need to buffer output from eg another process.class
AbstractConditionalIdSupplier
Abstract ancestor for ID suppliers that use a conditions object.class
AbstractDatabaseIdSupplier
Abstract ancestor for ID suppliers.class
AbstractDatabaseMetaData
Ancestor for sources that output the database meta-data.class
AbstractDbArrayProvider
Ancestor for array providers that use the database.class
AbstractDbSource
Ancestor for sources that access the database..class
AbstractForLoop
Abstract ancestor for for-loops.class
AbstractIdSupplier
Abstract ancestor for ID suppliers.class
AbstractInstrumentSupplier
Abstract ancestor for instrument suppliers.class
AbstractInteractiveArrayProvider
Ancestor for interactive sources that can provide the output as an array or one-by-one.class
AbstractInteractiveSource
Ancestor for source actors that interact with the user.class
AbstractListTables
Ancestor for sources that list tables from a database.class
AbstractPythonExecution
Ancestor for sources that execute a Python executable.class
AbstractScript
Ancestor for source script actors.class
AbstractSelectObjects
Ancestor for sources that promp the user to select a number of objects to be broadcasted as tokens.class
AbstractSimpleDbSource
Ancestor for simple sources that use the database.class
AbstractSimpleSource
Ancestor for sources that just output a single token.class
AbstractSimpleSourceWithPropertiesUpdating
Ancestor for simple sources that allow changing the object's properties using variables.class
AbstractSource
Ancestor of all flow items that act as sources of tokens.class
AbstractSpreadSheetDbReader
Ancestor for spreadsheet database readers.class
AbstractWekaSetupGenerator<T>
Abstract ancestor for setup generator sources.class
AutogeneratedSource
Encapsulates a sequence of auto-generated actors, with the last one generating the output for this meta-source.
Can be removed with the adams.flow.processor.RemoveAutogeneratedActors processor.class
CallableSource
Broadcasts the generated output tokens from the source.class
ColorProvider
Uses the configured color provider to generate a number of colors.class
CombineArrays
Combines the storage items representing arrays into a single array.
When not supplying an array class the type of the first array is used.class
CombineCollections
class
CombineStorage
Outputs the expanded string generated from the specified combination expression (variables and storage placeholders).class
CombineVariables
Outputs the expanded string generated from the specified combination expression.class
Command
Runs an external system command and broadcasts the generated output (stdout and/or stderr) continuously, opposed to adams.flow.source.Exec which waits for the command to finish.
See also:
adams.flow.source.Exec
Input/output:
- generates:
java.lang.String
class
CopyCallableSource
Broadcasts the generated output tokens from the copied callable source.class
Counter
Outputs the specified counter as spreadsheet, with two columns: 'Key' and 'Count'.class
CurrentFlow
Outputs the current flow, i.e., itself.class
CurrentTime
class
DatabaseMetaData
Outputs the meta-data of the current database connection.class
DeQueue
Polls the specified queue in internal storage for an item, blocks till an item is available.
NB: The user needs to stop the flow as the DeQueue source will never stop, as it assumes that there will be more data coming through.class
DirectoryLister
Returns the contents of a directory (files/dirs).class
DirectorySupplier
Supplies directories.class
DumpStorage
Outputs the storage names and the string representation of their associated values in the specified format.class
DumpVariables
Outputs the variable names and their associated values in the specified format.class
EnterManyValues
Pops up a dialog, prompting the user to enter one or more values.class
EnterValue
Pops up a dialog, prompting the user to enter a value.class
Exec
Runs an external system command and broadcasts the generated output (stdout or stderr).
See also:
adams.flow.source.Exec
Input/output:
- generates:
java.lang.String
class
ExternalSource
Source that executes an external source actor stored on disk.class
FilenameGenerator
Uses the specified filename generator to output a filename.
NB: Generators that require an object to pass through won't work with this source.
See also:
adams.flow.transformer.FilenameGenerator
Input/output:
- generates:
java.lang.String
class
FileSupplier
Supplies files.class
FileSystemSearch
Uses the specified search algorithm to perform a file system search and returns the located items.class
ForLoop
Emulates the following for-loop for integer IDs:
- positive step size:
for (int i = lower; i <= upper; i += step)
- negative step size:
for (int i = upper; i >= lower; i += step)
The integers can be output as a single array as well.class
FTPLister
Deprecated.class
GetEnvironmentVariable
Outputs the value of the specified environment variable.class
GetSystemProperty
Outputs the value of the specified Java system property.class
Groovy
A source that uses a Groovy script for generating the token(s).class
HashSet
Outputs the specified hashset as spreadsheet, with one column called 'Value' by default.class
HttpRequest
Submits the (optional) form parameters to the specified URL and forwards the retrieved HTML as text.
Cookies can be retrieved and stored in internal storage, to be re-used with the next request.class
Idle
Simulates an endless loop, which only exits if the flow is stopped.
Essentially blocking any following actors, never outputs anything.class
InactiveSource
Encapsulates a sequence of flow items, with the last one generating the output for this meta-source.
Can be removed with the adams.flow.processor.ReactivateActors processor.class
IncludeExternalSource
Includes an external source.class
InputStreamGenerator
Uses the specified generator to instantiate an input stream instance.
See also:
adams.flow.sink.CloseInputStream
Input/output:
- generates:
java.io.InputStream
class
IntegerRange
Outputs the integers defined by the range expression.class
LargeObjectDbReader
Allows reading of large objects from a SQL database.class
ListCallableActors
class
ListEnvironmentVariables
Outputs the names of the currently set environment variables.class
ListStorageNames
Outputs the names of the currently available storage items.class
ListSystemProperties
Outputs the names of the currently set Java system properties.class
ListTables
Lists tables of the current database connection.class
ListVariables
Outputs the names of the currently available variables.class
LookUp
Forwards the value associated with the given key, using the specified lookup table from internal storage.class
LookUpTable
Outputs the specified lookup table as spreadsheet, containing to columns: Key with the keys and Value with the associated values.class
MakeContainer
Assembles a container with data obtained from either callable actors or storage items.class
MathExpression
Evaluates a mathematical expression.
Variables are supported as well, e.g.: pow(X,@{exp}) with '@{exp}' being a variable available at execution time.
The following grammar is used for the expressions:
expr_list ::= '=' expr_list expr_part | expr_part ;
expr_part ::= expr ;
expr ::= ( expr )
# data types
| number
| string
| boolean
| date
# constants
| true
| false
| pi
| e
| now()
| today()
# negating numeric value
| -expr
# comparisons
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr (or: expr <> expr)
# boolean operations
| ! expr (or: not expr)
| expr & expr (or: expr and expr)
| expr | expr (or: expr or expr)
| if[else] ( expr , expr (if true) , expr (if false) )
| ifmissing ( variable , expr (default value if variable is missing) )
| isNaN ( expr )
# arithmetics
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr ^ expr (power of)
| expr % expr (modulo)
;
# numeric functions
| abs ( expr )
| sqrt ( expr )
| cbrt ( expr )
| log ( expr )
| log10 ( expr )
| exp ( expr )
| sin ( expr )
| sinh ( expr )
| cos ( expr )
| cosh ( expr )
| tan ( expr )
| tanh ( expr )
| atan ( expr )
| atan2 ( exprY , exprX )
| hypot ( exprX , exprY )
| signum ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| min ( expr1 , expr2 )
| max ( expr1 , expr2 )
| year ( expr )
| month ( expr )
| day ( expr )
| hour ( expr )
| minute ( expr )
| second ( expr )
| weekday ( expr )
| weeknum ( expr )
# string functions
| substr ( expr , start [, end] )
| left ( expr , len )
| mid ( expr , start , len )
| right ( expr , len )
| rept ( expr , count )
| concatenate ( expr1 , expr2 [, expr3-5] )
| lower[case] ( expr )
| upper[case] ( expr )
| trim ( expr )
| matches ( expr , regexp )
| trim ( expr )
| len[gth] ( str )
| find ( search , expr [, pos] )
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
;
Notes:
- Variables are either all upper case letters (e.g., "ABC") or any character apart from "]" enclosed by "[" and "]" (e.g., "[Hello World]").
- 'start' and 'end' for function 'substr' are indices that start at 1.
- Index 'end' for function 'substr' is excluded (like Java's 'String.substring(int,int)' method)
- Line comments start with '#'.
- Semi-colons (';') or commas (',') can be used as separator in the formulas,
e.g., 'pow(2,2)' is equivalent to 'pow(2;2)'
- dates have to be of format 'yyyy-MM-dd' or 'yyyy-MM-dd HH:mm:ss'
- times have to be of format 'HH:mm:ss' or 'yyyy-MM-dd HH:mm:ss'
- the characters in square brackets in function names are optional:
e.g.class
MemoryUsage
Outputs the memory usage.
The generated map has the following keys:
- init_heap
- max_heap
- used_heap
- committed_heap
- init_non_heap
- max_non_heap
- used_non_heap
- committed_non_heap
Input/output:
- generates:
java.util.Map
class
ModuleInfo
Outputs a spreadsheet with information about modules available.class
NewArray
Generates a new array of the specified class with the given dimensions.
Dimensions are given as follows: [x], with x being the number of elements.class
NewCollection
Generates a new (and empty) collection of the specified type.class
NewDOMDocument
Creates a new DOM document, e.g., for assembling XML files.class
NewFlow
Outputs the flow generated by the specified template.class
NewImage
Generates an empty image with the specified dimensions (Type: RGB or ARBG).class
NewJsonStructure
Generates an empty JSON data structure of the specified type.class
NewList
Generates a list string based on the items produced by the generator and the specified separator.class
NewMap
Generates a new java.util.Map object using the specified implementation class.class
NewMat5File
Creates an empty Mat5File object.class
NewMat5Matrix
Creates a new Matlab matrix.class
NewMat5Struct
class
NewProperties
Generates a new Properties object.class
NewRemoteCommand
Configures and forwards a remote command.class
NewReport
Generates a new instance of the specified report class.class
NewSpreadSheet
Generates an empty spreadsheet.class
NewTempFile
class
Null
Dummy source, generates no output.class
OpenCVDeviceFrameGrabber
Grabs frames from the specified device and forwards them as image containers.class
OptionProducer
Generates string output from the current flow using the specified option producer.class
OptionTraverser
Traverses the options of the flow at run-time.
Used for debugging purposes.class
PasteFromClipboard
Pops up a dialog, prompting the user to accept content from clipboard.class
PDFNewDocument
Creates an empty PDF document.
Needs to be finalized with adams.flow.sink.PDFCloseDocument.
The output of this source can be processed by adams.flow.transformer.PDFAppendDocument.
See also:
adams.flow.transformer.PDFAppendDocument
adams.flow.sink.PDFCloseDocument
Input/output:
- generates:
adams.flow.transformer.pdfproclet.PDFGenerator
class
PipExec
Executes pip with the specified options and broadcasts the generated output (stdout and/or stderr) continuously.class
PyroSource
Generates data using a Pyro4 call
For more information see:
https://pythonhosted.org/Pyro4/
https://github.com/irmen/Pyrolite
Input/output:
- generates:
java.lang.Object
class
PythonExec
Executes the specified Python script with the specified options and broadcasts the generated output (stdout and/or stderr) continuously.class
PythonVenvExec
Executes the specified executable in a Python virtual environment with the specified options and broadcasts the generated output (stdout and/or stderr) continuously.
Fails if the specified environment does not contain any 'activate' scripts typically found in such directories.class
RandomNumberGenerator
Random number generator.class
ReaderGenerator
Uses the specified generator to instantiate a reader instance.
See also:
adams.flow.sink.CloseReader
Input/output:
- generates:
java.io.InputStream
class
RSync
Supports synchronization using rsync.
In case of an error, the stderr output is forwarded, otherwise stdout output.class
Rsync4jRsyncBinary
Outputs the rsync binary used by the rsync4j library.class
Rsync4jSshBinary
Outputs the ssh binary used by the rsync4j library.class
Scripted
A source that uses an external script for generating the token(s).class
SelectCharset
Prompts the user to select a character set.class
SelectDateTime
Pops up a dialog, prompting the user to select a date/time, date or time value.class
SelectDirectory
Pops up a directory chooser dialog, prompting the user to select a directory.class
SelectFile
Pops up a file chooser dialog, prompting the user to select one or more files.class
SelectObjects
Allows the user to select an arbitrary number of objects from the specified class hierarchy using the GenericObjectArray.
It is possible to use this dialog for other objects as well that don't belong to a class hierarchy, e.g., adams.core.base.BaseString.class
SequenceSource
Encapsulates a sequence of flow items, with the last one generating the output for this meta-source.class
SimpleRSync
An rsync wrapper with a reduced set of options.class
Socket
Listens on the specified port for incoming data.
Can either output raw byte arrays or strings (using the specified encoding).
See also:
adams.flow.sink.Socket
Input/output:
- generates:
byte[]
class
SpecifiedActor
Outputs the actor identified by the actor path.class
SpreadSheetDbReader
Returns a spreadsheet object generated from an SQL query.
To optimize memory consumption, you can return the result of the query in chunks of a specified size.class
SQLIdSupplier
Executes an SQL statement for generating the IDs.
Variables are automatically expanded.class
SSHExec
Runs a system command via ssh on a remote machine and broadcasts the generated output (stdout or stderr).
For more information see:
(2011).class
Start
Outputs merely a NullToken.class
StorageForLoop
Emulates the following for-loop:
- positive step size:
for (int i = lower; i <= upper; i += step)
- negative step size:
for (int i = upper; i >= lower; i += step)
In each iteration, the specified variable gets updated with the current value of the for-loop variable.class
StorageValue
Outputs the value associated with the specified name from temporary storage.
Does nothing if the storage value isn't present.
By supplying a cache name, the value can be obtained from a LRU cache instead of the regular storage.class
StorageValuesArray
Outputs the values associated with the specified names from temporary storage as an array.class
StringConstants
A source for strings.class
StringExpression
Evaluates a string expression.
Variables are supported as well, e.g.: pow(X,@{exp}) with '@{exp}' being a variable available at execution time.
The following grammar is used for the expressions:
expr_list ::= '=' expr_list expr_part | expr_part ;
expr_part ::= expr ;
expr ::= ( expr )
# data types
| number
| string
| boolean
| date
# constants
| true
| false
| pi
| e
| now()
| today()
# negating numeric value
| -expr
# comparisons
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr (or: expr <> expr)
# boolean operations
| ! expr (or: not expr)
| expr & expr (or: expr and expr)
| expr | expr (or: expr or expr)
| if[else] ( expr , expr (if true) , expr (if false) )
| ifmissing ( variable , expr (default value if variable is missing) )
| isNaN ( expr )
# arithmetics
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr ^ expr (power of)
| expr % expr (modulo)
;
# numeric functions
| abs ( expr )
| sqrt ( expr )
| cbrt ( expr )
| log ( expr )
| log10 ( expr )
| exp ( expr )
| sin ( expr )
| sinh ( expr )
| cos ( expr )
| cosh ( expr )
| tan ( expr )
| tanh ( expr )
| atan ( expr )
| atan2 ( exprY , exprX )
| hypot ( exprX , exprY )
| signum ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| min ( expr1 , expr2 )
| max ( expr1 , expr2 )
| year ( expr )
| month ( expr )
| day ( expr )
| hour ( expr )
| minute ( expr )
| second ( expr )
| weekday ( expr )
| weeknum ( expr )
# string functions
| substr ( expr , start [, end] )
| left ( expr , len )
| mid ( expr , start , len )
| right ( expr , len )
| rept ( expr , count )
| concatenate ( expr1 , expr2 [, expr3-5] )
| lower[case] ( expr )
| upper[case] ( expr )
| trim ( expr )
| matches ( expr , regexp )
| trim ( expr )
| len[gth] ( str )
| find ( search , expr [, pos] )
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
# array functions
| len[gth] ( array )
| get ( array , index )
;
Notes:
- Variables are either all upper case letters (e.g., "ABC") or any character apart from "]" enclosed by "[" and "]" (e.g., "[Hello World]").
- 'start' and 'end' for function 'substr' are indices that start at 1.
- 'index' for function 'get' starts at 1.
- Index 'end' for function 'substr' is excluded (like Java's 'String.substring(int,int)' method)
- Line comments start with '#'
- Semi-colons (';') or commas (',') can be used as separator in the formulas,
e.g., 'pow(2,2)' is equivalent to 'pow(2;2)'
- dates have to be of format 'yyyy-MM-dd' or 'yyyy-MM-dd HH:mm:ss'
- times have to be of format 'HH:mm:ss' or 'yyyy-MM-dd HH:mm:ss'
- the characters in square brackets in function names are optional:
e.g.class
SwitchedSource
class
TemplateSource
Broadcasts the generated output tokens from the (template) source.class
TimeseriesDbReader
Outputs timeseries containers generated from an SQL SELECT statement.
A new container is started, whenever the value of the ID column changes (hence you need to ensure that the data is ordered on this column).class
URLSupplier
Supplies multiple URLs (uniform resource locators).class
Variable
Outputs the string value of the specified variable.
Does nothing if the variable hasn't been set.class
VariablesArray
Outputs the values associated with the specified variable names as a string array.class
WekaAssociatorSetup
Outputs an instance of the specified associator.class
WekaClassifierGenerator
Generates multiple classifier setups.class
WekaClassifierSetup
Outputs an instance of the specified classifier.class
WekaClustererGenerator
Generates multiple clusterer setups.class
WekaClustererSetup
Outputs an instance of the specified clusterer.class
WekaDatabaseReader
Executes a query and returns the data either in batch or incremental mode.class
WekaDataGenerator
Generates artificial data using a Weka data generator.class
WekaFilterGenerator
Generates multiple filter setups.class
WekaForecasterSetup
Outputs a configured instance of a Weka Forecaster.class
WekaForecasting
Uses a serialized model to perform predictions on the data being passed through.
The model can also be obtained from a callable actor, if the model file is pointing to a directory.class
WekaNewExperiment
Generates a new ADAMS experiment setup.class
WekaNewInstances
Generates an empty dataset, based on the attribute types and names specified.
Nominal attributes are generated with an empty set of labels.class
WekaPackageManagerAction
Executes the specified action and forwards the generated output.class
WekaSelectDataset
Pops up a file chooser dialog, prompting the user to select one or more datasets.class
WekaSelectObjects
Allows the user to select an arbitrary number of Weka objects from the specified class hierarchy using the GenericObjectArray.class
ZipArrays
Aligns the corresponding elements of the storage arrays into row-based arrays.Fields in adams.flow.source declared as Actor Modifier and Type Field Description protected Actor
SwitchedSource. m_ActiveCase
the active case.protected Actor
AbstractInteractiveSource. m_CallableActor
the callable actor.protected Actor
SelectFile. m_CallableActor
the callable actor.protected Actor
WekaSelectDataset. m_CallableActor
the callable actor.Fields in adams.flow.source with type parameters of type Actor Modifier and Type Field Description protected List<Actor>
SwitchedSource. m_Cases
the "cases" to execute if the corresponding expression matches.Methods in adams.flow.source that return Actor Modifier and Type Method Description protected Actor
AbstractInteractiveSource. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
CallableSource. findCallableActor()
Tries to find the callable actor referenced by its global name.protected Actor
SelectFile. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
WekaSelectDataset. findCallableActor()
Tries to find the callable actor referenced by its callable name.Actor
SwitchedSource. firstActive()
Returns the first non-skipped actor.Actor
SwitchedSource. get(int index)
Returns the actor at the given position.Actor[]
SwitchedSource. getCases()
Returns the cases.protected Actor
CopyCallableSource. getDefaultActor()
Returns the default actor if the callable actor is optional and not found.Actor
SwitchedSource. lastActive()
Returns the last non-skipped actor.Actor
SwitchedSource. remove(int index)
Removes the actor at the given position and returns the removed object.Methods in adams.flow.source with parameters of type Actor Modifier and Type Method Description String
SwitchedSource. add(int index, Actor actor)
Inserts the actor at the given position.String
SwitchedSource. add(Actor actor)
Inserts the actor at the end.String
SwitchedSource. check(int index, Actor actor)
Performs checks on the "sub-actor".protected String
CopyCallableSource. checkCallableActor(Actor actor)
Performs checks on the callable actor.protected String
IncludeExternalSource. checkExternalActor(Actor actor)
Performs checks on the external actor.protected String
SequenceSource.SequenceSourceDirector. doExecuteActors(Actor startActor)
Peforms the execution of the actors.String
SwitchedSource. set(int index, Actor actor)
Sets the actor at the given position.void
SwitchedSource. setCases(Actor[] value)
Sets the cases.Constructors in adams.flow.source with parameters of type Actor Constructor Description AutogeneratedSource(Actor actor)
Encapsulates the specified actor.AutogeneratedSource(Actor[] actors)
Encapsulates the specified actors.InactiveSource(Actor actor)
Encapsulates the specified actor.InactiveSource(Actor[] actors)
Encapsulates the specified actors. -
Uses of Actor in adams.flow.source.filesystemsearch
Fields in adams.flow.source.filesystemsearch declared as Actor Modifier and Type Field Description protected Actor
AbstractFileSystemSearchlet. m_FlowContext
the flow context.Methods in adams.flow.source.filesystemsearch that return Actor Modifier and Type Method Description Actor
AbstractFileSystemSearchlet. getFlowContext()
Returns the flow context, if any.Methods in adams.flow.source.filesystemsearch with parameters of type Actor Modifier and Type Method Description void
AbstractFileSystemSearchlet. setFlowContext(Actor value)
Sets the flow context.void
MultiSearch. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.flow.source.valuedefinition
Fields in adams.flow.source.valuedefinition declared as Actor Modifier and Type Field Description protected Actor
AbstractValueDefinition. m_FlowContext
the flow context.Methods in adams.flow.source.valuedefinition that return Actor Modifier and Type Method Description Actor
AbstractValueDefinition. getFlowContext()
Returns the flow context, if any.Methods in adams.flow.source.valuedefinition with parameters of type Actor Modifier and Type Method Description void
AbstractValueDefinition. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.flow.source.wekapackagemanageraction
Fields in adams.flow.source.wekapackagemanageraction declared as Actor Modifier and Type Field Description protected Actor
AbstractWekaPackageManagerAction. m_FlowContext
the flow context.Methods in adams.flow.source.wekapackagemanageraction that return Actor Modifier and Type Method Description Actor
AbstractWekaPackageManagerAction. getFlowContext()
Returns the flow context, if any.Methods in adams.flow.source.wekapackagemanageraction with parameters of type Actor Modifier and Type Method Description void
AbstractWekaPackageManagerAction. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.flow.standalone
Classes in adams.flow.standalone with type parameters of type Actor Modifier and Type Class Description class
AbstractMutableStandaloneGroupItem<T extends Actor>
Ancestor for group items that can contain other actors.class
AbstractStandaloneGroup<T extends Actor>
Ancestor for fixed-sized groups.class
AbstractStandaloneGroupItemGroup<S extends Actor,E extends Actor>
Ancestor for group items that form a group themselves.class
AbstractStandaloneGroupItemGroup<S extends Actor,E extends Actor>
Ancestor for group items that form a group themselves.class
AbstractStandaloneGroupItemMutableGroup<S extends Actor,E extends Actor>
Ancestor for group items that form a group themselves.class
AbstractStandaloneGroupItemMutableGroup<S extends Actor,E extends Actor>
Ancestor for group items that form a group themselves.class
AbstractStandaloneMutableGroup<T extends Actor>
Ancestor for mutable groups of standalones.interface
StandaloneGroup<T extends Actor>
Interface for a group of standalones.interface
StandaloneGroupItem<T extends Actor>
The element of a standalone group.interface
StandaloneMutableGroup<T extends Actor>
Interface for a mutable group of standalones.Subinterfaces of Actor in adams.flow.standalone Modifier and Type Interface Description interface
AbstractDatabaseConnectionProvider
Interface for database connection providers.interface
DatabaseConnectionProvider
Interface for database connection providers.interface
StandaloneGroup<T extends Actor>
Interface for a group of standalones.interface
StandaloneGroupItem<T extends Actor>
The element of a standalone group.interface
StandaloneMutableGroup<T extends Actor>
Interface for a mutable group of standalones.Classes in adams.flow.standalone that implement Actor Modifier and Type Class Description class
AbstractCallableDatabaseConnection
Ancestor for callable database connection standalones.class
AbstractDatabaseCheck
Ancestor for standalone actors that check project-specific database connections.class
AbstractDatabaseConnection
Ancestor for standalone actors providing a database connection different from the system-wide one.class
AbstractDbStandalone
Ancestor for standalones that use the database.class
AbstractMultiView
Ancestor for graphical actors that display multiple views.static class
AbstractMultiView.ViewWrapper
A wrapper for the actual actors.class
AbstractMutableActorDaemonEvent<E,P>
Ancestor for daemon events that handle sub-actors.class
AbstractMutableStandaloneGroupItem<T extends Actor>
Ancestor for group items that can contain other actors.class
AbstractScript
Ancestor for singleton script actors.class
AbstractStandalone
Ancestor for all flow items that neither generate nor process tokens.class
AbstractStandaloneGroup<T extends Actor>
Ancestor for fixed-sized groups.class
AbstractStandaloneGroupItem<T extends StandaloneGroup>
Ancestor of a standalone group item.class
AbstractStandaloneGroupItemGroup<S extends Actor,E extends Actor>
Ancestor for group items that form a group themselves.class
AbstractStandaloneGroupItemMutableGroup<S extends Actor,E extends Actor>
Ancestor for group items that form a group themselves.class
AbstractStandaloneMutableGroup<T extends Actor>
Ancestor for mutable groups of standalones.class
AutogeneratedStandalone
Container for auto-generated standalone actors.
Can be removed with the adams.flow.processor.RemoveAutogeneratedActors processor.class
CallableActors
Container for actors that need to be accessed via their name.class
CallableDatabaseConnection
References a database connection provider of type adams.flow.standalone.DatabaseConnectionProvider.class
ConditionalStandalones
Executes the sub-actors only when the boolean condition evaluates to 'true'.class
ConsoleWindow
Displays the messages that are output in the system's 'Console window'.class
CopyCallableStandalone
Executes the copied callable standalone.class
CounterInit
Creates an empty counter in internal storage under the specified name.class
Cron
Executes an actor according to a pre-defined schedule.
Note: since the actor merely starts the cron scheduler in the background, the actor finishes the execution pretty much immediately.class
DatabaseCheck
First, the actor checks whether the connection to the database is established.class
DatabaseConnection
For initializing an ADAMS database connection that differs from the system-wide one.class
DelayedEvent
Executes its sub-flow after a predefined number of milli-seconds.class
DeleteDir
Deletes the dirs that match the regular expression below the specified directory.class
DeleteFile
Deletes the files that match the regular expression below the specified directory.class
DeleteStorageValue
Removes the specified value (or the ones that match the regular expression) from temporary storage.
By supplying a cache name, the value can be removed from a LRU cache instead of the regular storage.class
DeleteVariable
Removes a variable by name or the variables that match the regular expression.class
DeserializeToStorage
Deserializes a model from a file with the specified object reader and stores it directly in storage.
It is also possible to define multiple storage name / file name pairs, to make the deserialization of large amounts of files more efficient.class
DirWatch
class
Events
Container for event actors.class
ExecSQL
Executes a SQL statement, which does not return a result set, like INSERT, UPDATE, DELETE, CREATE.class
ExternalFlow
Allows to execute a complete external Flow rather than just an external actor.class
ExternalStandalone
Standalone that executes an external standalone actor stored on disk.
For executing whole flows, use the adams.flow.standalone.ExternalFlow standalone actor instead.
See also:
adams.flow.standalone.ExternalFlow
class
FTPConnection
Provides access to a FTP host.
If debugging is enabled, the FTP commands issued by other actors will get printed as debug output of this actor.class
GridView
Displays multiple graphical actors in a grid.class
Groovy
A standalone that executes a Groovy script.class
HashSetInit
Creates an empty hashset in internal storage under the specified name.
Initial string values can be supplied as well, which can be transformed using the specified conversion.
See also:
adams.flow.transformer.HashSetInit
adams.flow.transformer.HashSetAdd
adams.flow.source.HashSet
adams.flow.condition.bool.HashSet
class
InactiveStandalone
Container for inactive standalone actors.
Can be activated with the adams.flow.processor.ReactivateActors processor.class
IncludeExternalStandalone
Includes an external standalone.class
InitPublishSubscribe
Initializes a publish/subscribe data structure in internal storage.class
InitStorageCache
Adds a LRU cache in the responsible storage handler (usually the Flow actor).class
Java
Calls the main method of a Java class.class
JavaExec
Forks off a new JVM with the same classpath by default.class
JobRunnerInstance
Acts as job execution pool for classes implementing adams.multiprocess.JobRunnerSupporter.
See also:
adams.multiprocess.JobRunnerSupporter
class
JobRunnerSetup
Defines the job runner setup to use for parallel/distributed computation.class
LogEvent
Listens to the global log record handler and processes records that passed the specified filter(s).
This allows, for instance, the output of log messages into a log file.
By default, log records are only processed if the sub-actors are not currently being executed.class
LookUpInit
Initializes an empty look up table in storage.
See also:
adams.flow.transformer.LookUpAdd
class
MakeDir
Creates the user-supplied directory if not already existing.class
MemoryMonitor
Monitors the memory (used/committed heap vs maximum heap).Every number of seconds ('sampleInterval'), the memory consumption, i.e., 'heap used', is sampled, keeping the specified number of latest samples ('numSamples').
Once the specified number of samples have been reached, it is checked whether the specified percentage of samples ('coverage') reaches or exceeds the threshold percentage of the maximum heap has been exceeded ('threshold').class
Null
Dummy standalone, does nothing.class
PyroNameServer
Defines the Pyro nameserver to use.class
PyroStandalone
Transforms data using a Pyro4 call
For more information see:
https://pythonhosted.org/Pyro4/
https://github.com/irmen/Pyrolite
class
PythonEnvironment
Defines what Python executables to use within this context.
On Linux, you can enforce using the system-wide Python 3 executables by supplying '3' as suffix, which gets appended to the executables.class
QueueEvent
Executes its sub-flow after a predefined number of milli-seconds.class
QueueInit
Creates an empty queue in internal storage under the specified name.class
RegisterFlow
Simply registers the flow with the running flows registry.class
RemoteScriptingEngine
Starts/stops a scripting engine for remote commands.class
Scripted
A standalone that executes an external script.class
SetManyVariables
Sets the values of the variables.
Optionally, the specified values can be expanded, in case it is made up of variables itself.
Grammar for mathematical expressions (value type 'MATH_EXPRESSION, MATH_EXPRESSION_ROUND'):
expr_list ::= '=' expr_list expr_part | expr_part ;
expr_part ::= expr ;
expr ::= ( expr )
# data types
| number
| string
| boolean
| date
# constants
| true
| false
| pi
| e
| now()
| today()
# negating numeric value
| -expr
# comparisons
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr (or: expr <> expr)
# boolean operations
| ! expr (or: not expr)
| expr & expr (or: expr and expr)
| expr | expr (or: expr or expr)
| if[else] ( expr , expr (if true) , expr (if false) )
| ifmissing ( variable , expr (default value if variable is missing) )
| has ( variable )
| isNaN ( expr )
# arithmetics
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr ^ expr (power of)
| expr % expr (modulo)
;
# numeric functions
| abs ( expr )
| sqrt ( expr )
| cbrt ( expr )
| log ( expr )
| log10 ( expr )
| exp ( expr )
| sin ( expr )
| sinh ( expr )
| cos ( expr )
| cosh ( expr )
| tan ( expr )
| tanh ( expr )
| atan ( expr )
| atan2 ( exprY , exprX )
| hypot ( exprX , exprY )
| signum ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| min ( expr1 , expr2 )
| max ( expr1 , expr2 )
| year ( expr )
| month ( expr )
| day ( expr )
| hour ( expr )
| minute ( expr )
| second ( expr )
| weekday ( expr )
| weeknum ( expr )
# string functions
| substr ( expr , start [, end] )
| left ( expr , len )
| mid ( expr , start , len )
| right ( expr , len )
| rept ( expr , count )
| concatenate ( expr1 , expr2 [, expr3-5] )
| lower[case] ( expr )
| upper[case] ( expr )
| trim ( expr )
| matches ( expr , regexp )
| trim ( expr )
| len[gth] ( str )
| find ( search , expr [, pos] ) (find 'search' in 'expr', return 1-based position)
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
| str ( expr )
| str ( expr , numdecimals )
| str ( expr , decimalformat )
| ext ( file_str ) (extracts extension from file)
| replaceext ( file_str, ext_str ) (replaces the extension of the file with the new one)
;
Notes:
- Variables are either all alphanumeric and _, starting with uppercase letter (e.g., "ABc_12"),
any character apart from "]" enclosed by "[" and "]" (e.g., "[Hello World]") or
enclosed by single quotes (e.g., "'Hello World'").
- 'start' and 'end' for function 'substr' are indices that start at 1.
- Index 'end' for function 'substr' is excluded (like Java's 'String.substring(int,int)' method)
- Line comments start with '#'.
- Semi-colons (';') or commas (',') can be used as separator in the formulas,
e.g., 'pow(2,2)' is equivalent to 'pow(2;2)'
- dates have to be of format 'yyyy-MM-dd' or 'yyyy-MM-dd HH:mm:ss'
- times have to be of format 'HH:mm:ss' or 'yyyy-MM-dd HH:mm:ss'
- the characters in square brackets in function names are optional:
e.g.class
SetProperty
Deprecated.class
SetVariable
Sets the value of a variable.
Optionally, the specified value can be expanded, in case it is made up of variables itself.
It is also possible to override the variable value with the value obtained from an environment variable.
Grammar for mathematical expressions (value type 'MATH_EXPRESSION, MATH_EXPRESSION_ROUND'):
expr_list ::= '=' expr_list expr_part | expr_part ;
expr_part ::= expr ;
expr ::= ( expr )
# data types
| number
| string
| boolean
| date
# constants
| true
| false
| pi
| e
| now()
| today()
# negating numeric value
| -expr
# comparisons
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr (or: expr <> expr)
# boolean operations
| ! expr (or: not expr)
| expr & expr (or: expr and expr)
| expr | expr (or: expr or expr)
| if[else] ( expr , expr (if true) , expr (if false) )
| ifmissing ( variable , expr (default value if variable is missing) )
| has ( variable )
| isNaN ( expr )
# arithmetics
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr ^ expr (power of)
| expr % expr (modulo)
;
# numeric functions
| abs ( expr )
| sqrt ( expr )
| cbrt ( expr )
| log ( expr )
| log10 ( expr )
| exp ( expr )
| sin ( expr )
| sinh ( expr )
| cos ( expr )
| cosh ( expr )
| tan ( expr )
| tanh ( expr )
| atan ( expr )
| atan2 ( exprY , exprX )
| hypot ( exprX , exprY )
| signum ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| min ( expr1 , expr2 )
| max ( expr1 , expr2 )
| year ( expr )
| month ( expr )
| day ( expr )
| hour ( expr )
| minute ( expr )
| second ( expr )
| weekday ( expr )
| weeknum ( expr )
# string functions
| substr ( expr , start [, end] )
| left ( expr , len )
| mid ( expr , start , len )
| right ( expr , len )
| rept ( expr , count )
| concatenate ( expr1 , expr2 [, expr3-5] )
| lower[case] ( expr )
| upper[case] ( expr )
| trim ( expr )
| matches ( expr , regexp )
| trim ( expr )
| len[gth] ( str )
| find ( search , expr [, pos] ) (find 'search' in 'expr', return 1-based position)
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
| str ( expr )
| str ( expr , numdecimals )
| str ( expr , decimalformat )
| ext ( file_str ) (extracts extension from file)
| replaceext ( file_str, ext_str ) (replaces the extension of the file with the new one)
;
Notes:
- Variables are either all alphanumeric and _, starting with uppercase letter (e.g., "ABc_12"),
any character apart from "]" enclosed by "[" and "]" (e.g., "[Hello World]") or
enclosed by single quotes (e.g., "'Hello World'").
- 'start' and 'end' for function 'substr' are indices that start at 1.
- Index 'end' for function 'substr' is excluded (like Java's 'String.substring(int,int)' method)
- Line comments start with '#'.
- Semi-colons (';') or commas (',') can be used as separator in the formulas,
e.g., 'pow(2,2)' is equivalent to 'pow(2;2)'
- dates have to be of format 'yyyy-MM-dd' or 'yyyy-MM-dd HH:mm:ss'
- times have to be of format 'HH:mm:ss' or 'yyyy-MM-dd HH:mm:ss'
- the characters in square brackets in function names are optional:
e.g.class
SMBConnection
Provides access to a remote host via SMB.class
SMTPConnection
SMTP server setup for overriding default parameters.class
SSHConnection
Provides access to a remote host via SSH.
For more information see:
(2011).class
Standalones
Container for standalone actors.class
Stopwatch
Stops the execution time of the flow, till either the user stops the flow or the flow finishes by itself
Valid options are:class
TableCleanUp
Runs a table cleaner.class
TabView
Displays multiple graphical actors in a tabbed pane.class
TemplateStandalone
Generates a standalone actor/sub-flow from a template.class
TesseractConfiguration
Setup parameters for tesseract.
For more information see:
https://github.com/tesseract-ocr/tesseract
Valid options are:class
Tool
Runs a tool.class
VariableChangedEvent
Listens to a any changes to the specified variable.
This allows, for instance, the monitoring of a variable.
Enable the 'noDiscard' property to process all change events - NB: this can slow down the system significantly.class
WeakExternalStandalone
class
WebSocketServer
Starts and runs a websocket server.class
WekaPackageManagerAction
Executes the specified action and forwards the generated output.Fields in adams.flow.standalone declared as Actor Modifier and Type Field Description protected Actor
ExternalFlow. m_ExternalFlow
the external flow itself.protected Actor
QueueInit. m_LogActor
the log actor.protected Actor
QueueInit. m_MonitorActor
the monitor actor.protected Actor
JavaExec. m_StdErr
the stderr actor.protected Actor
JavaExec. m_StdOut
the stdout actor.Fields in adams.flow.standalone with type parameters of type Actor Modifier and Type Field Description protected List<Actor>
AbstractMultiView. m_Actors
the underlying display actors.protected List<Actor>
Events. m_Actors
the events.Methods in adams.flow.standalone with type parameters of type Actor Modifier and Type Method Description <A extends Actor>
List<A>AbstractStandaloneGroup. getActors(Class<A> actor)
Returns a list of actors comprising of the requested actor type (exact match).<A extends Actor>
List<A>AbstractStandaloneGroup. getActorsBelow(Class parent, Class<A> actor)
Returns a list of actors comprising of the requested actor type (exact match).Methods in adams.flow.standalone that return Actor Modifier and Type Method Description protected Actor
Events. checkActor(Actor actor)
Checks whether the actor is valid, throws an execption if not.Actor
AbstractStandaloneGroup. find(String name)
Finds the actor with the specified name recursively.protected Actor
AbstractCallableDatabaseConnection. findCallableActor()
Tries to find the callable actor referenced by its name.protected Actor
QueueInit. findCallableActor(CallableActorReference name)
Tries to find the callable actor referenced by its callable name.Actor
AbstractMultiView. firstActive()
Returns the first non-skipped actor.Actor
AbstractMutableActorDaemonEvent. firstActive()
Returns the first non-skipped actor.Actor
AbstractStandaloneGroup. firstActive()
Returns the first non-skipped actor.Actor
Cron. firstActive()
Returns the first non-skipped actor.Actor
DelayedEvent. firstActive()
Returns the first non-skipped actor.Actor
QueueEvent. firstActive()
Returns the first non-skipped actor.Actor
AbstractMultiView. get(int index)
Returns the actor at the given position.Actor
AbstractMutableActorDaemonEvent. get(int index)
Returns the actor at the given position.Actor
AbstractMutableStandaloneGroupItem. get(int index)
Returns the actor at the given position.Actor
AbstractStandaloneGroup. get(int index)
Returns the actor at the given position.Actor
Cron. get(int index)
Returns the actor at the given position.Actor
DelayedEvent. get(int index)
Returns the actor at the given position.Actor
Events. get(int index)
Returns the actor at the given position.Actor
JavaExec. get(int index)
Returns the actor at the given position.Actor
QueueEvent. get(int index)
Returns the actor at the given position.Actor[]
AbstractMultiView. getActors()
Returns the panel providers.Actor[]
AbstractMutableActorDaemonEvent. getActors()
Returns the actors to execute on schedule.Actor[]
AbstractMutableStandaloneGroupItem. getActors()
Returns the sub actors.protected Actor[]
AbstractStandaloneGroup. getActors()
Returns the actors to use.Actor[]
DelayedEvent. getActors()
Returns the actors to execute on schedule.Actor[]
Events. getActors()
Returns the flow items of this sequence.Actor[]
QueueEvent. getActors()
Returns the actors to execute on schedule.Actor
QueueInit. getCallableActor()
Returns the currently set callable actor.Actor[]
Cron. getCronActors()
Returns the actors to execute on schedule.protected Actor
CopyCallableStandalone. getDefaultActor()
Returns the default actor if the callable actor is optional and not found.Actor
JavaExec. getStdErr()
Returns the actor for further processing the stderr output (string).Actor
JavaExec. getStdOut()
Returns the actor for further processing the stdout output (string).Actor
AbstractMultiView.ViewWrapper. getWrapped()
Returns the wrapped actor.Actor
AbstractMultiView. lastActive()
Returns the last non-skipped actor.Actor
AbstractMutableActorDaemonEvent. lastActive()
Returns the last non-skipped actor.Actor
AbstractStandaloneGroup. lastActive()
Returns the last non-skipped actor.Actor
Cron. lastActive()
Returns the last non-skipped actor.Actor
DelayedEvent. lastActive()
Returns the last non-skipped actor.Actor
QueueEvent. lastActive()
Returns the last non-skipped actor.Actor
AbstractMultiView. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
AbstractMutableActorDaemonEvent. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
AbstractMutableStandaloneGroupItem. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
AbstractStandaloneMutableGroup. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
Cron. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
DelayedEvent. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
Events. remove(int index)
Removes the actor at the given position and returns the removed object.Actor
QueueEvent. remove(int index)
Removes the actor at the given position and returns the removed object.Methods in adams.flow.standalone with parameters of type Actor Modifier and Type Method Description String
AbstractMultiView. add(int index, Actor actor)
Inserts the actor at the given position.String
AbstractMultiView. add(Actor actor)
Inserts the actor at the end.String
AbstractMutableActorDaemonEvent. add(int index, Actor actor)
Inserts the actor at the given position.String
AbstractMutableActorDaemonEvent. add(Actor actor)
Inserts the actor at the end.String
AbstractMutableStandaloneGroupItem. add(int index, Actor actor)
Inserts the actor at the given position.String
AbstractMutableStandaloneGroupItem. add(Actor actor)
Inserts the actor at the end.String
AbstractStandaloneMutableGroup. add(int index, Actor actor)
Inserts the actor at the given position.String
AbstractStandaloneMutableGroup. add(Actor actor)
Inserts the actor at the end.String
Cron. add(int index, Actor actor)
Inserts the actor at the given position.String
Cron. add(Actor actor)
Inserts the actor at the end.String
DelayedEvent. add(int index, Actor actor)
Inserts the actor at the given position.String
DelayedEvent. add(Actor actor)
Inserts the actor at the end.String
Events. add(int index, Actor actor)
Inserts the actor at the given position.String
Events. add(Actor actor)
Inserts the actor at the end.String
QueueEvent. add(int index, Actor actor)
Inserts the actor at the given position.String
QueueEvent. add(Actor actor)
Inserts the actor at the end.abstract void
AbstractMultiView. addPanel(Actor actor, BasePanel panel)
Replaces the current dummy panel with the actual panel.void
GridView. addPanel(Actor actor, BasePanel panel)
Replaces the current dummy panel with the actual panel.void
TabView. addPanel(Actor actor, BasePanel panel)
Replaces the current dummy panel with the actual panel.protected String
AbstractMultiView. check(Actor actor)
Checks whether the actor is valid.protected String
AbstractStandaloneGroup. checkActor(Actor actor)
Checks the actor whether it is of the correct type.protected String
AbstractStandaloneGroup. checkActor(Actor actor, int index)
Checks the actor whether it is of the correct type.protected Actor
Events. checkActor(Actor actor)
Checks whether the actor is valid, throws an execption if not.protected abstract String
AbstractMutableActorDaemonEvent. checkActors(Actor[] actors)
Checks the actors before they are set via the setActors method.protected String
AbstractStandaloneGroup. checkActors(Actor[] actors)
Checks the actors whether they are of the correct type.protected String
DelayedEvent. checkActors(Actor[] actors)
Checks the cron actors before they are set via the setActors method.protected String
DirWatch. checkActors(Actor[] actors)
Checks the actors before they are set via the setActors method.protected String
LogEvent. checkActors(Actor[] actors)
Checks the actors before they are set via the setActors method.protected String
QueueEvent. checkActors(Actor[] actors)
Checks the cron actors before they are set via the setActors method.protected String
VariableChangedEvent. checkActors(Actor[] actors)
Checks the actors before they are set via the setActors method.protected String
CopyCallableStandalone. checkCallableActor(Actor actor)
Performs checks on the callable actor.protected String
Cron. checkCronActors(Actor[] actors)
Checks the cron actors before they are set via the setCronActors method.protected String
IncludeExternalStandalone. checkExternalActor(Actor actor)
Performs checks on the external actor.protected String
AbstractMutableStandaloneGroupItem. checkSubActor(int index, Actor actor)
Checks the sub actor before it is set.protected String
AbstractMutableStandaloneGroupItem. checkSubActors(Actor[] actors)
Checks the sub actors before they are set via the setSubActors method.static JobRunnerInstance
JobRunnerInstance. locate(Actor source)
Tries to locate a JobRunnerInstance actor.static JobRunnerInstance
JobRunnerInstance. locate(Actor source, boolean warn)
Tries to locate a JobRunnerInstance actor.String
AbstractMultiView. set(int index, Actor actor)
Sets the actor at the given position.String
AbstractMutableActorDaemonEvent. set(int index, Actor actor)
Sets the actor at the given position.String
AbstractMutableStandaloneGroupItem. set(int index, Actor actor)
Sets the actor at the given position.String
AbstractStandaloneGroup. set(int index, Actor actor)
Sets the actor at the given position.String
Cron. set(int index, Actor actor)
Sets the actor at the given position.String
DelayedEvent. set(int index, Actor actor)
Sets the actor at the given position.String
Events. set(int index, Actor actor)
Sets the actor at the given position.String
JavaExec. set(int index, Actor actor)
Sets the actor at the given position.String
QueueEvent. set(int index, Actor actor)
Sets the actor at the given position.void
AbstractMultiView. setActors(Actor[] value)
Sets the panel providers.void
AbstractMutableActorDaemonEvent. setActors(Actor[] value)
Sets the actors to execute on schedule.void
AbstractMutableStandaloneGroupItem. setActors(Actor[] value)
Sets the sub-actor.protected void
AbstractStandaloneGroup. setActors(Actor[] value)
Sets the actors to use.void
DelayedEvent. setActors(Actor[] value)
Sets the actors to execute on schedule.void
Events. setActors(Actor[] value)
Sets the flow items for this sequence.void
QueueEvent. setActors(Actor[] value)
Sets the actors to execute on schedule.void
Cron. setCronActors(Actor[] value)
Sets the actors to execute on schedule.void
AbstractStandaloneGroup. setParent(Actor value)
Sets the parent of this actor, e.g., the group it belongs to.void
JavaExec. setStdErr(Actor value)
Sets the actor for further processing the stderr output (string).void
JavaExec. setStdOut(Actor value)
Sets the actor for further processing the stdout output (string).void
AbstractMultiView.ViewWrapper. setWrapped(Actor value)
Sets the actor to wrap.Constructors in adams.flow.standalone with parameters of type Actor Constructor Description AutogeneratedStandalone(Actor actor)
Encapsulates the specified actor.AutogeneratedStandalone(Actor[] actors)
Encapsulates the specified actors.InactiveStandalone(Actor actor)
Encapsulates the specified actor.InactiveStandalone(Actor[] actors)
Encapsulates the specified actors. -
Uses of Actor in adams.flow.standalone.wekapackagemanageraction
Fields in adams.flow.standalone.wekapackagemanageraction declared as Actor Modifier and Type Field Description protected Actor
AbstractWekaPackageManagerAction. m_FlowContext
the flow context.Methods in adams.flow.standalone.wekapackagemanageraction that return Actor Modifier and Type Method Description Actor
AbstractWekaPackageManagerAction. getFlowContext()
Returns the flow context, if any.Methods in adams.flow.standalone.wekapackagemanageraction with parameters of type Actor Modifier and Type Method Description void
AbstractWekaPackageManagerAction. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.flow.template
Subinterfaces of Actor in adams.flow.template Modifier and Type Interface Description interface
ActorTemplateUser
Interface for actors that make use for actor templates.Methods in adams.flow.template that return Actor Modifier and Type Method Description protected abstract Actor
AbstractActorTemplate. doGenerate()
Generates the actor.protected Actor
AbstractScriptedTemplate. doGenerate()
Generates the actor.protected Actor
DummySink. doGenerate()
Generates the actor.protected Actor
DummySource. doGenerate()
Generates the actor.protected Actor
DummyStandalone. doGenerate()
Generates the actor.protected Actor
DummyTransformer. doGenerate()
Generates the actor.protected Actor
EndlessLoop. doGenerate()
Generates the actor.protected Actor
FileProcessingWithProgressBar. doGenerate()
Generates the actor.protected Actor
FromFile. doGenerate()
Generates the actor.protected Actor
InstanceDumperVariable. doGenerate()
Generates the actor.protected Actor
IterateFilesWithProgressBar. doGenerate()
Generates the actor.protected Actor
OptionTraverser. doGenerate()
Generates the actor.protected Actor
ProgressInConsole. doGenerate()
Generates the actor.protected Actor
PromptUser. doGenerate()
Generates the actor.protected Actor
SimpleMenu. doGenerate()
Generates the actor.protected Actor
StoreFilenameInVariable. doGenerate()
Generates the actor.protected Actor
StoreReportValueInVariable. doGenerate()
Generates the actor.protected Actor
StringReplace. doGenerate()
Generates the actor.protected Actor
UpdateVariable. doGenerate()
Generates the actor.protected abstract Actor
AbstractScriptedTemplate. executeScript()
Executes the script to generate the actor.protected Actor
Groovy. executeScript()
Executes the script to generate the actor.protected Actor
Scripted. executeScript()
Executes the script to generate the actor.Actor
AbstractActorTemplate. generate()
Returns the generated actor.protected Actor
AbstractActorTemplate. postGenerate(Actor actor)
Hook before generating the actor.Methods in adams.flow.template with parameters of type Actor Modifier and Type Method Description protected Actor
AbstractActorTemplate. postGenerate(Actor actor)
Hook before generating the actor. -
Uses of Actor in adams.flow.transformer
Subinterfaces of Actor in adams.flow.transformer Modifier and Type Interface Description interface
DataContainerDbReader<T extends DataContainer>
Interface for actors that read containers from the database.interface
DataContainerDbWriter<T extends DataContainer & DatabaseIDHandler>
Interface for actors that import data containers into the database.interface
FeatureGenerator<T>
General interface for feature generating actors.interface
SpreadSheetMergeActor
Indicator interface for actors that merge spreadsheets.interface
WekaMergeInstancesActor
Interface for transformers that merge Weka Instances.Classes in adams.flow.transformer that implement Actor Modifier and Type Class Description class
AbstractArrayProvider
Ancestor for transformer actors that can output items one by one or as a single array.class
AbstractCallableWekaClassifierEvaluator
Ancestor for classifier evaluators that make use of a callable classifier.class
AbstractCallableWekaClustererEvaluator
Ancestor for clusterer evaluators that make use of a callable clusterer.class
AbstractContainerValueExtractor
Ancestor for transformers that extract values from a container.class
AbstractDataContainerAdd<T extends DataContainer>
Ancestor for transformers that superimpose the incoming data container on one available from storage (or if not available, put the current one in storage) and forward the combined data container.class
AbstractDataContainerAppend<T extends DataContainer>
Ancestor for transformers that append the incoming data container to one available from storage (or if not available, put the current one in storage) and forward the combined data container.class
AbstractDataContainerDbReader<T extends DataContainer>
Ancestor for transformers that read containers from the database.class
AbstractDataContainerDbWriter<T extends DataContainer & DatabaseIDHandler>
Abstract ancestor for actors that import data containers into the database.class
AbstractDataContainerFileImport<T extends DataContainer>
Abstract ancestor for actors that import data containers.class
AbstractDataContainerFileReader<T extends DataContainer>
Abstract ancestor for actors that read data containers from disk.class
AbstractDataContainerFileWriter<T extends DataContainer>
Abstract ancestor for transformer actors that write data containers to disk.class
AbstractDataContainerTransformer
Ancestor for actors that transform data containers.class
AbstractDataProcessor
Abstract ancestor for classes that process data on disk.class
AbstractDbArrayProvider
Ancestor for array providers that use the database.class
AbstractDbDataProcessor
Abstract ancestor for data processors that use a database.class
AbstractDbTransformer
Abstract ancestor for transformers that query a database.class
AbstractDeleteDataContainer<T extends DataContainer>
Ancestor for transformers that delete containers from the database.class
AbstractDeleteDbReportValue<T extends Report>
Ancestor for transformers that delete values from a report in the database whenever a token passes through.class
AbstractDeleteReportValue
Ancestor for transformers that delete values from a report.class
AbstractDeleteReportValueByExpression
Ancestor for transformers that delete field/value from a report if the boolean expression evaluates to true.class
AbstractFilter
Ancestor for domain-specific filter transformers.class
AbstractGetReportValue
Ancestor for transformers that retrieve a value from a report.class
AbstractInPlaceSpreadSheetTransformer
Ancestor for spreadsheet transformers that allow the processing to happen in-place, rather than on a copy of the data.class
AbstractInstanceGenerator<T extends DataContainer>
Ancestor for transformers that turn data containers into WEKA Instance objects.class
AbstractInteractiveTransformer
Ancestor for transformers that interact with the user.class
AbstractInteractiveTransformerDialog
Ancestor for graphical actors that are interactive.class
AbstractMultiCompress
Abstract ancestor for compression algorithms that allow the compression of multiple files (incl directory structure).class
AbstractMultiDecompress
Ancestor for compression schemes that manage archives with multiple files (incl directory structure) like zip archives.class
AbstractProcessWekaInstanceWithModel<T>
Ancestor for transformers that user models for processing Instance objects, e.g., classifiers making predictions.class
AbstractReportDbReader<T extends Report,I>
Abstract ancestor for actors that load reports from the database.class
AbstractReportDbUpdater
Ancestor for transformers that updateReport
objects or reports that are part of aMutableReportHandler
object.class
AbstractReportDbWriter<T extends Report,I>
Abstract ancestor for actors that write reports to the database.class
AbstractReportDbWriterByDBID<T extends Report>
Abstract ancestor for actors that write reports to the database.class
AbstractReportDbWriterByID<T extends Report>
Abstract ancestor for actors that write reports to the database.class
AbstractReportFileImport<T extends Report>
Abstract ancestor for report import actors.class
AbstractReportFileReader<T extends Report>
Abstract ancestor for report file reader transformers.class
AbstractReportFileWriter<T extends Report>
Abstract ancestor for actors that write reports to disk.class
AbstractReportValueDbWriter<T extends Report>
Abstract ancestor for actors that write report values to the database.class
AbstractScript
Ancestor for transformer script actors.class
AbstractSetReportValue
Ancestor for transformers that update the value of field in a report.class
AbstractSingleCompress
Ancestor for compression algorithms that only take a single file, like gzip.class
AbstractSingleDecompress
Ancestor for decompression algorithms that only work with archives that consists of a single file, like gunzip.class
AbstractSpreadSheetTransformer
Ancestor for transformers that work on spreadsheets and also output spreadsheets again.class
AbstractStringOperation
Ancestor for transformers that perform operations on strings.class
AbstractTransformer
Ancestor for all flow items that process an input token and generate an output token.class
AbstractTransformerWithPropertiesUpdating
Ancestor for transformers that allow changing the object's properties using variables.class
AbstractWekaClassifierEvaluator
Ancestor for transformers that evaluate classifiers.class
AbstractWekaModelReader
Ancestor for actors that deserialize models.class
AbstractWekaPredictionsTransformer
Ancestor for transformers that convert the predictions stored in an Evaluation object into a different format.class
AccessDatabaseInfo
Outputs information on a MS Access database.class
AddDOMAttribute
Adds a new attribute to the incoming org.w3c.dom.Node and forwards the new updated node.class
AddDOMNode
Adds a new node below the incoming org.w3c.dom.Node and forwards the new node.
In case of an incoming org.w3c.dom.Document, the node gets added below the root node.class
AddNote
Adds a note to the notes handler passing through.
Pre-defined note types:
- ERROR:
- WARNING:
- PROCESS INFORMATION
Input/output:
- accepts:
adams.data.NotesHandler
- generates:
adams.data.NotesHandler
class
AppendName
Appends the suffix to the file/directory being passed through.
By default, the appropriate separator (forward slash or backslash) gets inserted between the file/directory and suffix.class
ArrayCombinations
Turns an array of any type into a sequence of array combinations of given size.class
ArrayHistogramRanges
Outputs the ranges generated by adams.data.statistics.ArrayHistogram using the incoming double array or matrix.
In case of an array, the data-type and location are ignored.class
ArrayLength
Determines the length of an array.class
ArrayReverse
Reverses the order of the elements in the array.class
ArrayStatistic
Generates statistics from a double array or matrix.class
ArraySubset
Generates a subset of the array, using the specified array elements.class
ArraySubsetGeneration
class
ArrayToChunks
Splits an array into chunks of a specified size.class
ArrayToCollection
Turns an array into a collection.class
ArrayToSequence
Turns an array of any type into a sequence of tokens.class
ArrayToVariables
class
AutogeneratedTransformer
Encapsulates a sequence of auto-generated actors.class
BaseName
Extracts the name of the file/directory passing through, i.e., any preceding directory gets stripped.class
BinaryFileReader
Reads a binary file and forwards the content byte by byte or as byte array.class
BoofCVDetectLines
Detects lines in images (Hough line detector based on polar parametrization).class
BoofCVDetectLineSegments
Detects line segments in images (line RANSAC).class
BoofCVFeatureGenerator
Applies a BoofCV feature generator to the incoming image and outputs the generated features.class
BoofCVMultiImageOperation
Applies a BoofCV multi-image operation to the incoming image(s) and outputs the generated image(s).class
BoofCVTransformer
Applies a BoofCV transformation to the incoming image and outputs the generated image(s).class
BufferedImageFeatureGenerator
Applies an JAI flattener to the incoming image and outputs the generated features.class
BufferedImageMultiImageOperation
Applies a BufferedImage multi-image operation to the incoming image(s) and outputs the generated image(s).class
BufferedImageTransformer
Applies a BufferedImage transformation to the incoming image and outputs the generated image(s).class
Bzip2
Creates a bzip2 archive from a single file.class
CallableTransformer
Feeds tokens into a callable transformer and broadcasts the generated output tokens.class
ChangeImageObjectPrefix
Uses the specified object finder to locate objects and then applies the object filter to the located objects.class
ChangeReportFieldPrefixes
Replaces the specified old prefixes with the new one.class
ClassSelector
Sets (or unsets) the class index/indices.class
CollectionAppend
Appends the elements of the incoming collection to the one in storage.
If there is none in storage yet, a copy of the incoming collection will simply get stored in storage.
The combined collection is then forwarded.class
CollectionInsert
Inserts an object in the collection using the specified position.
The object can be retrieved from a callable actor or from storage.
If the collection does not implement the java.util.List interface and the insertion is not at the end, the insertion will fail.
See also:
adams.flow.transformer.StorageCollectionInsert
Input/output:
- accepts:
java.util.Collection
- generates:
java.util.Collection
class
CollectionSize
class
CollectionSubset
Generates a subset of the collection, using the specified elements.class
CollectionToArray
Turns a collection of any type into an array.class
CollectionToSequence
Turns a collection of any type into a sequence of tokens.class
ColorProvider
Outputs a color for each token passing through.
If the color provider implements adams.gui.visualization.core.ColorProviderWithNameSupport then the color associated with the incoming string token is forwarded.
The color provider can be reset using the specified variable.class
CompareObjectLocations
Visualizes object locations (annotations and predicted) for the incoming image side-by-side.
Only forwards the image container when accepted.class
CompareObjects
Compares two objects using the specified compare algorithm and forwards the output of the comparison.class
CompareObjectTypes
Compares the object types between objects from the two reports.
The first report is considered 'ground truth'.class
ConfirmationDialog
Pops up a confirmation dialog, prompting the user to select 'yes', 'no' or 'cancel'.
If no custom tokens are used, the current token is only forwarded when the user selects 'yes'.class
ConfusionMatrix
Generates a confusion matrix from the specified actual and predicted columns containing class labels.
Can take a probability column (of prediction) into account for generating weighted counts.class
ContainerToStorage
Extracts the specified values from the container passing through and makes them available as storage items.class
ContainerToVariables
Extracts the specified values from the container passing through and makes them available as variables.class
ControlChart
Applies a control chart algorithm to the data.class
Convert
Converts data from one format into another.class
ConvertFeatures
Turns the raw features generated by a feature converter (stored in a adams.flow.container.FeatureConverterContainer) into a specific format using the user-defined feature converter.
If an array of containers is received, the get merged first, i.e., placed side-by-side.class
Copy
Creates copies of the tokens being passed through.class
CopyCallableTransformer
Feeds tokens into the copy of a callable transformer and broadcasts the generated output tokens.class
CopyFile
Copies the file received on its input port to the target directory if it matches the provided regular expression.
In case of a directory, the directory gets copied recursively.
If required, you can also provide a new filename (just the name, no path).
The generated target file/directory gets forwarded in the flow.class
CopyToClipboard
Copies the data in this token to the system's clipboard using the specified clipboard manager.class
CounterAdd
Passes a value through the specified counter.class
CounterInit
Creates a counter from a column in a spreadsheet or an array.class
CountObjectsInPolygon
Counts the objects in the report passing through that fall into the defined region.
Partial hits can be counted as well, using their percentage in overlap as count.class
CountObjectsInRegion
Counts the objects in the report passing through that fall into the defined region.
Partial hits can be counted as well, using their percentage in overlap as count.class
CreateEmail
Actor for creating emails to be sent.class
DatasetFilter
Applies the batch filter to the dataset.class
DatasetRowFilter
Applies the stream filter to the rows.class
DateTimeTypeDifference
Computes the difference between the two date/time types of the incoming array (of length 2) by subtracting the second element from the first one.class
DecodeBarcode
Decodes the data in a barcode using the specified decoder.class
DeleteFile
Deletes the file/directory (or files/directories) received on its input port if it matches the provided regular expression.
In case of directories, deletion is performed recursively (if a directory matches, then the content gets deleted regardless whether it matches the regular expression or not).class
DeleteJsonValue
class
DeleteMapValue
Deletes the specified key/value pair from the map passing through.class
DeleteOverlappingImageObjects
Cleans up overlapping objects, e.g., multiple predicted bounding boxes per object.class
DeletePropertyValue
Deletes the specified property from the Properties object passing through.class
DeleteReportValue
Deletes values from a report.class
DeleteReportValueByExpression
class
DeleteStorageValue
Removes the specified value (or the ones that match the regular expression) from temporary storage whenever a token passes through.
By supplying a cache name, the value can be removed from a LRU cache instead of the regular storage.class
DeleteVariable
Removes a variable by name or the variables that match the regular expression.class
Deserialize
Deserializes a previously serialized Java object from a file.class
DetermineOverlappingAreas
class
DetermineOverlappingObjects
Computes the overlap of objects with the specified report from storage (or itself) using the specified algorithm.class
Diff
Compares two files or two string arrays and generates a diff representation.
In case of BRIEF, the output is whether the two files/arrays are different.class
DirName
Extracts the directory part of the file/directory passing through, i.e., any trailing name part gets stripped.
See also:
adams.flow.transformer.AppendName
adams.flow.transformer.PrependDir
adams.flow.transformer.RelativeDir
adams.flow.transformer.BaseName
adams.flow.transformer.FileExtension
Input/output:
- accepts:
java.lang.String
java.lang.String[]
java.io.File
java.io.File[]
- generates:
java.lang.String
java.lang.String[]
java.io.File
java.io.File[]
class
DownloadContent
Downloads the raw, textual content from a URL and forwards it.Also handles basic authentication when using URLs like this:
http://user:pass@domain.com/url
Input/output:
- accepts:
java.lang.String
adams.core.base.BaseURL
java.net.URL
- generates:
java.lang.String
class
Draw
Performs a draw operation on an image.class
EmailFileReader
Reads email(s) from a file.class
EncodeBarcode
class
ExecuteActor
Executes the actor passing through and forwards it once finished.
If the actor is an instance of adams.flow.execution.FlowExecutionListeningSupporter and flow execution listening enabled, then the specified flow execution listener gets attached.class
ExecuteJobs
Executes the incoming jobs.class
ExecuteRemoteCommand
Executes the incoming commands.class
ExifTagOperation
Performs the specified EXIF operation on the incoming data.class
ExpandStorage
Expands all the storage items (using their string representation) and variables in the string(s) passing through.
A string can consist of arbitrary strings and the following special placeholders:
- variables: @{...}
- storage placeholders: %{...}
Input/output:
- accepts:
java.lang.String
java.lang.String[]
- generates:
java.lang.String
java.lang.String[]
class
ExpandVariables
Expands all the variables in the string(s) passing through.A string can consist of arbitrary strings and the following special placeholder for variables:
@{...}
Input/output:
- accepts:
java.lang.String
java.lang.String[]
- generates:
java.lang.String
java.lang.String[]
class
ExternalTransformer
Transformer that executes an external transformer actor stored on disk.class
FileChanged
Checks whether the input file has changed using the specified monitor.
Must be initialized once with the same file.class
FileExtension
Extracts the file extension from the file (the part after the '.').
If no dot is in the file name, then an empty string gets forwarded.
See also:
adams.flow.transformer.AppendName
adams.flow.transformer.PrependDir
adams.flow.transformer.RelativeDir
adams.flow.transformer.DirName
adams.flow.transformer.BaseName
Input/output:
- accepts:
java.lang.String
java.lang.String[]
java.io.File
java.io.File[]
- generates:
java.lang.String
java.lang.String[]
class
FileInfo
Outputs information for a path (file/directory).class
FilenameGenerator
Passes the incoming token through the generator to generate and forward a filename.
See also:
adams.flow.source.FilenameGenerator
Input/output:
- accepts:
adams.flow.core.Unknown
- generates:
java.lang.String
class
FileTailer
Monitors a text file for data being appended, e.g., log files.class
FilterMap
Applies the specified filter to the map object passing through.class
FindInFile
Searches the incoming (text) file for the specified search string, output the boolean search result.class
FlowFileReader
Reads the flow file and outputs the actor(s).
A custom reader can be specified in case of reading from files, but must be specified when reading from java.io.Reader or java.io.InputStream objects.class
FTPDelete
Deletes a remote file and forwards the file name.class
FTPDisconnect
Closes the currently open FTP session.
Simply passes through any tokens.class
FTPGet
Downloads a remote file and forwards the local file name.class
FTPNoOp
Sends a NOOP command to the FTP server whenever a token passes through.class
FTPSend
Uploads a file to a remote directory.
The file name of a successful upload gets forwarded.class
GenerateFileBasedDataset
Applies the specified generator to the incoming dataset container.
See also:
adams.flow.control.SetContainerValue
adams.flow.transformer.PrepareFileBasedDataset
Input/output:
- accepts:
adams.flow.container.FileBasedDatasetContainer
- generates:
java.lang.String
Container information:
- adams.flow.container.FileBasedDatasetContainer: Train, Test, Validation, Negative
class
GetArrayElement
Picks an element from an array and forwards only this element.class
GetDatabaseID
Returns the database ID of the database ID handler passing through.class
GetID
Returns the ID of the ID handler passing through.class
GetImageObjectIndices
Uses the specified object finder to locate objects and forwards the indices.class
GetImageObjectMetaData
Retrieves the meta-data of the incoming adams.flow.transformer.locateobjects.LocatedObject object.class
GetImageObjects
Uses the specified object finder to locate objects and forwards the objects.class
GetJsonKeys
Outputs all the keys of the JSON Object passing through.class
GetJsonValue
Obtains the value associated with the specified key from the JSON object passing through.
Null values are only forwarded if requested.class
GetListElement
Picks an element from a list and forwards only this element.class
GetMapKeys
Forwards all the sorted (string) keys of the map.class
GetMapValue
Obtains the value associated with the specified key from Map object received as input and forwards it.class
GetNotes
Returns the notes of the notes handler passing through.class
GetObjectProperty
Retrieves a value from an object's property using a bean property path.
A bean property consists usually of a get and set method, e.g.:
- setDebug(boolean)
- boolean getDebug()
The property name for this pair is:
debug
Input/output:
- accepts:
java.lang.Object
- generates:
adams.flow.core.Unknown
class
GetProperties
Outputs the names of all Java Bean properties of the incoming object.class
GetProperty
Obtains the current property value of the object passing through.class
GetPropertyNames
Outputs all the keys of the properties object passing through.class
GetPropertyValue
Obtains the value(s) associated with the keys that match the specified regular expression from the Properties object passing through.
Null values are only forwarded if requested.class
GetRemoteCommandPayload
Returns the underlying payload objects (if any) from the incoming remote command.
Depending on request/response flag, it outputs the corresponding payload objects.
Does not forward anything if the array is empty.class
GetReport
Returns the report of the report handler passing through.class
GetReportValue
Retrieves a value from a report.class
GetStorageValue
Retrieves a value from internal storage using the incoming string token as name.class
Groovy
A transformer that uses a Groovy script for processing the token(s).class
GroupByRegExp
Groups the incoming strings into sub-groups.class
GUNZIP
Decompresses an archive that was compressed with gzip.class
GZIP
Creates a GZIP archive from a single file.class
HashSetAdd
Adds a value to the specified hashset.class
HashSetInit
Creates a hashset from a column in a spreadsheet or an array.class
HashSetRemove
Removes a value from the specified hashset.class
HexReplace
Allows to find and replace characters in hex notation.class
HttpPostFile
Uploads the incoming file via HTTP POST to the specified URL as 'multipart/form-data'.
Additional form fields can be supplied as well.class
HttpRequest
Sends the incoming text/bytes payload to the specified URL (with optional HTTP headers) and forwards the retrieved HTML as text.class
IDGenerator
Generates IDs from the objects it receives on its input and forwards the generated IDs.class
ImageAnnotator
Allows the user to label objects located on the image and pass on this enriched meta-data.class
ImageFileReader
Reads any file format that the specified image reader supports.
If meta-data is associated with the image, then this can be loaded as well.class
ImageInfo
Obtains information from the picture passing through.class
ImageLabeler
Allows the user to label images, setting a report field in the meta-data.
Any logged interaction will get added as JSON under interaction-log in the report.class
ImageMetaData
Returns any EXIF or IPTC and basic image information as a spreadsheet.class
ImageObjectAnnotator
User interface for annotating objects in images.class
ImageObjectFilter
Uses the specified object finder to locate objects and then applies the object filter to the located objects.class
ImageObjectIndexOffset
Offsets the object index.class
ImageObjectInfo
Outputs the requested type of information for either the incoming adams.flow.transformer.locateobjects.LocatedObject or the specified image object in the report.class
ImageObjectOverlap
Computes the overlap of objects with the specified report from storage.
It stores the overlap percentage of the highest overlap found (overlap_highest) and the total number of overlaps greater than the specified minimum (overlap_count).
If a label key (located object meta-data) has been supplied, then the label of the object with the highest overlap gets stored as well (overlap_label_highest) and whether the labels match (overlap_label_highest_match)
Input/output:
- accepts:
adams.data.image.AbstractImageContainer
adams.data.report.Report
adams.data.report.ReportHandler
- generates:
adams.data.image.AbstractImageContainer
adams.data.report.Report
adams.data.report.ReportHandler
class
ImageObjectOverlapMatrix
Generates a matrix of overlapping image objects (annotations vs predictions) and their labels.
When outputting not just overlaps, a separate column 'Overlap' is output as well, indicating whether this row represents an overlap ('yes') or not ('no')
Input/output:
- accepts:
adams.data.image.AbstractImageContainer
adams.data.report.Report
adams.data.report.ReportHandler
- generates:
adams.data.spreadsheet.SpreadSheet
class
ImageObjectToVariables
Converts the parameters of an image object into variables.
Meta-data can be turned into variables as well.class
ImagePreparation
Preprocesses an image.class
ImageSegmentationAnnotator
User interface for annotating images for image segmentation.class
ImageSegmentationContainerFilter
Applies a Image Segmentation container filter to the incoming container(s) and outputs the generated data.class
ImageSegmentationContainerOperation
Applies a Image Segmentation container operation to the incoming container(s) and outputs the generated data.class
ImageSegmentationFileReader
Reads image segmentation file formats using the specified reader and forwards a container with the data.class
ImageSharpness
Determines whether images are in focus ('sharp') using the specified algorithm.class
InactiveTransformer
Encapsulates a sequence of inactive actors.class
IncludeExternalTransformer
Includes an external transformer.class
IncStorageValue
Increments the value of a storage value by either an integer or double increment.
If the storage value has not been set yet, it will get set to 0.
If the storage value contains a non-numerical value, no increment will be performed.
It is also possible to directly output the updated storage value (while discarding the input token).class
IncVariable
Increments the value of a variable by either an integer or double increment.
If the variable has not been set yet, it will get set to 0.
If the variable contains a non-numerical value, no increment will be performed.
It is also possible to directly output the updated variable (while discarding the input token).class
IndexedSplitsRunsEvaluation
Uses the specified evaluation for evaluating the incoming data.class
IndexedSplitsRunsGenerator
Uses the specified generator for generating indexed splits from the incoming data.class
IndexedSplitsRunsPredictions
Uses the specified generator for generating predictions from indexed splits for the incoming data.class
IndexedSplitsRunsReader
Reads indexed splits runs from disk using the specified reader.class
IntersectOverUnion
Computes the Intersect Over Union (IOU) of objects with the specified report from storage.
It stores the highest IOU found (iou_highest) and the total number of iou greater than the specified minimum (iou_count).
If a label key (located object meta-data) has been supplied, then the label of the object with the highest iou gets stored as well (iou_label_highest) and whether the labels match (iou_label_highest_match)
Input/output:
- accepts:
adams.data.image.AbstractImageContainer
adams.data.report.Report
adams.data.report.ReportHandler
- generates:
adams.data.image.AbstractImageContainer
adams.data.report.Report
adams.data.report.ReportHandler
class
JsonFileReader
Reads a JSON file and forwards the parsed JSON object.
If it is know beforehand, whether the JSON file contains an object or an array, the output type can be specified.class
LocateObjects
Locates objects in an image and forwards an image per located object, cropped around the object.class
LookUp
Forwards the value associated with the key that the actor gets as input, using the specified lookup table from internal storage.class
LookUpAdd
Adds key-value pairs to the specified lookup table.
The input can either an array or a spreadsheet.
If the input is an array, it must have length 2, with the first element the key and the second one the value.class
LookUpInit
Creates a lookup table from a spreadsheet, using one column as key and another one as value.class
LookUpRemove
Removes a key/value pair from the specified lookup table.class
LookUpUpdate
Updates the lookup table (in form of a spreadsheet) that passes through using the specified rules.
The rules can contain variables.
The rules use the following grammar:
expr_list ::= expr_list expr_part | expr_part
expr_part ::= conditional | assignment
conditional ::= if expr then assignments end
| if expr then assignments else assignments end
assignments ::= assignments assignment | assignment
assignment ::=
VARIABLE := expr;
| all ( "regexp" ) := expr;
expr ::= ( expr )
| NUMBER
| STRING
| BOOLEAN
| VARIABLE
| true
| false
| -expr
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr
| not expr
| expr and expr
| expr or expr
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr % expr
| expr ^ expr
| abs ( expr )
| sqrt ( expr )
| cbrt ( expr )
| log ( expr )
| log10 ( expr )
| exp ( expr )
| sin ( expr )
| sinh ( expr )
| cos ( expr )
| cosh ( expr )
| tan ( expr )
| tanh ( expr )
| atan ( expr )
| atan2 ( exprY , exprX )
| hypot ( exprX , exprY )
| signum ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| min ( expr1 , expr2 )
| max ( expr1 , expr2 )
Notes:
- Variables are either all alphanumeric and -/_ (e.g., "ABc_1-2") or any character
apart from "'" enclosed by "'" and "'" (e.g., "'Hello World'").
- The 'all' method applies the value to all the values in the lookup table
that match the regular expression.
- Variables starting with '_' are considered local and don't get transferred back out.
Input/output:
- accepts:
adams.data.spreadsheet.SpreadSheet
- generates:
adams.data.spreadsheet.SpreadSheet
class
Lzf
Creates a LZF archive from a single file.class
Lzma
Creates a LZMA (7zip) archive from a single file.class
MakeDir
Creates the directory accepted on the input port if not already existing.class
MakeForecastPlotContainer
Creates a named containers for the SequencePlotter actor using the incoming forecasts.class
MakeJFreeChartDataset
Generates a JFreeChart dataset from the incoming spreadsheet.class
MakeLogEntry
Creates a log entry from the incoming token.class
MakePlotContainer
Creates a named container for the SequencePlotter actor.
In case of Double arrays arriving at the input, they must have length 2 for X and Y, 4 for X/Y/Y-Error (low/high) or 6 X/Y/X-Error (low-high)/Y-Error (low-high).
Integer arrays can only have the length 2.
It is also possible, depending on the plotter sink setup, to use strings for x and/or y.
In order to force an update of the plot, overriding the current plot-updater setup, you can create a special plot container of type UPDATE and send that to the plot (can be triggered with a null-token, e.g., from a adams.flow.source.Start source).class
MapToStorageValues
Stores the map content in internal storage.
Only the map keys that match the regular expression are turned into storage values.class
MapToVariables
Turns the map content into variables.
Only the map keys that match the regular expression are turned into variables.class
MapVariableIterator
Iterates over the keys of the incoming map and sets variables for current key and variable.class
Mat5ArrayInfo
Provides information on a Matlab5 array.class
Mat5ArraySubset
Outputs either a single value (all dimensions in index specified) from an array or a subset (if one or more dimensions left empty).
Only arrays of type us.hebi.matlab.mat.types.Matrix are currently supported.class
Mat5FileAddArray
Adds an array to the matlab file object using the specified name.
The array can be retrieved from a callable actor or from storage.class
Mat5FileAddMap
Adds the elements of a map to the matlab file object using the names from the map.
The map can be retrieved from a callable actor or from storage.class
Mat5FileGetArray
Retrieves the specified array from the mat file object.class
Mat5FileInfo
Provides information from a .mat file.class
Mat5FileReader
Loads a Matlab file in mat5 format.class
Mat5GetMatrixElement
Retrieves the specified matrix element.class
Mat5GetStructField
Retrieves the specified struct field.class
Mat5SetMatrixElement
Sets the specified element in the matrix passing through.
The value gets parsed automatically according to the element type.class
Mat5SetStructField
Sets obtained array under the specified field name.class
Mat5StructInfo
Provides information from a Matlab struct object.class
MatchReportFields
Outputs all fields that match the regular expression.class
MathExpression
Evaluates a mathematical expression.
The input value (double or integer) can be accessed via 'X'.
Variables are supported as well, e.g.: pow(X,@{exp}) with '@{exp}' being a variable available at execution time.
The following grammar is used for the expressions:
expr_list ::= '=' expr_list expr_part | expr_part ;
expr_part ::= expr ;
expr ::= ( expr )
# data types
| number
| string
| boolean
| date
# constants
| true
| false
| pi
| e
| now()
| today()
# negating numeric value
| -expr
# comparisons
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr (or: expr <> expr)
# boolean operations
| ! expr (or: not expr)
| expr & expr (or: expr and expr)
| expr | expr (or: expr or expr)
| if[else] ( expr , expr (if true) , expr (if false) )
| ifmissing ( variable , expr (default value if variable is missing) )
| isNaN ( expr )
# arithmetics
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr ^ expr (power of)
| expr % expr (modulo)
;
# numeric functions
| abs ( expr )
| sqrt ( expr )
| cbrt ( expr )
| log ( expr )
| log10 ( expr )
| exp ( expr )
| sin ( expr )
| sinh ( expr )
| cos ( expr )
| cosh ( expr )
| tan ( expr )
| tanh ( expr )
| atan ( expr )
| atan2 ( exprY , exprX )
| hypot ( exprX , exprY )
| signum ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| min ( expr1 , expr2 )
| max ( expr1 , expr2 )
| year ( expr )
| month ( expr )
| day ( expr )
| hour ( expr )
| minute ( expr )
| second ( expr )
| weekday ( expr )
| weeknum ( expr )
# string functions
| substr ( expr , start [, end] )
| left ( expr , len )
| mid ( expr , start , len )
| right ( expr , len )
| rept ( expr , count )
| concatenate ( expr1 , expr2 [, expr3-5] )
| lower[case] ( expr )
| upper[case] ( expr )
| trim ( expr )
| matches ( expr , regexp )
| trim ( expr )
| len[gth] ( str )
| find ( search , expr [, pos] )
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
;
Notes:
- Variables are either all upper case letters (e.g., "ABC") or any character apart from "]" enclosed by "[" and "]" (e.g., "[Hello World]").
- 'start' and 'end' for function 'substr' are indices that start at 1.
- Index 'end' for function 'substr' is excluded (like Java's 'String.substring(int,int)' method)
- Line comments start with '#'.
- Semi-colons (';') or commas (',') can be used as separator in the formulas,
e.g., 'pow(2,2)' is equivalent to 'pow(2;2)'
- dates have to be of format 'yyyy-MM-dd' or 'yyyy-MM-dd HH:mm:ss'
- times have to be of format 'HH:mm:ss' or 'yyyy-MM-dd HH:mm:ss'
- the characters in square brackets in function names are optional:
e.g.class
Max
Returns the maximum value from a double/int array or the index of the maximum value.class
MergeObjectLocations
Merges the object locations in the report of the container passing through with the one obtained from storage.
The 'overlap action' determines what to do if objects overlap.
With the 'check type' you can still trigger a 'skip' if the type values of the two overlapping objects differ.
For simply merging all objects, choose a minOverlapRatio of 0.0 and the OverlapAction of KEEP.class
MergeReport
Allows the report (or the report of a report handler) passing through to to be merged with another one.class
MergeReportFromMap
Merges the passing through report handler/report objects with the referenced map of report objects in storage.class
MessageDigest
Generates a message digest and forwards that.class
MimeType
Determines the mime type of a file.class
Min
Returns the minimum value from a double/int array or the index of the minimum value.class
MoveFile
Moves a file to a different location (or just renames it).
Source and target can be swapped as well.
Simply forwards the input token if moving was successful.class
MultiMapOperation
Applies the specified operation the incoming map array.class
MultiMat5MatrixOperation
Applies a multi-matrix operation to the incoming matrix(s) and outputs the generated matrix(s).class
MultiSpreadSheetOperation
Applies the specified operation the incoming spreadsheet array.class
NegativeRegions
Uses the specified generator for generating negative regions for the image passing through.class
ObjectArrayToPrimitiveArray
Turns an object array into an primitive one.class
OpenCVFeatureGenerator
Applies a OpenCV feature generator to the incoming image and outputs the generated features.class
OpenCVMultiImageOperation
Applies a BoofCV multi-image operation to the incoming image(s) and outputs the generated image(s).class
OpenCVTransformer
Applies a OpenCV transformation to the incoming image and outputs the generated image(s).class
OptionProducer
Generates string output from the object passing through using the specified option producer.class
OutlierDetector
Applies the outlier detector and either outputs the updated data container or a flow container with the data and the detection results.class
PassThrough
Dummy transformer that passes tokens through.class
PDFAppendDocument
Modifies the incoming PDF document generated by adams.flow.source.PDFNewDocument using the PDF processors on either the specified input file or storage item.
Needs to be finalized with adams.flow.sink.PDFCloseDocument.
If a file name is received as input, it is assumed that this is an existing PDF file and gets appended.
See also:
adams.flow.source.PDFNewDocument
adams.flow.sink.PDFCloseDocument
Input/output:
- accepts:
adams.flow.transformer.pdfproclet.PDFGenerator
java.lang.String
java.io.File
- generates:
adams.flow.transformer.pdfproclet.PDFGenerator
class
PDFCreate
Actor for generating PDF files.class
PDFExtract
Actor for extracting a range of pages from a PDF file.class
PDFExtractImages
Actor for extracting the images from a PDF file.class
PDFExtractText
Actor for extracting the text of a range of pages from a PDF file.class
PDFGenerate
class
PDFInfo
Outputs information on a PDF file.class
PDFMerge
Actor for merging multiple PDF files.
Forwards the name of the generated file.class
PDFMetaData
Actor for extracting the meta-data from a PDF.class
PDFPageCount
Actor for extracting the page count from a PDF file.class
PDFRenderPages
Actor for rendering pages of a PDF file as images.class
PDFStamp
Actor for stamping pages in a PDF with a custom overlay.class
PixelSelector
Allows the user to select pixels.class
PredictionEccentricity
Treats the predictions from a regressor as an image and computes the 'eccentricity' of the actual vs predicted plot.class
PrepareFileBasedDataset
Processes the incoming files and generates a dataset container.
See also:
adams.flow.control.SetContainerValue
adams.flow.transformer.GenerateFileBasedDataset
Input/output:
- accepts:
java.lang.String[]
- generates:
adams.flow.container.FileBasedDatasetContainer
Container information:
- adams.flow.container.FileBasedDatasetContainer: Train, Test, Validation, Negative
class
PrependDir
Prepends the prefix to the file/directory being passed through.
By default, the appropriate separator (forward slash or backslash) gets inserted between the file/directory and prefix.class
PrimitiveArrayToObjectArray
Turns a primitive array into an object one.class
ProcessActor
Applies the specified processor to the incoming actor and forwards the result.
For processors implementing adams.flow.processor.ModifyingProcessor the modified actor is forwarded (or, if not modified, the original one), all others just forward the incoming actor.
If the processor should implement adams.flow.processor.ListingProcessor then any generated list gets stored as string array in the outgoing container as well.
Processors implementing adams.flow.processor.GraphicalOutputProducingProcessor can optionall display the graphical output as well (off by default).class
ProgrammaticTokenListener
Transformer that allows other, non-flow code to 'listen on the wire' of the data being processed.
Typically used for flows that are executed as background jobs in the user interface.
Listeners get removed once the flow finishes (wrapUp method).class
PropertiesFileReader
Reads a Java Properties file.class
PropertiesToVariables
Turns the properties into variables.
Only the property keys that match the regular expression are turned into variables.class
PyroTransformer
Transforms data using a Pyro4 call
For more information see:
https://pythonhosted.org/Pyro4/
https://github.com/irmen/Pyrolite
Input/output:
- accepts:
java.lang.Object
- generates:
java.lang.Object
class
PythonExpandScript
Loads the Python script received as input, expands any variables and placeholders, saves it to the specified output file and forwards the output file name.class
RelativeDir
Removes the prefix from the file/directory being passed through to turn them into relative ones.
See also:
adams.flow.transformer.BaseName
adams.flow.transformer.DirName
adams.flow.transformer.AppendName
adams.flow.transformer.PrependDir
adams.flow.transformer.FileExtension
Input/output:
- accepts:
java.lang.String
java.lang.String[]
java.io.File
java.io.File[]
- generates:
java.lang.String
java.lang.String[]
java.io.File
java.io.File[]
class
RemoteCommandReader
Loads the remote command from the incoming file.class
RemoveImageObject
Removes the specified image object.class
RemoveOverlappingImageObjects
Cleans up overlapping objects, e.g., multiple predicted bounding boxes per object.class
ReportDbUpdater
Adds all the data to the report (or reporthandler's report) passing through that the SQL statement returns.
The {ID} placeholder can be used in the SQL statement to represent the current handler's ID.
The following types of SQL statements are supported:
- multiple rows of key-value pairs.
- single row, with the key being the column name.
Input/output:
- accepts:
adams.data.report.Report
adams.data.report.MutableReportHandler
- generates:
adams.data.report.Report
adams.data.report.MutableReportHandler
class
ReportField
Returns all the fields in a report or the report from a report handling object that match the provided regular expression.class
ReportFileReader
Loads a file containing a report from disk with a specified reader and passes it on.class
ReportFileWriter
Saves a report to disk with the specified writer and passes the absolute filename on.
As filename/directory name (depending on the writer) the database ID of the report is used (below the specified output directory).class
ReportMathExpression
Evaluates a mathematical expression based on report values.
Either outputs the updated report or the report handler if that allows updating the report.class
ReportToStorage
Stores all report fields that match the provided regular expression in internal storage.class
ReportToVariables
Turns all report fields that match the provided regular expression into variables.class
Round
Performs 'round', 'ceiling' or 'floor' on double tokens and generates integers.class
ScaleReportObjects
Scales the objects in the report using the provided scale factors.
Processes the following suffixes of all the report fields that match the provided prefix:
- .x
- .y
- .width
- .height
Input/output:
- accepts:
adams.data.report.Report
adams.data.report.ReportHandler
- generates:
adams.data.report.Report
adams.data.report.ReportHandler
class
ScpFrom
Downloads a remote file and forwards the local file name using secure copy (SCP).
For more information see:
(2011).class
ScpTo
Uploads a file to a remote directory using secure copy (SCP).
The file name of a successful upload gets forwarded.
For more information see:
(2011).class
Scripted
A transformer that uses an external script for processing the token(s).class
SelectArraySubset
Allows the user to select a subset of the incoming array to be forwarded in the flow.class
SequenceToArray
Turns a sequence of tokens into arrays with a specified length.
In case of unspecified length (ie -1), an array containing all elements collected so far is output each time a token arrives, i.e., the internal buffer never gets reset.class
SequenceToCollection
Turns a sequence of tokens into a collection.
In case of unspecified length (ie -1), a collection containing all elements collected so far is output each time a token arrives, i.e., the internal buffer never gets reset.class
SetArrayElement
Sets an element of an array and forwards the updated array.class
SetDatabaseID
Updates the database ID of the database ID handler passing through with the provided 'ID' value.class
SetID
Updates the ID of the ID handler passing through with the provided 'ID' value.class
SetImageObjectMetaData
Sets meta-data in the incoming adams.flow.transformer.locateobjects.LocatedObject object.class
SetJsonValue
Sets a value in a JSON object, using the specified path.
The value can be either supplied as string using the 'value' property, obtained from a callable actor (property 'source') or from a storage item (property 'storage').class
SetManyVariables
Sets the values of the variables whenever a token passes through, but does not use the token's value.
Optionally, the specified values can be expanded, in case it is made up of variables itself.
Grammar for mathematical expressions (value type 'MATH_EXPRESSION, MATH_EXPRESSION_ROUND'):
expr_list ::= '=' expr_list expr_part | expr_part ;
expr_part ::= expr ;
expr ::= ( expr )
# data types
| number
| string
| boolean
| date
# constants
| true
| false
| pi
| e
| now()
| today()
# negating numeric value
| -expr
# comparisons
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr (or: expr <> expr)
# boolean operations
| ! expr (or: not expr)
| expr & expr (or: expr and expr)
| expr | expr (or: expr or expr)
| if[else] ( expr , expr (if true) , expr (if false) )
| ifmissing ( variable , expr (default value if variable is missing) )
| has ( variable )
| isNaN ( expr )
# arithmetics
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr ^ expr (power of)
| expr % expr (modulo)
;
# numeric functions
| abs ( expr )
| sqrt ( expr )
| cbrt ( expr )
| log ( expr )
| log10 ( expr )
| exp ( expr )
| sin ( expr )
| sinh ( expr )
| cos ( expr )
| cosh ( expr )
| tan ( expr )
| tanh ( expr )
| atan ( expr )
| atan2 ( exprY , exprX )
| hypot ( exprX , exprY )
| signum ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| min ( expr1 , expr2 )
| max ( expr1 , expr2 )
| year ( expr )
| month ( expr )
| day ( expr )
| hour ( expr )
| minute ( expr )
| second ( expr )
| weekday ( expr )
| weeknum ( expr )
# string functions
| substr ( expr , start [, end] )
| left ( expr , len )
| mid ( expr , start , len )
| right ( expr , len )
| rept ( expr , count )
| concatenate ( expr1 , expr2 [, expr3-5] )
| lower[case] ( expr )
| upper[case] ( expr )
| trim ( expr )
| matches ( expr , regexp )
| trim ( expr )
| len[gth] ( str )
| find ( search , expr [, pos] ) (find 'search' in 'expr', return 1-based position)
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
| str ( expr )
| str ( expr , numdecimals )
| str ( expr , decimalformat )
| ext ( file_str ) (extracts extension from file)
| replaceext ( file_str, ext_str ) (replaces the extension of the file with the new one)
;
Notes:
- Variables are either all alphanumeric and _, starting with uppercase letter (e.g., "ABc_12"),
any character apart from "]" enclosed by "[" and "]" (e.g., "[Hello World]") or
enclosed by single quotes (e.g., "'Hello World'").
- 'start' and 'end' for function 'substr' are indices that start at 1.
- Index 'end' for function 'substr' is excluded (like Java's 'String.substring(int,int)' method)
- Line comments start with '#'.
- Semi-colons (';') or commas (',') can be used as separator in the formulas,
e.g., 'pow(2,2)' is equivalent to 'pow(2;2)'
- dates have to be of format 'yyyy-MM-dd' or 'yyyy-MM-dd HH:mm:ss'
- times have to be of format 'HH:mm:ss' or 'yyyy-MM-dd HH:mm:ss'
- the characters in square brackets in function names are optional:
e.g.class
SetMapValue
Sets a value in a java.util.Map object.
The value can be either supplied as string using the 'value' property, obtained from a callable actor (property 'source') or from a storage item (property 'storage').class
SetPlotContainerValue
Updates a value of a plot container before it is being displayed in the SequencePlotter sink.class
SetProperty
Sets the property of a callable actor whenever a token passes through.
Note: this actor just sets the value, but performs no re-initialization or similar of the modified object.
The transformer just forwards tokens that it receives after the property has been set.class
SetPropertyValue
Sets a property in a properties object.class
SetReportFromFile
Loads a report from disk and replaces the current one in the token passing through.class
SetReportFromSource
Obtains a report from a callable source and replaces the current one in the token passing through.class
SetReportValue
Sets a value in a report.class
SetStorageFlag
Stores the flag value in storage using the specified name whenever a token passes through.class
SetStorageValue
Stores the payload of the token passing through under the specified name in temporary storage.class
SetSystemProperty
Sets a Java system property when it is executed.class
SetVariable
Sets the value of a variable.class
SFTPDelete
Deletes a remote file via secure FTP (SFTP) and forwards the deleted file name.
For more information see:
(2011).class
SFTPGet
Downloads a remote file and forwards the local file name via secure FTP (SFTP).
For more information see:
(2011).class
SFTPSend
Uploads a file to a remote directory using secure FTP (SFTP).
The file name of a successful upload gets forwarded.
For more information see:
(2011).class
SimpleStringReplace
Performs a string replacement, using String.replace(.., ...).
If the 'replace' string contains both, variables and placeholders, then first all variables are expanded and then the placeholders.class
SMBGet
Downloads a remote file and forwards the local file name (SMB, Windows share).
Host and remote directory can be left empty if the incoming filename consists of a fully qualified URL, e.g.: smb://host/share/dir/file.txt
Input/output:
- accepts:
java.lang.String
- generates:
java.lang.String
class
SMBSend
Uploads a file to a remote directory (SMB, Windows share).
The file name of a successful upload gets forwarded.
Input/output:
- accepts:
java.lang.String
- generates:
java.lang.String
class
Sort
Actor for sorting arrays.class
SplitFile
Splits the file into several smaller files using the specified splitter algorithm.class
SpreadSheetAggregate
Aggregates rows (min, max, avg, etc) in a spreadsheet using key columns.
All numeric columns in the specified aggregrate range (excluding the key columns) get aggregated.class
SpreadSheetAnonymize
Anonymizes a range of columns in a spreadsheet.class
SpreadSheetAppend
Appends the incoming spreadsheet to one in storage.
If there is none in storage yet, the incoming spreadsheet will simply get stored in storage.
The spreadsheets need not have the same structure, but it is assumed that column names are unique within a spreadsheet.
The combined spreadsheet is then forwarded.class
SpreadSheetAppendComments
Appends the comments of the spreadsheet.class
SpreadSheetCellFinder
Outputs the cell locations that the cell finder located.class
SpreadSheetCellSelector
Lets the user highlight cells in a spreadsheet which get output:
- spreadsheet with coordinates (1-based row and column) and the associated value of the selected cell
- spreadsheet with all un-selected cells set to missing
Usage:
You select cells by left-clicking on them and/or holding the left mouse button and moving the mouse over the cells that you want to select.
You can unselect cells in the same fashion, by holding the shift key in addition.class
SpreadSheetCollapse
Uses the specified key columns to identify groups of rows.class
SpreadSheetColumnFilter
Filters spreadsheets using the specified column finder.
The output contains all the columns that the specified finder selected.class
SpreadSheetColumnIterator
Iterates through all columns of a spreadsheet and outputs the names.
The columns can be limited with the range parameter and furthermore with the regular expression applied to the names.
Instead of outputting the names, it is also possible to output the 1-based indices.class
SpreadSheetColumnsByName
Creates a new spreadsheet with the columns that matched the regular expression.class
SpreadSheetColumnStatistic
Generates statistics for a chosen colunm.class
SpreadSheetCommonIDs
Extracts the common IDs from two or more spreadsheets.
Matching sense can be inverted, i.e., the IDs not in common are output.class
SpreadSheetConvertCells
Finds cells in a spreadsheet and converts them with a conversion scheme.
If the conversion scheme generates a adams.data.spreadsheet.SpreadSheet object itself, this will get merged with the enclosing one: any additional columns get added and the content of the first row gets added to the row the converted cell belongs to.class
SpreadSheetConvertHeaderCells
Converts the header cells of a spreadsheet with a conversion scheme.class
SpreadSheetCopyColumns
Copies a range of columns to a specific position in the spreadsheets coming through.class
SpreadSheetCopyRows
Copies a range of columnrows to a specific position in the spreadsheets coming through.class
SpreadSheetDifference
Computes the difference of the numeric cells between two spreadsheets.
The values of the second spreadsheet are subtracted from the first one.
If no 'key' columns are defined, the current order of rows is used for comparison.class
SpreadSheetExtractArray
Extracts a column or row of data from a SpreadSheet object.class
SpreadSheetFileReader
Reads a spreadsheet file and forwards the content.class
SpreadSheetFilter
Applies the specified spreadsheet filter to the data.class
SpreadSheetGetCell
Extracts one or more values from a spreadsheet.class
SpreadSheetGetColumnIndex
Obtain the 1-based indices of columns that match a user-specified regular expression.class
SpreadSheetGetHeaderCell
Extracts a single value from a spreadsheet's header.class
SpreadSheetHistogramRanges
Outputs the ranges generated by adams.data.statistics.ArrayHistogram using the incoming adams.data.spreadsheet.SpreadSheet object.
If cells aren't numeric or missing, a default value of zero is used.class
SpreadSheetInfo
Outputs statistics of a SpreadSheet object.class
SpreadSheetInsertColumn
Inserts a column at a specific position into spreadsheets coming through.
The cells are initialized with a pre-defined value.class
SpreadSheetInsertRow
Inserts a row at a specific position into spreadsheets coming through.
The cells are initialized with a pre-defined value.class
SpreadSheetInsertRowScore
Inserts a score column at a specific position into spreadsheets coming through.class
SpreadSheetMatrixStatistic
Generates statistics for the spreadsheet.class
SpreadSheetMerge
Merges two or more spreadsheets.class
SpreadSheetMethodMerge
Merges 2 or more spreadsheets into a single spreadsheet, using a selectable merge method.class
SpreadSheetPlotGenerator
Outputs plot containers generated from a spreadsheet.class
SpreadSheetQuery
Applies a query (SELECT, UPDATE, DELETE) on a spreadsheet.
Variables are supported as well, e.g., : SELECT * WHERE Blah = @{val} with 'val' being a variable available at execution time.
The following grammar is used for the query:
expr_list ::= expr_list expr_part | expr_part;
expr_part ::= select | update | delete;
select ::= SELECT col_list [limit]
| SELECT col_list WHERE cond_list [limit]
| SELECT col_list ORDER BY order_list [limit]
| SELECT col_list WHERE cond_list ORDER BY order_list [limit]
| SELECT agg_list
| SELECT agg_list GROUP BY col_list
| SELECT agg_list HAVING cond_list
| SELECT agg_list GROUP BY col_list HAVING cond_list
;
update ::= UPDATE SET upd_list
| UPDATE SET upd_list WHERE cond_list
;
delete ::= DELETE WHERE cond_list
;
col_list ::= col_list COMMA col
| col
| SELECT NUMBER [subsample: <1 = percent; >= 1 number of rows]
;
col ::= *
| COLUMN
| COLUMN AS COLUMN
;
upd_list ::= upd_list COMMA upd | upd;
upd ::= COLUMN = value
;
order_list::= order_list COMMA order | order;
order ::= COLUMN
| COLUMN ASC
| COLUMN DESC
;
cond_list ::= cond_list cond
| cond
;
cond ::= COLUMN < value
| COLUMN <= value
| COLUMN = value
| COLUMN <> value
| COLUMN >= value
| COLUMN > value
| COLUMN REGEXP STRING
| COLUMN IS NULL
| CELLTYPE ( COLUMN ) = "numeric|long|double|boolean|string|time|date|datetime|timestamp|object|missing"
| ( cond )
| cond:c1 AND cond:c2
| cond:c1 OR cond:c2
| NOT cond
;
value ::= NUMBER
| STRING
| PARSE ( "number" , STRING )
| PARSE ( "date" , STRING )
| PARSE ( "time" , STRING )
| PARSE ( "timestamp" , STRING )
;
limit ::= LIMIT NUMBER:max
| LIMIT NUMBER:offset , NUMBER:max
;
agg_list ::= agg_list COMMA agg
| agg
;
agg ::= COUNT [(*)] [AS COLUMN]
| MIN ( COLUMN ) [AS COLUMN]
| MAX ( COLUMN ) [AS COLUMN]
| RANGE ( COLUMN ) [AS COLUMN] (= MIN - MAX)
| MEAN ( COLUMN ) [AS COLUMN]
| AVERAGE ( COLUMN ) [AS COLUMN]
| STDEV ( COLUMN ) [AS COLUMN]
| STDEVP ( COLUMN ) [AS COLUMN]
| SUM ( COLUMN ) [AS COLUMN]
| IQR ( COLUMN ) [AS COLUMN]
| INTERQUARTILE ( COLUMN ) [AS COLUMN]
Notes:
- time format: 'HH:mm'
- date format: 'yyyy-MM-dd'
- timestamp format: 'yyyy-MM-dd HH:mm'
- STRING is referring to characters enclosed by double quotes
- COLUMN is either a string with no blanks (consisting of letters, numbers, hyphen or underscore; eg 'MyCol-1') or a bracket enclosed string when containing blanks (eg '[Some other col]')
- columns used in the ORDER BY clause must be present in the SELECT part; also, any alias given to them in SELECT must be used instead of original column name
Input/output:
- accepts:
adams.data.spreadsheet.SpreadSheet
- generates:
adams.data.spreadsheet.SpreadSheet
class
SpreadSheetRandomSystematicSample
Performs random systematic sampling on the rows of the incoming spreadsheet.
Divides the rows into N blocks with N being the sample size.class
SpreadSheetRemoveColumn
Removes the column(s) at the specific position from spreadsheets coming through.class
SpreadSheetRemoveRow
Removes one or more rows at the specific position from spreadsheets coming through.class
SpreadSheetReorderColumns
Reorders the columns in a spreadsheet according to a user-supplied order.class
SpreadSheetReorderRows
Reorders the rows in a spreadsheet according to a user-supplied order.class
SpreadSheetReplaceCellValue
Replaces cell values that match a regular expression with a predefined value.class
SpreadSheetRowBinning
Applies a binning algorithm to the values from the specified binning column to filter the rows into specific bins.
A new column is then added containing the corresponding bin index.class
SpreadSheetRowBuffer
Can act in two different ways:
1.class
SpreadSheetRowFilter
Filters spreadsheets using the specified row finder.
The output contains all the rows that the specified finder selected.class
SpreadSheetRowStatistic
Generates statistics for a chosen row.class
SpreadSheetRowToTimeseries
Turns a spreadsheet row into a timeseries.
Columns for timestamps and values are extracted using the regular expressions, the timestamp columns are optional.class
SpreadSheetSelectSubset
Allows the user to select a subset of the incoming spreadsheet to be forwarded in the flow.class
SpreadSheetSetCell
Sets the value of the specified cells in a spreadsheet.class
SpreadSheetSetHeaderCell
Sets a single header cell value in a spreadsheet.class
SpreadSheetSort
Sorts the rows of the spreadsheet according to the selected column indices and sort order (ascending/descending).class
SpreadSheetSortColumns
Reorders a user-defined subset of columns by name using the specified comparator.class
SpreadSheetStatistic
Generates statistics from a SpreadSheet object.
If cells aren't numeric or missing, a default value of zero is used.class
SpreadSheetStorageRowIterator
Iterates through a defined range of rows.class
SpreadSheetSubset
Extracts a subset of rows/columns from a spreadsheet.class
SpreadSheetSubsetByValue
Generates subsets from a spreadsheet, grouped by the same string value in the specified column.
For instance, if a spreadsheet has 3 unique values (A, B, C) in column 2, then 3 subsheets will generated, each containing the rows that have the value A, B or C.class
SpreadSheetSubsetFromGroup
Splits the spreadsheet into subsets using the supplied column and then returns the specified range of rows from each generated subset.
The spreadsheet is expected to be sorted on the grouping column.class
SpreadSheetToTimeseries
Extracts one or more timeseries from a spreadsheet.
It uses one column ('ID') to identify all the rows that belong to a single timeseries.class
SpreadSheetTransformCells
Finds cells in a spreadsheet and transforms them with a callable transformer.
In case of transformers having Object or Unknown in their types of classes that they accept, no proper type can be inferred automatically.class
SpreadSheetTransformHeaderCells
Transforms header cells with a callable transformer.
In case of transformers having Object or Unknown in their types of classes that they accept, no proper type can be inferred automatically.class
SpreadSheetVariableRowIterator
Iterates through a defined range of rows.class
StorageCollectionInsert
Inserts the object passing through to the collection in storage at the specified position.
After inserting the object successfully, just forwards the object.
If the collection does not implement the java.util.List interface and the insertion is not at the end, the insertion will fail.
See also:
adams.flow.transformer.CollectionInsert
Input/output:
- accepts:
adams.flow.core.Unknown
- generates:
adams.flow.core.Unknown
class
StorageJFreeChartAddSeries
Generates a series from the incoming spreadsheet and adds it to the specified JFreeChart dataset in storage.
After inserting the object successfully, just forwards the object.class
StringArraySplit
Uses a regular expression to identify the string that triggers one or more splits in a string array, resulting in smaller arrays being output.
What is done with the string triggering the split, is defined in the split handling option, e.g., discard it.
Useful actor for splitting a log file into individual entry chunks.class
StringCut
Cuts out a part of a string.class
StringExpression
Evaluates a string expression.
The input string can be accessed via 'X'.
Variables are supported as well, e.g.: pow(X,@{exp}) with '@{exp}' being a variable available at execution time.
The following grammar is used for the expressions:
expr_list ::= '=' expr_list expr_part | expr_part ;
expr_part ::= expr ;
expr ::= ( expr )
# data types
| number
| string
| boolean
| date
# constants
| true
| false
| pi
| e
| now()
| today()
# negating numeric value
| -expr
# comparisons
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr (or: expr <> expr)
# boolean operations
| ! expr (or: not expr)
| expr & expr (or: expr and expr)
| expr | expr (or: expr or expr)
| if[else] ( expr , expr (if true) , expr (if false) )
| ifmissing ( variable , expr (default value if variable is missing) )
| isNaN ( expr )
# arithmetics
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr ^ expr (power of)
| expr % expr (modulo)
;
# numeric functions
| abs ( expr )
| sqrt ( expr )
| cbrt ( expr )
| log ( expr )
| log10 ( expr )
| exp ( expr )
| sin ( expr )
| sinh ( expr )
| cos ( expr )
| cosh ( expr )
| tan ( expr )
| tanh ( expr )
| atan ( expr )
| atan2 ( exprY , exprX )
| hypot ( exprX , exprY )
| signum ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| min ( expr1 , expr2 )
| max ( expr1 , expr2 )
| year ( expr )
| month ( expr )
| day ( expr )
| hour ( expr )
| minute ( expr )
| second ( expr )
| weekday ( expr )
| weeknum ( expr )
# string functions
| substr ( expr , start [, end] )
| left ( expr , len )
| mid ( expr , start , len )
| right ( expr , len )
| rept ( expr , count )
| concatenate ( expr1 , expr2 [, expr3-5] )
| lower[case] ( expr )
| upper[case] ( expr )
| trim ( expr )
| matches ( expr , regexp )
| trim ( expr )
| len[gth] ( str )
| find ( search , expr [, pos] )
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
# array functions
| len[gth] ( array )
| get ( array , index )
;
Notes:
- Variables are either all upper case letters (e.g., "ABC") or any character apart from "]" enclosed by "[" and "]" (e.g., "[Hello World]").
- 'start' and 'end' for function 'substr' are indices that start at 1.
- 'index' for function 'get' starts at 1.
- Index 'end' for function 'substr' is excluded (like Java's 'String.substring(int,int)' method)
- Line comments start with '#'
- Semi-colons (';') or commas (',') can be used as separator in the formulas,
e.g., 'pow(2,2)' is equivalent to 'pow(2;2)'
- dates have to be of format 'yyyy-MM-dd' or 'yyyy-MM-dd HH:mm:ss'
- times have to be of format 'HH:mm:ss' or 'yyyy-MM-dd HH:mm:ss'
- the characters in square brackets in function names are optional:
e.g.class
StringIndent
Indents the string with the specified character.
Splits multi-line strings first and processes each line separately.class
StringIndexOf
Determines the position of a substring in the string passing through.
The generated index is 1-based, with 0 indicating that the substring could not be located.class
StringInsert
Inserts a user-specified string at a specific position into tokens coming through.
The actor is most useful when attaching a variable to the 'value' option, which allows the value to change dynamically then.class
StringJoin
Creates a single string out of an array of strings.class
StringLength
Determines the length of a string.class
StringMatcher
Lets string tokens only pass if they match the regular expression.class
StringRangeCut
Cuts out a parts of a string.class
StringReplace
Performs a string replacement, using either String.replaceFirst(...) or String.replaceAll(...).class
StringSanitizer
Removes all characters that haven't been specified as 'acceptable' characters.class
StringSplit
Splits a string using a regular expression.class
StringTrim
Trims strings, i.e., removes leading/trailing whitespaces.class
SubStringCount
Determines the position of a substring in the string passing through.
The generated index is 1-based, with 0 indicating that the substring could not be located.class
SummaryStatistics
Calculates the selected summary statistics and outputs a spreadsheet.class
SwapVariables
Swaps the values of the two variables around, whenever a token passes through.class
Tar
Creates a Tar file containing one or more files.class
TemplateTransformer
Feeds tokens into an actor generated from a template and broadcasts the generated output tokens.class
TesseractOCR
Applies OCR to the incoming image file using Tesseract.
In case of successful OCR, either the file names of the generated files are broadcast or the combined text of the files.
NB: The actor deletes all files that have the same prefix as the specified output base.class
TextFileReader
Reads a text file and forwards the content.
This actor takes the file to read as input.class
TextRenderer
Turns incoming objects into their textual representation, either automatic detection based on their data type or by explicitly specifying a renderer.class
TimeseriesAdd
Appends the incoming timeseries to the one available from storage.
If none yet available from storage, then the current one simply put into storage.
If the timeseries already contains elements with the same timestamp, then these will get replaced by the current ones.class
TimeseriesAppend
Appends the incoming timeseries to the one available from storage.
If none yet available from storage, then the current one simply put into storage.
If the timeseries already contains elements with the same timestamp, then these will get replaced by the current ones.class
TimeseriesDbReader
Outputs timeseries containers generated from an SQL SELECT statement.
A new container is started, whenever the value of the ID column changes (hence you need to ensure that the data is ordered on this column).class
TimeseriesFeatureGenerator
Applies a timeseries feature generator to the incoming timeseries and outputs the generated features.class
TimeseriesFileReader
Loads a file/directory containing spectrums from disk with a specified reader and passes them on.class
TimeseriesFileWriter
Saves a spectrum to disk with the specified writer and passes the absolute filename on.
As filename/directory name (depending on the writer) the database ID of the spectrum is used (below the specified output directory).class
TimeseriesFilter
Filters data using the specified filter.class
TimeseriesInfo
Outputs information for a timeseries.class
TimeseriesReportDbUpdater
Adds all the data to the report of the timeseries passing through that the SQL statement returns.
The {ID} placeholder can be used in the SQL statement to represent the current timeseries' ID.
The following types of SQL statements are supported:
- multiple rows of key-value pairs.
- single row, with the key being the column name.
Input/output:
- accepts:
adams.data.timeseries.Timeseries
- generates:
adams.data.timeseries.Timeseries
class
TimeseriesSplit
Splits the incoming timeseries into sub-series using the specified splitter algorithm.class
Timestamp
Creates a timestamp string whenever it receives an input token.class
Tool
Runs a tool.class
Touch
Like the Unix 'touch' command, updates the 'last modified' timestamp of the file coming through.
By default, it creates the file if it doesn't exist.class
UnBzip2
Decompresses an archive that was compressed with bzip2.class
UniqueID
Ensures that all passing through tokens that implement adams.data.id.MutableIDHandler have a unique ID.
All other tokens are just forwarded as is.class
UnLzf
Decompresses an archive that was compressed with LZF.class
UnLzma
Decompresses an archive that was compressed with LZMA (7zip).class
UnRAR
Unrars a RAR archive and broadcasts the full file names of the extracted files.class
UnTar
Decompresses a Tar archive and broadcasts the full file names of the extracted files.class
UnXz
Decompresses an archive that was compressed with XZ.class
UnZIP
Unzips a ZIP archive and broadcasts the full file names of the extracted files.class
UnZstd
Decompresses an archive that was compressed with Zstd.class
UpdateProperty
Updates the property of the object passing through with the specified value.class
ViaAnnotationsToReports
Converts the JSON object passing through to Reports.class
WaitForFile
Waits for the file passing through to become available, i.e., not in use by another process.class
WekaAccumulatedError
Generates plot containers from an evaluation object's predictions.class
WekaAggregateEvaluations
Aggregates incoming weka.classifiers.Evaluation objects and forwards the current aggregated state.class
WekaAttributeIterator
Iterates through all attributes of a dataset and outputs the names.
The attributes can be limited with the range parameter and furthermore with the regular expression applied to the names.
Instead of outputting the names, it is also possible to output the 1-based indices.class
WekaAttributeSelection
Performs attribute selection on the incoming data.
In case of input in form of a class adams.flow.container.WekaTrainTestSetContainer object, the train and test sets stored in the container are being used.
NB: In case of cross-validation no reduced or transformed data can get generated!
Input/output:
- accepts:
weka.core.Instances
adams.flow.container.WekaTrainTestSetContainer
- generates:
adams.flow.container.WekaAttributeSelectionContainer
Container information:
- adams.flow.container.WekaTrainTestSetContainer: Train, Test, Seed, FoldNumber, FoldCount, Train original indices, Test original indices
- adams.flow.container.WekaAttributeSelectionContainer: Train, Reduced, Transformed, Test, Test reduced, Test transformed, Evaluation, Statistics, Selected attributes, Seed, FoldCount
class
WekaAttributeSelectionSummary
Outputs a summary string of the attribute selection.class
WekaBootstrapping
Performs bootstrapping on the incoming evaluation and outputs a spreadsheet where each row represents the results from bootstrapping sub-sample.class
WekaChooseAttributes
Lets the user select attributes interactively to use down the track.
Internally, a weka.filters.unsupervised.attribute.Remove WEKA filter is constructed from the selection, to remove the attributes that the user didn't select.class
WekaClassifierInfo
Outputs information of a trained weka.classifiers.Classifier object.class
WekaClassifierOptimizer
Evaluates a classifier optimizer on an incoming dataset.class
WekaClassifierRanker
Performs a quick evaluation using cross-validation on a single dataset (or evaluation on a separate test set if the number of folds is less than 2) to rank the classifiers received on the input and forwarding the x best ones.class
WekaClassifierSetupProcessor
Applies the specified processor to the incoming array of classifiers, e.g., for generating new or filtered setups.class
WekaClassifying
Uses a serialized model to perform predictions on the data being passed through.
The following order is used to obtain the model (when using AUTO):
1.class
WekaClassSelector
Sets the class index.class
WekaClusterAssignments
Outputs the cluster assignments from the evaluation.class
WekaClustererInfo
Outputs information of a trained weka.clusterers.Clusterer object.class
WekaClustererPostProcessor
Applies the specified post-processor to the cluster container (adams.flow.container.WekaModelContainer)
See also:
adams.flow.transformer.WekaTrainClusterer
Input/output:
- accepts:
adams.flow.container.WekaModelContainer
- generates:
adams.flow.container.WekaModelContainer
Container information:
- adams.flow.container.WekaModelContainer: Model, Header, Dataset
class
WekaClusterEvaluationSummary
Generates a summary string of the weka.clusterers.ClusterEvaluation objects that it receives.class
WekaClustering
Uses a serialized model to cluster data being passed through.
The following order is used to obtain the model (when using AUTO):
1.class
WekaCrossValidationClustererEvaluator
Cross-validates a clusterer on an incoming dataset.class
WekaCrossValidationEvaluator
Cross-validates a classifier on an incoming dataset.class
WekaCrossValidationSplit
Generates train/test pairs like during a cross-validation run.class
WekaDatasetsMerge
Merges 2 or more datasets into a single dataset, under a selectable merge method.class
WekaDatasetSplit
Splits the incoming dataset into sub-sets using the specified splitter.class
WekaEnsembleGenerator
Uses the specified generator to create ensembles from the incoming data.class
WekaEvaluationInfo
Outputs information about a Weka weka.classifiers.Evaluation object.class
WekaEvaluationPostProcessor
Applies the specified post-processor to the incoming Evaluation data.class
WekaEvaluationSummary
Generates a summary string of the weka.classifiers.Evaluation objects that it receives.class
WekaEvaluationValuePicker
Picks a specific value from an evaluation object.class
WekaEvaluationValues
Generates a spreadsheet from statistics of an Evaluation object.class
WekaExperiment
Represents a Weka experiment, stored in a file.class
WekaExperimentEvaluation
Generates evaluation output of an experiment that was run previously.class
WekaExperimentExecution
Executes an experiment.class
WekaExperimentFileReader
Loads an experiment file.class
WekaExtractArray
Extracts a column or row of data from a weka.core.Instances or SpreadSheet object.
Only numeric columns can be returned.class
WekaExtractPLSMatrix
Transformer that allows the extraction of internal PLS filter/classifier matrices, forwarding them as spreadsheets.class
WekaFileReader
Reads any file format that Weka's converters can handle and returns the full dataset or single weka.core.Instance objects.class
WekaFilter
Filters Instances/Instance objects using the specified filter.
When re-using a trained filter, ensure that 'initializeOnce' is checked.
The following order is used to obtain the model (when using AUTO):
1.class
WekaGenericPLSMatrixAccess
Transformer that allows the extraction of internal PLS filter/classifier matrices, forwarding them as spreadsheets.
See the respective PLS implementation for details on available matrix names (derived from: weka.filters.supervised.attribute.pls.AbstractPLS)
Input/output:
- accepts:
weka.classifiers.Classifier
weka.filters.Filter
weka.core.GenericPLSMatrixAccess
adams.flow.container.WekaModelContainer
- generates:
adams.data.spreadsheet.SpreadSheet
Container information:
- adams.flow.container.WekaModelContainer: Model, Header, Dataset
class
WekaGeneticAlgorithm
Applies the genetic algorithm to the incoming dataset.
Forwards the best setup(s) after the algorithm finishes.
A callable sink can be specified for receiving intermediate performance results.class
WekaGeneticAlgorithmInitializer
Populates a adams.flow.container.WekaGeneticAlgorithmInitializationContainer container from the data obtained from the incoming setup (in properties format, can be gzip compressed).class
WekaGetCapabilities
Retrieves the capabilities of a weka.core.CapabilitiesHandler (eg filter or classifier) and forwards them.class
WekaGetInstancesValue
Retrieves a value from a WEKA Instances object.
Notes:
- date and relational values are forwarded as strings
- missing values are output as '?' (without the single quotes)
Input/output:
- accepts:
weka.core.Instances
- generates:
java.lang.Double
java.lang.String
class
WekaGetInstanceValue
Retrieves a value from a WEKA Instance object.
Notes:
- date and relational values are forwarded as strings
- missing values are output as '?' (without the single quotes)
- the 'attribute name' option overrides the 'index' option
Input/output:
- accepts:
weka.core.Instance
- generates:
java.lang.Double
java.lang.String
Valid options are:class
WekaInstanceBuffer
Can act in two different ways:
1.class
WekaInstanceDumper
Dumps weka.core.Instance objects into an ARFF file.class
WekaInstanceEvaluator
Adds a new attribute to the data being passed through (normally 'evaluation') and sets the value to the evaluation value returned by the chosen evaluator scheme.class
WekaInstanceFileReader
Loads a WEKA dataset from disk with a specified reader and passes on the adams.core.instance.Instance objects.class
WekaInstancesAppend
Creates one large dataset by appending all one after the other.class
WekaInstancesHistogramRanges
Outputs the ranges generated by adams.data.statistics.ArrayHistogram using the incoming weka.core.Instances object.
The actor just uses the internal format (double array) and does not check whether the attributes are actually numeric.class
WekaInstancesInfo
Outputs statistics of a weka.core.Instances object.
FULL_ATTRIBUTE and FULL_CLASS output a spreadsheet with detailed attribute statistics.class
WekaInstancesMerge
Merges multiple datasets, either from file or using Instances/Instance objects.
If no 'ID' attribute is named, then all datasets must contain the same number of rows.
Attributes can be excluded from ending up in the final dataset via a regular expression.class
WekaInstancesStatistic
Generates statistics from a weka.core.Instances object.
The actor just uses the internal format (double array) and does not check whether the attributes are actually numeric.class
WekaInstanceStreamPlotGenerator
Generates plot containers from a range of attributes of the weka.core.Instance objects being passed through.
The generator merely uses the internal data representation for generating the Y value of the plot container.class
WekaModelReader
Actor for loading a model (classifier or clusterer).class
WekaMultiLabelSplitter
Splits a dataset containing multiple class attributes ('multi-label') into separate datasets with only a single class attribute.class
WekaNearestNeighborSearch
Outputs the specified number of nearest neighbors for the incoming Weka Instance.
The data used for the nearest neighbor search is either obtained from storage.class
WekaNewInstance
Creates a new weka.core.Instance-derived object, with all values marked as missing.
The class implementing the weka.core.Instance interface needs to have a constructor that takes the number of attributes as sole parameter.class
WekaPackageManagerAction
Applies the selected Weka Package Manager action to the incoming data and forwards the generated output.class
WekaPredictionsToInstances
Generates weka.core.Instances from the predictions of an Evaluation object.class
WekaPredictionsToSpreadSheet
Generates a SpreadSheet object from the predictions of an Evaluation object.
See also:
adams.flow.transformer.WekaSpreadSheetToPredictions
Input/output:
- accepts:
weka.classifiers.Evaluation
adams.flow.container.WekaEvaluationContainer
- generates:
adams.data.spreadsheet.SpreadSheet
Container information:
- adams.flow.container.WekaEvaluationContainer: Evaluation, Model, Prediction output, Original indices
class
WekaPrimeForecaster
Primes a forecaster with the incoming data and outputs the updated forecaster alongside the training header (in a model container).class
WekaPrincipalComponents
Performs principal components analysis on the incoming data and outputs the loadings and the transformed data as spreadsheet array.
Automatically filters out attributes that cannot be handled by PCA.class
WekaRandomSplit
Splits a dataset into a training and test set according to a specified split percentage.class
WekaRegexToRange
Produces a range string from a regular expression describing attributes.class
WekaRelationName
Deprecated.class
WekaRenameRelation
Modifies relation names.class
WekaReorderAttributesToReference
Reorders the attributes of the Instance/Instances passing through according to the provided reference dataset (callable actor or reference file).
This ensures that the generated data always has the same structure as the reference dataset.class
WekaRepeatedCrossValidationEvaluator
Performs repeated cross-validation a classifier on an incoming dataset.class
WekaRepeatedCrossValidationOutput
Generates output from the incoming repeated cross-validation data.class
WekaSetInstancesValue
Sets a value in a WEKA Instances object.
Notes:
- relational values cannot be set
- '?' (without single quotes) is interpreted as missing value
Input/output:
- accepts:
weka.core.Instances
- generates:
weka.core.Instances
class
WekaSetInstanceValue
Sets a value in a WEKA Instance.
Notes:
- relational values cannot be set
- '?' (without single quotes) is interpreted as missing value
Input/output:
- accepts:
weka.core.Instance
- generates:
weka.core.Instance
Valid options are:class
WekaSplitGenerator
class
WekaSpreadSheetToPredictions
Turns the predictions stored in the incoming spreadsheet (actual and predicted) into a Weka weka.classifiers.Evaluation object.
For recreating the predictions of a nominal class, the class distributions must be present in the spreadsheet as well.
See also:
adams.flow.transformer.WekaPredictionsToSpreadSheet
Input/output:
- accepts:
adams.data.spreadsheet.SpreadSheet
- generates:
weka.classifiers.Evaluation
class
WekaStoreInstance
Appends the incoming weka.core.Instance to the dataset in storage.class
WekaStreamEvaluator
Evaluates an incremental classifier on a data stream using prequential evaluation (first evaluate, then train).class
WekaStreamFilter
Filters Instance objects using the specified filter.class
WekaSubsets
Splits the dataset based on the unique values of the specified attribute: all rows with the same unique value form a subset.class
WekaTestSetClustererEvaluator
Evaluates a trained clusterer (obtained from input) on the dataset obtained from the callable actor.
If a class attribute is set, a classes-to-clusters evaluation is performed automatically
Input/output:
- accepts:
weka.clusterers.Clusterer
adams.flow.container.WekaModelContainer
- generates:
adams.flow.container.WekaClusterEvaluationContainer
Container information:
- adams.flow.container.WekaModelContainer: Model, Header, Dataset
- adams.flow.container.WekaClusterEvaluationContainer: Evaluation, Model, Log-likelohood
class
WekaTestSetEvaluator
Evaluates a trained classifier (obtained from input) on the dataset obtained from the callable actor.class
WekaTextDirectoryReader
Loads all text files in a directory and uses the subdirectory names as class labels.class
WekaTrainAssociator
Trains an associator based on the incoming dataset and outputs the built associator alongside the training header and rules (in a model container)..class
WekaTrainClassifier
Trains a classifier based on the incoming dataset and outputs the built classifier alongside the training header (in a model container).
Incremental training is performed, if the input are weka.core.Instance objects and the classifier implements weka.classifiers.UpdateableClassifier.class
WekaTrainClusterer
Trains a clusterer based on the incoming dataset and output the built clusterer alongside the training header (in a model container).
Incremental training is performed, if the input are weka.core.Instance objects and the clusterer implements weka.clusterers.UpdateableClusterer.class
WekaTrainForecaster
Trains a forecaster based on the incoming dataset and outputs the built model alongside the training header (in a model container).class
WekaTrainTestSetClustererEvaluator
Trains a clusterer on an incoming training dataset (from a container) and then evaluates it on the test set (also from a container).
The clusterer setup being used in the evaluation is a callable 'Clusterer' actor.
If a class attribute is set, a classes-to-clusters evaluation is performed automatically
Input/output:
- accepts:
adams.flow.container.WekaTrainTestSetContainer
- generates:
adams.flow.container.WekaClusterEvaluationContainer
Container information:
- adams.flow.container.WekaTrainTestSetContainer: Train, Test, Seed, FoldNumber, FoldCount
- adams.flow.container.WekaClusterEvaluationContainer: Evaluation, Model, Log-likelohood
class
WekaTrainTestSetEvaluator
Trains a classifier on an incoming training dataset (from a container) and then evaluates it on the test set (also from a container).
The classifier setup being used in the evaluation is a callable 'Classifier' actor.class
XMLFileReader
Reads an XML file and forwards the parsed org.w3c.dom.Document object.class
XPath
Applies XPath to the DOM document object.class
XSLT
Applies an XSLT stylesheet to the DOM document object.class
Xz
Creates a XZ archive from a single file.class
YamlFileReader
Reads a YAML file and forwards the generated Map object.
http://yaml.org/
Input/output:
- accepts:
java.lang.String
java.io.File
- generates:
java.util.Map
class
ZIP
Creates a ZIP file containing one or more files.class
Zstd
Creates a Zstd archive from a single file.Fields in adams.flow.transformer declared as Actor Modifier and Type Field Description protected Actor
ExecuteActor. m_Actor
the current actor being executed.protected Actor
AbstractInteractiveTransformer. m_CallableActor
the callable actor.protected Actor
SpreadSheetTransformCells. m_CallableActor
the callable actor.protected Actor
SpreadSheetTransformHeaderCells. m_CallableActor
the callable actor.protected Actor
WekaGeneticAlgorithm. m_CallableActor
the callable actor.protected Actor
SetJsonValue. m_SourceActor
the callable source actor.protected Actor
SetMapValue. m_SourceActor
the callable source actor.Methods in adams.flow.transformer that return Actor Modifier and Type Method Description protected Actor
AbstractInteractiveTransformer. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
CallableTransformer. findCallableActor()
Tries to find the callable actor referenced by its name.protected Actor
IndexedSplitsRunsEvaluation. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
IndexedSplitsRunsPredictions. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
MergeReport. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
SetJsonValue. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
SetMapValue. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
SetReportFromSource. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
SpreadSheetTransformCells. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
SpreadSheetTransformHeaderCells. findCallableActor()
Tries to find the callable actor referenced by its callable name.protected Actor
WekaGeneticAlgorithm. findCallableActor()
Tries to find the callable actor referenced by its callable name.Actor
SpreadSheetTransformCells. getCallableActor()
Returns the currently set callable actor.Actor
SpreadSheetTransformHeaderCells. getCallableActor()
Returns the currently set callable actor.Actor
WekaGeneticAlgorithm. getCallableActor()
Returns the currently set callable actor.protected Actor
CopyCallableTransformer. getDefaultActor()
Returns the default actor if the callable actor is optional and not found.Methods in adams.flow.transformer with parameters of type Actor Modifier and Type Method Description protected String
CopyCallableTransformer. checkCallableActor(Actor actor)
Performs checks on the callable actor.protected String
IncludeExternalTransformer. checkExternalActor(Actor actor)
Performs checks on the external actor.Constructors in adams.flow.transformer with parameters of type Actor Constructor Description AutogeneratedTransformer(Actor actor)
Encapsulates the specified actor.AutogeneratedTransformer(Actor[] actors)
Encapsulates the specified actors.InactiveTransformer(Actor actor)
Encapsulates the specified actor.InactiveTransformer(Actor[] actors)
Encapsulates the specified actors. -
Uses of Actor in adams.flow.transformer.draw
Fields in adams.flow.transformer.draw declared as Actor Modifier and Type Field Description protected Actor
AbstractDrawOperation. m_Owner
the owner of the operation.Methods in adams.flow.transformer.draw that return Actor Modifier and Type Method Description Actor
AbstractDrawOperation. getOwner()
Returns the owner.Methods in adams.flow.transformer.draw with parameters of type Actor Modifier and Type Method Description void
AbstractDrawOperation. setOwner(Actor value)
Sets the owner. -
Uses of Actor in adams.flow.transformer.indexedsplitsrunsevaluation
Fields in adams.flow.transformer.indexedsplitsrunsevaluation declared as Actor Modifier and Type Field Description protected Actor
AbstractIndexedSplitsRunsEvaluation. m_FlowContext
the flow context.Methods in adams.flow.transformer.indexedsplitsrunsevaluation that return Actor Modifier and Type Method Description Actor
AbstractIndexedSplitsRunsEvaluation. getFlowContext()
Returns the flow context, if any.Methods in adams.flow.transformer.indexedsplitsrunsevaluation with parameters of type Actor Modifier and Type Method Description void
AbstractIndexedSplitsRunsEvaluation. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.flow.transformer.indexedsplitsrunsgenerator
Fields in adams.flow.transformer.indexedsplitsrunsgenerator declared as Actor Modifier and Type Field Description protected Actor
AbstractIndexedSplitsRunsGenerator. m_FlowContext
the flow context.Methods in adams.flow.transformer.indexedsplitsrunsgenerator that return Actor Modifier and Type Method Description Actor
AbstractIndexedSplitsRunsGenerator. getFlowContext()
Returns the flow context, if any.Methods in adams.flow.transformer.indexedsplitsrunsgenerator with parameters of type Actor Modifier and Type Method Description void
AbstractIndexedSplitsRunsGenerator. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.flow.transformer.indexedsplitsrunspredictions
Fields in adams.flow.transformer.indexedsplitsrunspredictions declared as Actor Modifier and Type Field Description protected Actor
AbstractIndexedSplitsRunsPredictions. m_FlowContext
the flow context.Methods in adams.flow.transformer.indexedsplitsrunspredictions that return Actor Modifier and Type Method Description Actor
AbstractIndexedSplitsRunsPredictions. getFlowContext()
Returns the flow context, if any.Methods in adams.flow.transformer.indexedsplitsrunspredictions with parameters of type Actor Modifier and Type Method Description void
AbstractIndexedSplitsRunsPredictions. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.flow.transformer.report
Fields in adams.flow.transformer.report declared as Actor Modifier and Type Field Description protected Actor
AbstractReportPostProcessor. m_Owner
the owning actor.protected Actor
AbstractReportPreProcessor. m_Owner
the owning actor.Methods in adams.flow.transformer.report that return Actor Modifier and Type Method Description Actor
AbstractReportPostProcessor. getOwner()
Returns the current owner of this preprocessor.Actor
AbstractReportPreProcessor. getOwner()
Returns the current owner of this preprocessor.Methods in adams.flow.transformer.report with parameters of type Actor Modifier and Type Method Description void
AbstractReportPostProcessor. setOwner(Actor value)
Sets the owner for this preprocessor.void
AbstractReportPreProcessor. setOwner(Actor value)
Sets the owner for this preprocessor. -
Uses of Actor in adams.flow.transformer.wekapackagemanageraction
Fields in adams.flow.transformer.wekapackagemanageraction declared as Actor Modifier and Type Field Description protected Actor
AbstractWekaPackageManagerAction. m_FlowContext
the flow context.Methods in adams.flow.transformer.wekapackagemanageraction that return Actor Modifier and Type Method Description Actor
AbstractWekaPackageManagerAction. getFlowContext()
Returns the flow context, if any.Methods in adams.flow.transformer.wekapackagemanageraction with parameters of type Actor Modifier and Type Method Description void
AbstractWekaPackageManagerAction. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.flow.websocket.client
Fields in adams.flow.websocket.client declared as Actor Modifier and Type Field Description protected Actor
SimpleSend. m_FlowContext
the flow context.protected Actor
SimpleSendWithQueue. m_FlowContext
the flow context.Methods in adams.flow.websocket.client that return Actor Modifier and Type Method Description Actor
SimpleSend. getFlowContext()
Returns the flow context, if any.Actor
SimpleSendWithQueue. getFlowContext()
Returns the flow context, if any.Methods in adams.flow.websocket.client with parameters of type Actor Modifier and Type Method Description void
SimpleSend. setFlowContext(Actor value)
Sets the flow context.void
SimpleSendWithQueue. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.flow.websocket.server
Fields in adams.flow.websocket.server declared as Actor Modifier and Type Field Description protected Actor
EchoServer. m_FlowContext
the flow context.Methods in adams.flow.websocket.server that return Actor Modifier and Type Method Description Actor
EchoServer. getFlowContext()
Returns the flow context, if any.Methods in adams.flow.websocket.server with parameters of type Actor Modifier and Type Method Description void
EchoServer. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.gui.flow
Fields in adams.gui.flow declared as Actor Modifier and Type Field Description protected Actor
FlowRunnerPanel. m_CurrentFlow
the current flow.protected Actor
FlowWorker. m_Flow
the flow to execute.protected Actor
FlowPanel. m_LastFlow
the last flow that was run.protected Actor
FlowRunnerPanel. m_LastFlow
the last flow that was run.Methods in adams.gui.flow that return Actor Modifier and Type Method Description Actor
FlowEditorPanel. getActiveFlow()
Returns the active flow.Actor
FlowEditorPanel. getActiveFlow(StringBuilder errors)
Returns the active flow.Actor
FlowEditorPanel. getActiveRoot()
Returns the active root actor without its children.Actor
FlowEditorPanel. getCurrentFlow()
Returns the current flow.Actor
FlowEditorPanel. getCurrentFlow(StringBuilder errors)
Returns the current flow.Actor
FlowPanel. getCurrentFlow()
Returns the current flow.Actor
FlowPanel. getCurrentFlow(StringBuilder errors)
Returns the current flow.Actor
FlowRunnerPanel. getCurrentFlow()
Returns the current flow.Actor
FlowEditorPanel. getCurrentRoot()
Returns the current root actor without its children.Actor
FlowPanel. getCurrentRoot()
Returns the current root actor without its children.Actor
FlowWorker. getFlow()
Returns the flow.Actor
FlowEditorPanel. getLastFlow()
Returns the last flow executed (currently selected flow).Actor
FlowPanel. getLastFlow()
Returns the last executed flow (if any).Actor
FlowRunnerPanel. getLastFlow()
Returns the last executed flow (if any).Actor
FlowWorkerHandler. getLastFlow()
Returns the last executed flow (if any).Actor
FlowEditorPanel. getRunningFlow()
Returns the currently running flow.Actor
FlowPanel. getRunningFlow()
Returns the currently running flow.Methods in adams.gui.flow with parameters of type Actor Modifier and Type Method Description protected void
FlowRunnerPanel. findSetVariableActors(Actor parent, List<SetVariable> list)
Locates all the SetVariable singleton actors below the parent.protected void
FlowEditorPanel. newFlow(Actor actor)
Adds new panel with the specified actor.FlowEditorPanel
FlowEditorPanel. newWindow(Actor actor)
Displays a new flow editor window/frame with the specified actor.void
FlowPanel. reset(Actor actor)
Resets the GUI to default values.void
FlowEditorPanel. setCurrentFlow(Actor flow)
Sets the flow to work on.void
FlowPanel. setCurrentFlow(Actor flow)
Sets the flow to work on.void
FlowRunnerPanel. setCurrentFlow(Actor flow)
Sets the flow to work on.void
FlowPanel. setLastFlow(Actor actor)
Sets the flow that was last executed.void
FlowRunnerPanel. setLastFlow(Actor value)
Sets the flow that was last executed.void
FlowWorkerHandler. setLastFlow(Actor actor)
Sets the flow that was last executed.Constructors in adams.gui.flow with parameters of type Actor Constructor Description FlowWorker(FlowWorkerHandler owner, Actor flow, File file, boolean showNotification, boolean debug)
Initializes the worker. -
Uses of Actor in adams.gui.flow.tab
Fields in adams.gui.flow.tab declared as Actor Modifier and Type Field Description protected Actor
Clipboard.ClipboardItem. m_Actor
the actor.Methods in adams.gui.flow.tab that return Actor Modifier and Type Method Description Actor
Clipboard.ClipboardItem. getActor()
Returns the stored actor.Methods in adams.gui.flow.tab with parameters of type Actor Modifier and Type Method Description void
ActorHelpTab. actorSelectionChanged(TreePath[] paths, Actor[] actors)
Notifies the tab of the currently selected actors.void
ActorParametersTab. actorSelectionChanged(TreePath[] paths, Actor[] actors)
Notifies the tab of the currently selected actors.void
AttachedVariablesTab. actorSelectionChanged(TreePath[] paths, Actor[] actors)
Notifies the tab of the currently selected actors.void
Clipboard. actorSelectionChanged(TreePath[] paths, Actor[] actors)
Notifies the tab of the currently selected actors.void
EffectiveTagsTab. actorSelectionChanged(TreePath[] paths, Actor[] actors)
Notifies the tab of the currently selected actors.void
SelectionAwareEditorTab. actorSelectionChanged(TreePath[] paths, Actor[] actors)
Notifies the tab of the currently selected actors.void
FlowTabManager. notifyTabs(TreePath[] paths, Actor[] actors)
Notifies all the selection aware tabs that the selection of actors has changed.Constructors in adams.gui.flow.tab with parameters of type Actor Constructor Description ClipboardItem(String name, Actor actor)
Initializes the container item. -
Uses of Actor in adams.gui.flow.tree
Classes in adams.gui.flow.tree that implement Actor Modifier and Type Class Description class
ClipboardActorContainer
A simple container for multiple actors, for easy copying to and retrieving from the clipboard.Fields in adams.gui.flow.tree declared as Actor Modifier and Type Field Description protected Actor[]
ActorSuggestion. m_Defaults
the default actor(s).Fields in adams.gui.flow.tree with type parameters of type Actor Modifier and Type Field Description protected ArrayList<Actor>
ClipboardActorContainer. m_Actors
the actors.Methods in adams.gui.flow.tree that return Actor Modifier and Type Method Description Actor
ClipboardActorContainer. firstActive()
Returns the first non-skipped actor.Actor
ClipboardActorContainer. get(int index)
Returns the actor at the given position.Actor
Node. getActor()
Returns the stored (stripped down) actor.Actor
Tree. getActor()
Returns the underlying flow.Actor
Tree. getActor(StringBuilder errors)
Returns the underlying flow.static Actor
TreeOperations. getActorFromClipboard()
Returns the actor stored on the clipboard.Actor[]
ClipboardActorContainer. getActors()
Returns the actors as array.Actor[]
ActorSuggestion. getDefaults()
Returns the available default actors.Actor
Node. getFullActor()
Returns the full actor, i.e., including all possible sub-actors.Actor
Node. getFullActor(StringBuilder errors)
Returns the full actor, i.e., including all possible sub-actors.protected Actor
Tree. getNearestActor(Node parent, int startIndex, boolean forward)
Returns the nearest actor in the children of the provided parent node that is not disabled.Actor
Tree. getRootActor()
Returns the top-level actor (without any children).Actor
Tree. getSelectedActor()
Returns the currently selected actor.Actor[]
Tree. getSelectedActors()
Returns the currently selected actors.Actor
ClipboardActorContainer. lastActive()
Returns the last non-skipped actor.static Actor[]
TreeHelper. pathsToActors(TreePath[] paths)
Converts the paths to actors (the last component in a path).static Actor[]
TreeHelper. pathsToActors(TreePath[] paths, boolean full)
Converts the paths to actors (the last component in a path).static Actor
TreeHelper. pathToActor(TreePath path)
Converts the path to an actor (the last component in a path).static Actor
TreeHelper. pathToActor(TreePath path, boolean full)
Converts the path to an actor (the last component in a path).Actor
ClipboardActorContainer. remove(int index)
Removes the actor at the given position and returns the removed object.Actor[]
ActorSuggestion. suggest(ActorSuggestion.SuggestionData context)
Returns the suggested actors.Actor[]
ExternalActorSuggestion. suggest(ActorSuggestion.SuggestionData context)
Returns the suggested actors.Actor[]
TreeOperations. suggestActors(TreePath path, TreeOperations.InsertPosition position)
Tries to figure what actors fit best in the tree at the given position.Actor[]
TreeOperations. suggestExternalActors(TreePath[] paths)
Tries to figure what external actors fit best using the given selection of actors.Methods in adams.gui.flow.tree with parameters of type Actor Modifier and Type Method Description String
ClipboardActorContainer. add(int index, Actor actor)
Inserts the actor at the given position.String
ClipboardActorContainer. add(Actor actor)
Inserts the actor at the end.void
TreeOperations. addActor(TreePath path, Actor actor, TreeOperations.InsertPosition position)
Brings up the GOE dialog for adding an actor if no actor supplied, otherwise just adds the given actor at the position specified by the path.void
TreeOperations. addActor(TreePath path, Actor actor, TreeOperations.InsertPosition position, boolean record)
Brings up the GOE dialog for adding an actor if no actor supplied, otherwise just adds the given actor at the position specified by the path.void
TreeOperations. addActor(TreePath path, Actor actor, TreeOperations.InsertPosition position, boolean record, TreeOperations.ActorDialog dialogType)
Brings up the GOE dialog for adding an actor if no actor supplied, otherwise just adds the given actor at the position specified by the path.void
Tree. buildTree(Actor root)
Builds the tree with the given root.static Node
TreeHelper. buildTree(Actor root)
Builds the tree with the given root.protected static Node[]
TreeHelper. buildTree(Node parent, Actor[] actors, boolean append)
Builds the tree recursively.static Node
TreeHelper. buildTree(Node parent, Actor actor, boolean append)
Builds the tree recursively.boolean
TreeOperations. checkForStandalones(Actor[] actors, Node parent)
Checks whether standalones can be placed beneath the parent actor.boolean
TreeOperations. checkForStandalones(Actor actor, Node parent)
Checks whether standalones can be placed beneath the parent actor.void
TreeOperations. externalizeActor(TreePath[] paths, Actor suggestion)
Opens a new FlowEditor window with the currently selected sub-flow.protected void
TreeOperations. externalizeActor(TreePath path, boolean checkCallActors, Actor suggestion)
Opens a new FlowEditor window with the currently selected sub-flow.void
TreeOperations. externalizeActor(TreePath path, Actor suggestion)
Opens a new FlowEditor window with the currently selected sub-flow.protected Renderer.ActorIcon
Renderer. getIcon(Actor parent, Actor actor, boolean collapsed)
Tries to obtain the icon for the given actor.String
ClipboardActorContainer. set(int index, Actor actor)
Sets the actor at the given position.void
Node. setActor(Actor value)
Sets the actor.void
Tree. setActor(Actor value)
Sets the flow actor to display.void
ClipboardActorContainer. setActors(Actor[] value)
Sets the actors.static String
Node. strippedCommandLine(Actor actor)
Returns the commandline of the stripped down version of the actor, i.e., for ActorHandlers, without any sub-actors.AbstractActorTemplate[]
ActorTemplateSuggestion. suggest(Actor parent, int position, Actor[] actors)
Returns the suggested actor templates.void
TreeOperations. swapActor(TreePath sourcePath, Actor target)
Swaps the actor handler of the node with the new node, keeping the children intact, as well as some basic options.Constructors in adams.gui.flow.tree with parameters of type Actor Constructor Description Node(Tree owner, Actor actor)
Initializes the node.Node(Tree owner, Actor actor, String commandline)
Initializes the node.Tree(FlowPanel owner, Actor root)
Initializes the tree. -
Uses of Actor in adams.gui.flow.tree.actorswap
Fields in adams.gui.flow.tree.actorswap with type parameters of type Actor Modifier and Type Field Description protected static HashMap<Class,List<Actor>>
AbstractActorSwapSuggestion. m_Cache
for caching suggestions.Methods in adams.gui.flow.tree.actorswap that return types with arguments of type Actor Modifier and Type Method Description protected abstract List<Actor>
AbstractActorSwapSuggestion. doSuggest(Actor current)
Performs the actual search for candidates.protected List<Actor>
ActorHandlerSuggestion. doSuggest(Actor current)
Performs the actual search for candidates.protected List<Actor>
SimpleSuggestion. doSuggest(Actor current)
Performs the actual search for candidates.List<Actor>
AbstractActorSwapSuggestion. suggest(Actor current)
Searches for potential candidates for swaps.static List<Actor>
AbstractActorSwapSuggestion. suggestAll(Actor current)
Searches for potential candidates for swaps.Methods in adams.gui.flow.tree.actorswap with parameters of type Actor Modifier and Type Method Description protected abstract List<Actor>
AbstractActorSwapSuggestion. doSuggest(Actor current)
Performs the actual search for candidates.protected List<Actor>
ActorHandlerSuggestion. doSuggest(Actor current)
Performs the actual search for candidates.protected List<Actor>
SimpleSuggestion. doSuggest(Actor current)
Performs the actual search for candidates.List<Actor>
AbstractActorSwapSuggestion. suggest(Actor current)
Searches for potential candidates for swaps.static List<Actor>
AbstractActorSwapSuggestion. suggestAll(Actor current)
Searches for potential candidates for swaps. -
Uses of Actor in adams.gui.flow.tree.keyboardaction
Fields in adams.gui.flow.tree.keyboardaction declared as Actor Modifier and Type Field Description protected Actor
AbstractKeyboardActionWithActor. m_Actor
the actor to use.Methods in adams.gui.flow.tree.keyboardaction that return Actor Modifier and Type Method Description Actor
AbstractKeyboardActionWithActor. getActor()
Returns the actor of the action.protected abstract Actor
AbstractKeyboardActionWithActor. getDefaultActor()
Returns the default actor of the action.protected Actor
AddActorAfter. getDefaultActor()
Returns the default actor of the action.protected Actor
AddActorBeneath. getDefaultActor()
Returns the default actor of the action.protected Actor
AddActorHere. getDefaultActor()
Returns the default actor of the action.protected Actor
EncloseActor. getDefaultActor()
Returns the default actor of the action.protected Actor
PullUpActor. getDefaultActor()
Returns the default actor of the action.Methods in adams.gui.flow.tree.keyboardaction with parameters of type Actor Modifier and Type Method Description protected void
AbstractQuickSearchActor. addActor(StateContainer state, Actor actor, TreeOperations.InsertPosition position)
Inserts the actorvoid
AbstractKeyboardActionWithActor. setActor(Actor value)
Sets the actor of the action.void
EncloseActor. setActor(Actor value)
Sets the actor of the action.void
PullUpActor. setActor(Actor value)
Sets the actor of the action. -
Uses of Actor in adams.gui.flow.tree.menu
Methods in adams.gui.flow.tree.menu that return Actor Modifier and Type Method Description protected Actor
AbstractAddMostCommonActorAction. newActor(String classname)
Instantiates the specified actor if not blacklisted.protected abstract Actor
AbstractCompareActors. nodeToActor(Node node)
Turns the node into an actor.protected Actor
CompareJustActors. nodeToActor(Node node)
Turns the node into an actor.protected Actor
CompareSubFlows. nodeToActor(Node node)
Turns the node into an actor.protected Actor
AbstractAddBreakpointAction. suggestBreakpoint(TreePath path, TreeOperations.InsertPosition position)
Tries to figure what actors fit best in the tree at the given position.Methods in adams.gui.flow.tree.menu with parameters of type Actor Modifier and Type Method Description protected List<String>
FindUsages. findActorLocations(Actor actor)
Locates all the occurrences of this actor.protected List<String>
FindUsages. findStorageNames(Actor actor)
Tries to locate the storage name in the actor's options.protected List<String>
FindUsages. findVariableNames(Actor actor)
Tries to locate the variable names in the actor's options.protected String
FindUsages. getActorReference(Actor actor, Actor parent)
Returns the actor reference, if applicable.protected AbstractActorReference[]
GoTo. getReferences(Actor actor)
Returns all the actor references for this actor.protected JMenuItem
AbstractAddMostCommonActorAction. newMenuItem(List<JMenuItem> menuitems, Actor actor)
Creates a new menuitem. -
Uses of Actor in adams.gui.flow.tree.postprocessor
Methods in adams.gui.flow.tree.postprocessor with parameters of type Actor Modifier and Type Method Description abstract boolean
AbstractEditPostProcessor. applies(Actor parent, Actor oldActor, Actor newActor)
Checks whether this post processor scheme applies to the current situation.boolean
CallableActorRenamed. applies(Actor parent, Actor oldActor, Actor newActor)
Checks whether this post processor scheme applies to the current situation.boolean
EventRenamed. applies(Actor parent, Actor oldActor, Actor newActor)
Checks whether this post processor scheme applies to the current situation.boolean
StorageValueRenamed. applies(Actor parent, Actor oldActor, Actor newActor)
Checks whether this post processor scheme applies to the current situation.boolean
VariableRenamed. applies(Actor parent, Actor oldActor, Actor newActor)
Checks whether this post processor scheme applies to the current situation.static boolean
AbstractEditPostProcessor. apply(Tree tree, Actor parent, Actor oldActor, Actor newActor)
Applies all the post-processors, if applicable.protected abstract boolean
AbstractEditPostProcessor. doPostProcess(Tree tree, Actor parent, Actor oldActor, Actor newActor)
Post-processes the tree.protected boolean
CallableActorRenamed. doPostProcess(Tree tree, Actor parent, Actor oldActor, Actor newActor)
Post-processes the tree.protected boolean
EventRenamed. doPostProcess(Tree tree, Actor parent, Actor oldActor, Actor newActor)
Post-processes the tree.protected boolean
StorageValueRenamed. doPostProcess(Tree tree, Actor parent, Actor oldActor, Actor newActor)
Post-processes the tree.protected boolean
VariableRenamed. doPostProcess(Tree tree, Actor parent, Actor oldActor, Actor newActor)
Post-processes the tree.protected StorageName
StorageValueRenamed. getStorageName(Actor actor)
Extracts the variable name (the option) from the actor.protected VariableName
VariableRenamed. getVariableName(Actor actor)
Extracts the variable name (the option) from the actor.boolean
AbstractEditPostProcessor. postProcess(Tree tree, Actor parent, Actor oldActor, Actor newActor)
Post-processes the tree. -
Uses of Actor in adams.gui.flow.tree.quickaction
Methods in adams.gui.flow.tree.quickaction with parameters of type Actor Modifier and Type Method Description protected void
AbstractTreeQuickMenuItemAction. updateSelectedActor(Actor newActor)
Updates the currently selected actor and refreshes the tree. -
Uses of Actor in adams.gui.flow.tree.record.add
Methods in adams.gui.flow.tree.record.add with parameters of type Actor Modifier and Type Method Description protected abstract void
AbstractRecordActorAdded. record(Actor added, Actor parent, Actor before, Actor after, TreeOperations.InsertPosition position)
Records the actor that was added.protected void
MostCommon. record(Actor added, Actor parent, Actor before, Actor after, TreeOperations.InsertPosition position)
Records the actor that was added.protected void
SimpleLog. record(Actor added, Actor parent, Actor before, Actor after, TreeOperations.InsertPosition position)
Records the actor that was added.protected void
SimpleLog. record(Actor actor, StringBuilder line)
Adds details about an actor. -
Uses of Actor in adams.gui.goe
Methods in adams.gui.goe with parameters of type Actor Modifier and Type Method Description protected static boolean
FlowHelper. findNodesMatch(Class type, HashSet<Class> restrict, Actor actor)
Checks whether the actor is a match for the type/restrictions. -
Uses of Actor in adams.gui.goe.classtree
Fields in adams.gui.goe.classtree with type parameters of type Actor Modifier and Type Field Description protected static Map<Class,Actor>
ActorClassTreeFilter. m_ClassActorCache
for caching class/instance relationship. -
Uses of Actor in adams.gui.goe.popupmenu
Methods in adams.gui.goe.popupmenu with parameters of type Actor Modifier and Type Method Description protected void
SwapActor. swapActor(PropertyEditor editor, Actor source, Actor target)
Performs the swap. -
Uses of Actor in adams.gui.menu
Methods in adams.gui.menu that return Actor Modifier and Type Method Description Actor
PlotAttributeVsAttribute. getActor()
Used to create an instance of a specific actor.Actor
SystemPerformance. getActor()
Used to create an instance of a specific actor. -
Uses of Actor in adams.gui.tools
Fields in adams.gui.tools with type parameters of type Actor Modifier and Type Field Description protected List<Actor>
SpreadSheetProcessorPanel. m_GeneratedFlows
the generated flows (eg charts).Methods in adams.gui.tools with parameters of type Actor Modifier and Type Method Description void
SpreadSheetProcessorPanel. addGeneratedFlow(Actor flow)
Adds the flow to the list of flows to clean up.void
SpreadSheetViewerPanel. filterData(String oldTitle, Object input, Actor filter)
Filters the data with the transformer and adds the generated output as new tab. -
Uses of Actor in adams.gui.tools.spreadsheetprocessor.processors
Methods in adams.gui.tools.spreadsheetprocessor.processors that return Actor Modifier and Type Method Description Actor
FlowProcessor. getCurrentFlow()
Returns the flow.Methods in adams.gui.tools.spreadsheetprocessor.processors with parameters of type Actor Modifier and Type Method Description void
FlowProcessor. setCurrentFlow(Actor value)
Sets the flow. -
Uses of Actor in adams.gui.visualization.core
Fields in adams.gui.visualization.core declared as Actor Modifier and Type Field Description protected Actor
MultiPaintlet. m_Actor
the actor that this paintlet belongs to.protected Actor
TextOverlayPaintlet. m_Actor
the actor that this paintlet belongs to.Methods in adams.gui.visualization.core that return Actor Modifier and Type Method Description Actor
FlowAwarePaintlet. getActor()
Returns the owning actor.Actor
MultiPaintlet. getActor()
Returns the owning actor.Actor
TextOverlayPaintlet. getActor()
Returns the owning actor.Methods in adams.gui.visualization.core with parameters of type Actor Modifier and Type Method Description void
FlowAwarePaintlet. setActor(Actor actor)
Sets the owning actor.void
MultiPaintlet. setActor(Actor actor)
Sets the owning actor.void
TextOverlayPaintlet. setActor(Actor actor)
Sets the owning actor. -
Uses of Actor in adams.gui.visualization.sequence
Fields in adams.gui.visualization.sequence declared as Actor Modifier and Type Field Description protected Actor
ByNamePaintlet. m_Actor
the actor the paintlet belongs to.protected Actor
PaintletWithFixedXRange. m_Actor
the actor the paintlet belongs to.protected Actor
PaintletWithFixedXYRange. m_Actor
the actor the paintlet belongs to.protected Actor
PaintletWithFixedYRange. m_Actor
the actor the paintlet belongs to.Methods in adams.gui.visualization.sequence that return Actor Modifier and Type Method Description Actor
ByNamePaintlet. getActor()
Returns the owning actor.Actor
PaintletWithFixedXRange. getActor()
Returns the owning actor.Actor
PaintletWithFixedYRange. getActor()
Returns the owning actor.Methods in adams.gui.visualization.sequence with parameters of type Actor Modifier and Type Method Description void
ByNamePaintlet. setActor(Actor actor)
Sets the owning actor.void
PaintletWithFixedXRange. setActor(Actor actor)
Sets the owning actor.void
PaintletWithFixedYRange. setActor(Actor actor)
Sets the owning actor. -
Uses of Actor in adams.gui.visualization.timeseries
Fields in adams.gui.visualization.timeseries declared as Actor Modifier and Type Field Description protected Actor
PaintletWithFixedXRange. m_Actor
the actor the paintlet belongs to.protected Actor
PaintletWithFixedXYRange. m_Actor
the actor the paintlet belongs to.protected Actor
PaintletWithFixedYRange. m_Actor
the actor the paintlet belongs to.Methods in adams.gui.visualization.timeseries that return Actor Modifier and Type Method Description Actor
PaintletWithFixedXRange. getActor()
Returns the owning actor.Actor
PaintletWithFixedYRange. getActor()
Returns the owning actor.Methods in adams.gui.visualization.timeseries with parameters of type Actor Modifier and Type Method Description void
PaintletWithFixedXRange. setActor(Actor actor)
Sets the owning actor.void
PaintletWithFixedYRange. setActor(Actor actor)
Sets the owning actor. -
Uses of Actor in adams.multiprocess
Fields in adams.multiprocess declared as Actor Modifier and Type Field Description protected Actor
AbstractJobRunner. m_FlowContext
the flow context.protected Actor
WekaCrossValidationExecution. m_FlowContext
the flow context.protected Actor
WekaCrossValidationJob. m_FlowContext
the flow context.Methods in adams.multiprocess that return Actor Modifier and Type Method Description Actor
AbstractJobRunner. getFlowContext()
Return the flow context, if any.Actor
JobRunner. getFlowContext()
Return the flow context, if any.Actor
WekaCrossValidationExecution. getFlowContext()
Returns the flow context, if any.Actor
WekaCrossValidationJob. getFlowContext()
Returns the flow context, if any.Methods in adams.multiprocess with parameters of type Actor Modifier and Type Method Description void
AbstractJobRunner. setFlowContext(Actor value)
Sets the flow context, if any.void
JobRunner. setFlowContext(Actor value)
Sets the flow context, if any.void
WekaCrossValidationExecution. setFlowContext(Actor value)
Sets the flow context.void
WekaCrossValidationJob. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.opt.genetic
Fields in adams.opt.genetic declared as Actor Modifier and Type Field Description protected Actor
AbstractClassifierBasedGeneticAlgorithm. m_FlowContext
the flow context.Methods in adams.opt.genetic that return Actor Modifier and Type Method Description Actor
AbstractClassifierBasedGeneticAlgorithm. getFlowContext()
Return the flow context, if any.Methods in adams.opt.genetic with parameters of type Actor Modifier and Type Method Description void
AbstractClassifierBasedGeneticAlgorithm. setFlowContext(Actor value)
Sets the flow context, if any. -
Uses of Actor in adams.opt.genetic.setupupload
Fields in adams.opt.genetic.setupupload declared as Actor Modifier and Type Field Description protected Actor
AbstractSetupUpload. m_FlowContext
the flow context.Methods in adams.opt.genetic.setupupload that return Actor Modifier and Type Method Description Actor
AbstractSetupUpload. getFlowContext()
Return the flow context, if any.Methods in adams.opt.genetic.setupupload with parameters of type Actor Modifier and Type Method Description void
AbstractSetupUpload. setFlowContext(Actor value)
Sets the flow context, if any. -
Uses of Actor in adams.parser
Fields in adams.parser declared as Actor Modifier and Type Field Description Actor[]
ActorSuggestion.SuggestionData. actors
the actors on the same level.protected Actor[]
ActorSuggestion. m_Actors
the actors in which the proposed actor gets inserted.protected Actor[]
ActorTemplateSuggestion. m_Actors
the actors in which the proposed actor template gets inserted.protected Actor[]
ExternalActorSuggestion. m_Actors
the actors in which the proposed actor gets inserted.protected Actor
ActorSuggestion. m_Parent
the parent of the proposed actor.protected Actor
ActorTemplateSuggestion. m_Parent
the parent of the proposed actor template.protected Actor
ExternalActorSuggestion. m_Parent
the parent of the proposed actor.Actor
ActorSuggestion.SuggestionData. parent
the parent.Methods in adams.parser that return Actor Modifier and Type Method Description Actor
ActorSuggestion. evaluate()
Performs the evaluation.static Actor[]
ActorSuggestion. evaluate(String[] expr, ActorSuggestion.SuggestionData data)
Performs the evaluation.static Actor
ActorSuggestion. evaluate(String expr, ActorSuggestion.SuggestionData data)
Performs the evaluation.Actor
ExternalActorSuggestion. evaluate()
Performs the evaluation.static Actor[]
ExternalActorSuggestion. evaluate(String[] expr, ActorSuggestion.SuggestionData data)
Performs the evaluation.static Actor
ExternalActorSuggestion. evaluate(String expr, ActorSuggestion.SuggestionData data)
Performs the evaluation.Actor[]
ActorSuggestion. getActors()
Returns the actors to insert the proposed actor in.Actor[]
ActorTemplateSuggestion. getActors()
Returns the actors to insert the proposed actor in.Actor[]
ExternalActorSuggestion. getActors()
Returns the actors to insert the proposed actor in.Actor
ActorSuggestion. getParent()
Returns the current parent in use.Actor
ActorTemplateSuggestion. getParent()
Returns the current parent in use.Actor
ExternalActorSuggestion. getParent()
Returns the current parent in use.Methods in adams.parser with parameters of type Actor Modifier and Type Method Description static AbstractActorTemplate[]
ActorTemplateSuggestion. evaluate(String[] expr, Actor parent, int position, Actor[] actors)
Performs the evaluation.static AbstractActorTemplate
ActorTemplateSuggestion. evaluate(String expr, Actor parent, int position, Actor[] actors)
Performs the evaluation.void
ActorSuggestion. setActors(Actor[] value)
Sets the actors to insert the proposed actor in.void
ActorTemplateSuggestion. setActors(Actor[] value)
Sets the actors to insert the proposed actor in.void
ExternalActorSuggestion. setActors(Actor[] value)
Sets the actors to insert the proposed actor in.void
ActorSuggestion. setParent(Actor value)
Sets the parent to use.void
ActorTemplateSuggestion. setParent(Actor value)
Sets the parent to use.void
ExternalActorSuggestion. setParent(Actor value)
Sets the parent to use. -
Uses of Actor in adams.parser.actorsuggestion
Fields in adams.parser.actorsuggestion declared as Actor Modifier and Type Field Description protected Actor[]
Parser. m_Actors
all the current actors in which to insert/add to the proposed actor.protected Actor
Parser. m_LastParent
the last parent used.protected Actor
Parser. m_Parent
the parent of the proposed actor.protected Actor
Parser. m_Result
for storing the result of the expression.Methods in adams.parser.actorsuggestion that return Actor Modifier and Type Method Description Actor[]
Parser. getActors()
Returns the actors in which to insert the proposed actor.Actor
Parser. getParent()
Returns the parent of the proposed actor.Actor
Parser. getResult()
Returns the result of the evaluation.Methods in adams.parser.actorsuggestion with parameters of type Actor Modifier and Type Method Description void
Parser. setActors(Actor[] value)
Sets the actors in which to insert the proposed actor.void
Parser. setParent(Actor value)
Sets the parent of the proposed actor.void
Parser. setResult(Actor value)
Sets the result of the evaluation. -
Uses of Actor in adams.parser.externalactorsuggestion
Fields in adams.parser.externalactorsuggestion declared as Actor Modifier and Type Field Description protected Actor[]
Parser. m_Actors
all the current actors in which to insert/add to the proposed actor.protected Actor
Parser. m_LastParent
the last parent used.protected Actor
Parser. m_Parent
the parent of the proposed actor.protected Actor
Parser. m_Result
for storing the result of the expression.Methods in adams.parser.externalactorsuggestion that return Actor Modifier and Type Method Description Actor[]
Parser. getActors()
Returns the actors in which to insert the proposed actor.Actor
Parser. getParent()
Returns the parent of the proposed actor.Actor
Parser. getResult()
Returns the result of the evaluation.Methods in adams.parser.externalactorsuggestion with parameters of type Actor Modifier and Type Method Description void
Parser. setActors(Actor[] value)
Sets the actors in which to insert the proposed actor.void
Parser. setParent(Actor value)
Sets the parent of the proposed actor.void
Parser. setResult(Actor value)
Sets the result of the evaluation. -
Uses of Actor in adams.parser.templatesuggestion
Fields in adams.parser.templatesuggestion declared as Actor Modifier and Type Field Description protected Actor[]
Parser. m_Actors
all the current nodes in which to insert/add to the proposed actor.protected Actor
Parser. m_Parent
the parent of the where to suggest the template.Methods in adams.parser.templatesuggestion that return Actor Modifier and Type Method Description Actor[]
Parser. getActors()
Returns the actors in which to insert the proposed template.Actor
Parser. getParent()
Returns the parent of the proposed template.Methods in adams.parser.templatesuggestion with parameters of type Actor Modifier and Type Method Description void
Parser. setActors(Actor[] value)
Sets the actors in which to insert the proposed template.void
Parser. setParent(Actor value)
Sets the parent of the proposed template. -
Uses of Actor in adams.scripting.command
Fields in adams.scripting.command declared as Actor Modifier and Type Field Description protected Actor
AbstractFlowAwareCommand. m_FlowContext
the flow context.protected Actor
AbstractFlowAwareCommandWithResponse. m_FlowContext
the flow context.Methods in adams.scripting.command that return Actor Modifier and Type Method Description Actor
AbstractFlowAwareCommand. getFlowContext()
Returns the flow context, if any.Actor
AbstractFlowAwareCommandWithResponse. getFlowContext()
Returns the flow context, if any.protected Actor
AbstractRemoteCommandOnFlowWithResponse. retrieveFlow(boolean loadFromDisk)
Retrieves the flow.Methods in adams.scripting.command with parameters of type Actor Modifier and Type Method Description void
AbstractFlowAwareCommand. setFlowContext(Actor value)
Sets the flow context.void
AbstractFlowAwareCommandWithResponse. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.scripting.command.flow
Fields in adams.scripting.command.flow declared as Actor Modifier and Type Field Description protected Actor
RemoteFlowExecution. m_Actor
the instantiated flow.protected Actor
GetFlow. m_Flow
the flow.Methods in adams.scripting.command.flow with parameters of type Actor Modifier and Type Method Description void
RemoteFlowExecution. setActor(Actor value)
Sets the actor to use instead of loading it from disk. -
Uses of Actor in adams.scripting.engine
Fields in adams.scripting.engine declared as Actor Modifier and Type Field Description protected Actor
AbstractScriptingEngine. m_FlowContext
the flow context.Methods in adams.scripting.engine that return Actor Modifier and Type Method Description Actor
AbstractScriptingEngine. getFlowContext()
Returns the flow context, if any.Actor
RemoteScriptingEngine. getFlowContext()
Returns the flow context, if any.Methods in adams.scripting.engine with parameters of type Actor Modifier and Type Method Description void
AbstractScriptingEngine. setFlowContext(Actor value)
Sets the flow context.void
RemoteScriptingEngine. setFlowContext(Actor value)
Sets the flow context. -
Uses of Actor in adams.scripting.requesthandler
Fields in adams.scripting.requesthandler declared as Actor Modifier and Type Field Description protected Actor
CallableActorsHandler. m_CallableActor
the callable actor.Methods in adams.scripting.requesthandler that return Actor Modifier and Type Method Description protected Actor
CallableActorsHandler. findCallableActor()
Tries to find the callable actor referenced by its global name.Actor
CallableActorsHandler. getCallableActor()
Returns the currently set callable actor. -
Uses of Actor in adams.scripting.responsehandler
Fields in adams.scripting.responsehandler declared as Actor Modifier and Type Field Description protected Actor
CallableActorsHandler. m_CallableActor
the callable actor.Methods in adams.scripting.responsehandler that return Actor Modifier and Type Method Description protected Actor
CallableActorsHandler. findCallableActor()
Tries to find the callable actor referenced by its global name.Actor
CallableActorsHandler. getCallableActor()
Returns the currently set callable actor.
-