|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Handable
An interface furhter specifying an astronomical target. A handable target is able to perform very basic selection processes. It may be enabled or disabled. Additionally, if picked, method exist to reflect the different states of the target handling.
| Method Summary | |
|---|---|
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. |
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. |
| Methods inherited from interface stella.TargetDefinition |
|---|
getDaughters, getDescription, getDescriptionID, getEmailAddresses, getImageType, getInstitution, getName, getPrecursor, getSuccessor, getTargetResource, getTargetSpecific, getTeam, getTitle, getType, getUser, setPrecursor |
| Method Detail |
|---|
void setEnabled(boolean isaccessible)
boolean isEnabled()
void setPicked(boolean ispick)
HistoryAware.addExecution(stella.ParameterClustering, java.util.Date, long, java.lang.String, java.lang.String).
errorMain(stella.ErrorEvent, stella.ErrorFinalizing, stella.ParameterClustering)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(stella.ParameterClustering, 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 conditions
void errorDaughter(ErrorEvent error,
ErrorFinalizing finish,
ParameterClustering set)
HistoryAware.addExecution(stella.ParameterClustering, 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 conditions
void errorSuccessor(ErrorEvent error,
ErrorFinalizing finish,
ParameterClustering set)
HistoryAware.addExecution(stella.ParameterClustering, 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||