Skip to content
Snippets Groups Projects
Commit 3b4068a2 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

DOC: small fixes.

parent 3e21fb72
No related branches found
No related tags found
2 merge requests!21Release v0.4.0,!15Document server code structure
Pipeline #8205 passed
......@@ -46,7 +46,7 @@ Transactions are explained in detail in the :ref:`Transactions and Schedules<tra
MySQL Backend
-------------
The MySQL backend in CaosDB may be substituted by backends for, but at the time of writing this
The MySQL backend in CaosDB may be substituted by other backends, but at the time of writing this
documentation, only MySQL (MariaDB is used for testing) is implemented. There are the following
main packages which handle the backend:
......
......@@ -23,7 +23,7 @@
package org.caosdb.server.jobs;
/**
* Not really a time (measured in seconds), but rather the executaion state.
* Not really a time (measured in seconds), but rather the execution stage.
*/
public enum JobExecutionTime {
INIT,
......
......@@ -90,7 +90,7 @@ public class Schedule {
/**
* Run all scheduled Jobs for the given entity.
*
* Execution time: Either CHECK or what is given as jobclass annotation.
* Execution time: Either CHECK or what is given as jobclass' annotation.
*/
public void runJob(final EntityInterface entity, final Class<? extends Job> jobclass) {
List<ScheduledJob> jobs =
......
......@@ -232,6 +232,12 @@ public abstract class Transaction<C extends TransactionContainer> extends Abstra
}
}
/**
* Return the internal {@link Schedule} object.
* <p>
* The Schedule stores jobs which are also triggered by this transaction (see {@link execute()}
* for details).
*/
public Schedule getSchedule() {
return this.schedule;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment