]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manual/python.tex
This commit was manufactured by cvs2svn to create tag
[bacula/docs] / docs / manual / python.tex
index 0f1b14a9aaf1dabe0d9db851d7cad0d13ba540b6..ffed6bb6a6c8af2c28ae503500e8d1024f32bc72 100644 (file)
@@ -204,7 +204,7 @@ In addition, the Bacula {\bf job} obbject in the Director has
 a number of methods (subroutines) that can be called. They
 are:
 \begin{description}
-\item [set\_events] The set\_events takes a single
+\item [set\_events] The set\_events method takes a single
    argument, which is the instantation of the Job Events class
    that contains the methods that you want called. The method
    names that will be called must correspond to the Bacula
@@ -217,7 +217,9 @@ are:
    started, or -1 if there was an error.
 \item [write] The write method is used to be able to send
    print output to the Job Report. This will be described later.
-\item [DoesVolumeExist] The DoesVolumeExist takes a single
+\item[cancel] The cancel method takes a single integer argument,
+   which is a JobId. If JobId is found, it will be canceled.
+\item [DoesVolumeExist] The DoesVolumeExist method takes a single
    string argument, which is the Volume name, and returns 
    1 if the volume exists in the Catalog and 0 if the volume
    does not exist.
@@ -228,8 +230,11 @@ for the {\bf job} object.
 
 \begin{description}
 \item [Priority] Read or set the Job priority.
-Note, that setting a Job Priority is effective only before
-the Job actually starts.  (not functional yet)
+   Note, that setting a Job Priority is effective only before
+   the Job actually starts.
+\item [Level] This attribute contains a string representing the Job 
+        level, e.g. Full, Differential, Incremental, ... if read.
+        The level can also be set.
 \end{description}
 
 The following read-only attributes are available within the Director
@@ -237,8 +242,6 @@ for the {\bf job} object.
 
 \begin{description}
 
-\item [Level] This attribute contains a string representing the Job 
-        level, e.g. Full, Differential, Incremental, ...
 \item [Type]  This attribute contains a string representing the Job
         type, e.g. Backup, Restore, Verify, ...
 \item [JobId] This attribute contains an integer representing the