Package adams.flow.processor
Interface ModifyingProcessor
-
- All Superinterfaces:
ActorProcessor
,Comparable<ActorProcessor>
,Destroyable
,OptionHandler
,ShallowCopySupporter<ActorProcessor>
- All Known Subinterfaces:
CleanUpProcessor
- All Known Implementing Classes:
AbstractModifyingInteractiveProcessor
,AbstractModifyingProcessor
,AbstractNameUpdater
,ChangeDatabaseConditionLimit
,ChangeDatabaseConnection
,ChangeDisplayType
,ChangeNumThreads
,ChangePath
,FlattenStructure
,ForwardSlashSwitch
,ManageInteractiveActors
,ManageTimedActors
,MultiProcessor
,ReactivateActors
,RemoveAutogeneratedActors
,RemoveBreakpoints
,RemoveDisabledActors
,RemoveUnusedReferenceableActors
,SwapObjects
,UpdateCallableActorName
,UpdateEventName
,UpdateStorageName
,UpdateVariableName
public interface ModifyingProcessor extends ActorProcessor
Interface for processors that potentially modify the actor.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Actor
getModifiedActor()
Returns the modified actor.boolean
getNoCopy()
Returns whether the copying of the actor is suppressed.boolean
isModified()
Returns whether the actor was modified.void
setNoCopy(boolean value)
Sets whether to suppress copying the actor first before processing.-
Methods inherited from interface adams.flow.processor.ActorProcessor
compareTo, getErrors, hasErrors, process, shallowCopy, shallowCopy
-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
-
-
-
Method Detail
-
setNoCopy
void setNoCopy(boolean value)
Sets whether to suppress copying the actor first before processing.- Parameters:
value
- if true, no copy of the actor is generated
-
getNoCopy
boolean getNoCopy()
Returns whether the copying of the actor is suppressed.- Returns:
- true if no copy generated
-
isModified
boolean isModified()
Returns whether the actor was modified.- Returns:
- true if the actor was modified
-
getModifiedActor
Actor getModifiedActor()
Returns the modified actor.- Returns:
- the modified actor, null if not modified
-
-