public interface Handable extends TargetDefinition
| Modifier and Type | Method and Description |
|---|---|
void |
errorDaughter(ErrorEvent error,
ErrorFinalizing finish,
ParameterClustering set)
Signals the target that an error has occured during the execution of a
daughter of this target.
|
void |
errorMain(ErrorEvent error,
ErrorFinalizing finish,
ParameterClustering set)
Signals the target that an error has occured during the execution of
itself.
|
void |
errorSuccessor(ErrorEvent error,
ErrorFinalizing finish,
ParameterClustering set)
Signals the target that an error has occured during the execution of the
successor of this target.
|
Handable |
getPrecursor()
If the target is called in a target-chain, this method returns a pointer
to that target that was currently handled when this target was selected.
|
Handable |
getSuccessor()
If this target needs another target executed right after it, this method
should return this target.
|
boolean |
isEnabled()
Queries the state of the target with respect to availablity in terms of
queuing.
|
boolean |
isFinished()
Checks if the target has been finished within this chained observation.
|
boolean |
isNotify(UserProfile.Notifies condition)
Returns true if the argument should trigger some sort of notification.
|
boolean |
isPicked()
Returns true if this target is currently picked by the scheduler and
either already observed or in the early stages of preparation.
|
void |
setEnabled(boolean isaccessible)
Disables or enables the target.
|
void |
setFinished(boolean isfinished)
Sets the finished flag of the target.
|
void |
setPicked(boolean ispick)
Signals the target that it has presently been picked for execution.
|
void |
setPrecursor(Handable to)
If the target is called in a target-chain, this method returns a pointer
to that target that was currently handled when this target was selected.
|
getDescription, getDescriptionID, getEmailAddresses, getImageType, getInstitution, getName, getTargetResource, getTargetSpecific, getTeam, getTitle, getType, getUservoid setEnabled(boolean isaccessible)
boolean isEnabled()
void setPicked(boolean ispick)
HistoryAware.addExecution(globals.GlobalGrouping, java.util.Date, long, java.lang.String, java.lang.String).boolean isPicked()
setPicked(boolean)void setFinished(boolean isfinished)
TargetDefinition. By default, a target is
always unfinished after construction. This method is called during
chaining to signal an execution of this target (regardless of success) to
hinder re-executuion of the target.boolean isFinished()
TargetDefinition).void errorMain(ErrorEvent error, ErrorFinalizing finish, ParameterClustering set)
HistoryAware.addExecution(globals.GlobalGrouping, java.util.Date, long, java.lang.String, java.lang.String) method call. This method should
never implicatley call the setPicked(boolean) method with false
as the argument as the error might not be a terminal one.error - The error event occured during my executionfinish - An error finalizer linked to this errorset - The current conditionsvoid errorDaughter(ErrorEvent error, ErrorFinalizing finish, ParameterClustering set)
HistoryAware.addExecution(globals.GlobalGrouping, java.util.Date, long, java.lang.String, java.lang.String)
method call. This method should never implicatley call the
setPicked(boolean) method with false as the argument as the
error might not be a terminal one.error - The error event occured during daughter execution.finish - An error finalizer linked to this errorset - The current conditionsvoid errorSuccessor(ErrorEvent error, ErrorFinalizing finish, ParameterClustering set)
HistoryAware.addExecution(globals.GlobalGrouping, java.util.Date, long, java.lang.String, java.lang.String)
method call. This method should never implicatley call the
setPicked(boolean) method with false as the argument as the
error might not be a terminal one.error - The error event occured during successor execution.finish - An error finalizer linked to this errorset - The current conditionsboolean isNotify(UserProfile.Notifies condition)
condition - An object-specific identifier for user notifiaction.Handable getPrecursor()
void setPrecursor(Handable to)
Handable getSuccessor()