public interface TargetDefinition
A target definition initially comprises only a unique target name, a target type and some parameters which may be distinguished by an identifier object. This identifier is needed if a target provides different definitions for the same named property. E.g. if a target consists of different stars, all with have a property ra. Specifying the right identifier blocks ambiguities.
For some astronomical observation it may be necessary that one target consists of a couple of daughter targets (e.g. a radial velocity standard target may actually consist of a handful of radial velocity standard stars), or requires another target immediately after this target. This process is called target-chaining. The following rules apply:
Appointable, its daughters should also implement this interface.Handable targets, they are picked as soon as they enter the
execution chain, i.e. as the scheduler classifies them as the top target.
Handable targets are unpicked when the do not have an unfinished successor
left.Handable will not work.| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns a description of the target.
|
String |
getDescriptionID()
Returns an id of the target description.
|
Collection<? extends javax.mail.Address> |
getEmailAddresses()
Returns a list of user e-mails.
|
Object |
getImageType()
Gets the image type.
|
UserProfile.Affil |
getInstitution()
Gets the institution this target belongs to.
|
String |
getName()
Gets the target name.
|
URL |
getTargetResource()
A resource where the target can be located.
|
Object |
getTargetSpecific(Object id)
Gets a description of a specified field in the target description.
|
Collection<String> |
getTeam()
Gets the names of the cois or null if no Co-Is are assigned.
|
String |
getTitle()
Gets the target title.
|
Object |
getType()
Gets the target type.
|
String |
getUser()
Gets the target user.
|
String getName()
URL getTargetResource()
String getTitle()
String getDescription()
String getDescriptionID()
String getUser()
getInstitution() is not meaningful.Collection<String> getTeam()
Collection<? extends javax.mail.Address> getEmailAddresses()
UserProfile.Affil getInstitution()
Object getType()
Object getImageType()
Object getTargetSpecific(Object id)
id - An identifier, most likely a string.