| Package | Description |
|---|---|
| mysql | |
| stella | |
| stella.globals | |
| stella.sql | |
| stella.xml |
| Modifier and Type | Method and Description |
|---|---|
SporeTarget |
TaskSql.newTarget(String telid,
File xml)
Reads a new target from a resource, serializes it into the database and
sets all fields to according values.
|
SporeTarget |
TaskSql.newTarget(String telid,
URL xml,
long urlstamp,
int s0)
Reads a new target from a resource, serializes it into the database and
sets all fields to according values.
|
private static SporeTarget |
TaskSql.parseTarget(String tel,
String ascii,
Map<String,String> parseprop) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,SporeTarget> |
TaskSql.retrieve(String telescope,
Collection<String> names)
Retrieves the collection of targets given by their name.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean |
TaskSql.enterTarget(String telid,
SporeTarget target,
Document dom,
int s0,
long urlstamp) |
(package private) boolean |
MailerTaskSql.enterTarget(String telid,
SporeTarget target,
Document dom,
int s0,
long urlstamp) |
| Modifier and Type | Field and Description |
|---|---|
private TargetProviding<SporeTarget> |
MasterMind.targetlist
The global target provider supplying skeleton targets.
|
| Modifier and Type | Field and Description |
|---|---|
private Collection<SporeTarget> |
TargetList.alltargets
A list containing all targets, even those not wanted.
|
private Collection<SporeTarget> |
TargetList.targets
A list of parsed targets used.
|
| Modifier and Type | Method and Description |
|---|---|
SporeTarget |
TargetList.getFromActive(String name)
Gets from all targets.
|
SporeTarget |
TargetList.getFromAll(String name)
Gets from all targets.
|
private SporeTarget |
TargetList.getTargetFromResource(String xmlname)
Returns a parsed document from a resource.
|
private SporeTarget |
TargetList.parseTargetResource(URL xml,
URL serial)
Returns the newer of two versions.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<SporeTarget> |
TargetList.getActiveTargets() |
Collection<SporeTarget> |
TargetList.getAllTargets() |
Collection<SporeTarget> |
TargetList.getCompletedTargets()
Parsed Targets provide a complete flag.
|
private Collection<SporeTarget> |
TargetList.resolveFileTargets(List<String> files)
Reads the file indicated by the argument.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
TargetList.addTarget(SporeTarget dom) |
boolean |
TargetList.removeTarget(SporeTarget dom)
Removes the target-defining DOM from the scheduler, classified
by its name.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<String,SporeTarget> |
TargetDatabase.active
My parsed collection of active targets, available after init.
|
private Map<String,SporeTarget> |
TargetDatabase.all
Names to targets for all targets, available after init.
|
private Map<String,SporeTarget> |
TargetDatabase.ConsistencyThread.check |
private Map<String,SporeTarget> |
TargetDatabase.finished
My parsed collection of finished targets, available after init.
|
| Modifier and Type | Method and Description |
|---|---|
SporeTarget |
TargetDatabase.getFromActive(String name)
Returns a set of all target names.
|
SporeTarget |
TargetDatabase.getFromAll(String name)
Returns a set of all target names.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<SporeTarget> |
TargetDatabase.getActiveTargets() |
Collection<SporeTarget> |
TargetDatabase.getAllTargets() |
Collection<SporeTarget> |
TargetDatabase.getCompletedTargets()
Parsed Targets provide a complete flag.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
TargetDatabase.addTarget(SporeTarget dom)
Adds a new target to this provider.
|
private boolean |
TargetDatabase.removeFrom(Map<String,SporeTarget> map,
SporeTarget dom)
Removes the specified target from the table.
|
boolean |
TargetDatabase.removeTarget(SporeTarget dom)
Removes the target-defining DOM from the scheduler, classified
by its name.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
TargetConsistency.checkTargetXml(String telid,
Map<String,SporeTarget> loaded)
Checks for all targets in the collection if the modification time of the
file resource is younger than the modification time stored.
|
private static void |
TargetDatabase.Listing.print(Collection<SporeTarget> c)
Print the name of the targets, orderd alphabetically.
|
private boolean |
TargetDatabase.removeFrom(Map<String,SporeTarget> map,
SporeTarget dom)
Removes the specified target from the table.
|
| Constructor and Description |
|---|
ConsistencyThread(Map<String,SporeTarget> doms) |
| Modifier and Type | Class and Description |
|---|---|
class |
GrbTarget
An DOM-based description of a GRB target used on GRB triggers.
|
class |
ParsedTarget
An DOM-based description of a target.
|
| Modifier and Type | Method and Description |
|---|---|
static SporeTarget |
DOMTarget.deserializeTarget(String tel,
File in)
Deserializes an object from an URL.
|
static SporeTarget |
DOMTarget.deserializeTarget(String tel,
URL in)
Deserializes an object from an URL.
|
static SporeTarget |
DOMTarget.newTarget(Document xml,
Map<String,String> prop)
Parses a document that describes a STELLA target into a
SporeTarget. |
static SporeTarget |
DOMTarget.parseInto(Document xml,
SporeTarget ret)
Parses all of the information available in the XML document to valid
fields in the
SporeTarget, but does not interact with information
contained in any DB tables. |
| Modifier and Type | Method and Description |
|---|---|
static ParsedTarget |
ParsedTarget.makeRunnable(String tel,
SporeTarget skel) |
static SporeTarget |
DOMTarget.parseInto(Document xml,
SporeTarget ret)
Parses all of the information available in the XML document to valid
fields in the
SporeTarget, but does not interact with information
contained in any DB tables. |
static boolean |
DOMTarget.serializeTarget(SporeTarget write,
File out)
Serializes an object to a file.
|
static Document |
DOMTarget.toDocument(SporeTarget target,
Map<String,String> stardef)
Converts a parsed target into a DOM.
|