summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/jobs
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-04-05 14:49:11 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-04-09 10:03:25 -0500
commit7c7b9d023cd466c1771068badc020dab36beb553 (patch)
tree178877eb83e25336be7577953945fbdb0b9e1a15 /base/common/src/com/netscape/certsrv/jobs
parentda1e6e2f49f66fd46c8039ff1aa4386309fba8f4 (diff)
downloadpki-7c7b9d023cd466c1771068badc020dab36beb553.tar.gz
pki-7c7b9d023cd466c1771068badc020dab36beb553.tar.xz
pki-7c7b9d023cd466c1771068badc020dab36beb553.zip
Removed whitespaces from Java code.
Whitespaces in Java code have been removed with the following command: find . -not -path .git -name *.java -exec sed -i 's/[[:blank:]]\+$//' {} \; Ticket #134
Diffstat (limited to 'base/common/src/com/netscape/certsrv/jobs')
-rw-r--r--base/common/src/com/netscape/certsrv/jobs/EJobsException.java2
-rw-r--r--base/common/src/com/netscape/certsrv/jobs/IJob.java18
-rw-r--r--base/common/src/com/netscape/certsrv/jobs/IJobCron.java2
-rw-r--r--base/common/src/com/netscape/certsrv/jobs/IJobsScheduler.java14
-rw-r--r--base/common/src/com/netscape/certsrv/jobs/JobPlugin.java8
-rw-r--r--base/common/src/com/netscape/certsrv/jobs/JobsResources.java2
6 files changed, 23 insertions, 23 deletions
diff --git a/base/common/src/com/netscape/certsrv/jobs/EJobsException.java b/base/common/src/com/netscape/certsrv/jobs/EJobsException.java
index cc0923ae7..38b9db6b9 100644
--- a/base/common/src/com/netscape/certsrv/jobs/EJobsException.java
+++ b/base/common/src/com/netscape/certsrv/jobs/EJobsException.java
@@ -22,7 +22,7 @@ import com.netscape.certsrv.base.EBaseException;
/**
* A class represents a jobs exception.
* <P>
- *
+ *
* @version $Revision$, $Date$
*/
public class EJobsException extends EBaseException {
diff --git a/base/common/src/com/netscape/certsrv/jobs/IJob.java b/base/common/src/com/netscape/certsrv/jobs/IJob.java
index 5584d68ff..097e2fa64 100644
--- a/base/common/src/com/netscape/certsrv/jobs/IJob.java
+++ b/base/common/src/com/netscape/certsrv/jobs/IJob.java
@@ -24,14 +24,14 @@ import com.netscape.certsrv.base.ISubsystem;
/**
* An interface to be implemented from for a job to be scheduled by
* the Jobs Scheduler.
- *
+ *
* @version $Revision$, $Date$
*/
public interface IJob {
/**
* Initialize from the configuration file.
- *
+ *
* @param id String name of this instance
* @param implName string name of this implementation
* @param config configuration store for this instance
@@ -42,7 +42,7 @@ public interface IJob {
/**
* tells if the job is enabled
- *
+ *
* @return a boolean value indicating whether the job is enabled
* or not
*/
@@ -50,21 +50,21 @@ public interface IJob {
/**
* set instance id.
- *
+ *
* @param id String id of the instance
*/
public void setId(String id);
/**
* get instance id.
- *
+ *
* @return a String identifier
*/
public String getId();
/**
* get cron string associated with this job
- *
+ *
* @return a JobCron object that represents the schedule of this job
*/
public IJobCron getJobCron();
@@ -73,21 +73,21 @@ public interface IJob {
* Returns a list of configuration parameter names.
* The list is passed to the configuration console so instances of
* this implementation can be configured through the console.
- *
+ *
* @return String array of configuration parameter names.
*/
public String[] getConfigParams();
/**
* gets the plugin name of this job.
- *
+ *
* @return a String that is the name of this implementation
*/
public String getImplName();
/**
* Gets the configuration substore used by this job
- *
+ *
* @return configuration store
*/
public IConfigStore getConfigStore();
diff --git a/base/common/src/com/netscape/certsrv/jobs/IJobCron.java b/base/common/src/com/netscape/certsrv/jobs/IJobCron.java
index f161b5e8d..9a126505a 100644
--- a/base/common/src/com/netscape/certsrv/jobs/IJobCron.java
+++ b/base/common/src/com/netscape/certsrv/jobs/IJobCron.java
@@ -28,7 +28,7 @@ package com.netscape.certsrv.jobs;
* e.g. jobsScheduler.job.rnJob1.cron=30 11,23 * * 1-5 In this example, the job "rnJob1" will be executed from Monday
* through Friday, at 11:30am and 11:30pm.
* <p>
- *
+ *
* @version $Revision$, $Date$
*/
public interface IJobCron {
diff --git a/base/common/src/com/netscape/certsrv/jobs/IJobsScheduler.java b/base/common/src/com/netscape/certsrv/jobs/IJobsScheduler.java
index f4184853d..a14aa93e0 100644
--- a/base/common/src/com/netscape/certsrv/jobs/IJobsScheduler.java
+++ b/base/common/src/com/netscape/certsrv/jobs/IJobsScheduler.java
@@ -36,7 +36,7 @@ import com.netscape.certsrv.base.ISubsystem;
* on each Tuesday (e.g. * 7 * * 2) will result in the execution of the job thread only once every 5 minutes during that
* hour. <b>The inteval value is recommended at 1 minute, setting it otherwise has the potential of forever missing the
* beat</b>. Use with caution.
- *
+ *
* @version $Revision$, $Date$
*/
public interface IJobsScheduler extends ISubsystem {
@@ -91,14 +91,14 @@ public interface IJobsScheduler extends ISubsystem {
/**
* Retrieves all the job implementations.
- *
+ *
* @return a Hashtable of available job plugin implementations
*/
public Hashtable<String, JobPlugin> getPlugins();
/**
* Retrieves all the job instances.
- *
+ *
* @return a Hashtable of job instances
*/
public Hashtable<String, IJob> getInstances();
@@ -107,7 +107,7 @@ public interface IJobsScheduler extends ISubsystem {
* Retrieves the configuration parameters of the given
* implementation. It is used to return to the Console for
* configuration
- *
+ *
* @param implName the pulubin implementation name
* @return a String array of required configuration parameters of
* the given implementation.
@@ -120,7 +120,7 @@ public interface IJobsScheduler extends ISubsystem {
/**
* Writes a message to the system log.
- *
+ *
* @param level an integer representing the log message level.
* Depending on the configuration set by the administrator, this
* value is a determining factor for whether this message will be
@@ -134,7 +134,7 @@ public interface IJobsScheduler extends ISubsystem {
/**
* Sets daemon's wakeup interval.
- *
+ *
* @param minutes time in minutes that is to be the frequency of
* JobsScheduler wakeup call.
*/
@@ -151,7 +151,7 @@ public interface IJobsScheduler extends ISubsystem {
* specifies the rule of frequency that this job should be
* executed (e.g. every Sunday at midnight). This method is
* called by each job at initialization time.
- *
+ *
* @param cs the string that represents the cron. See IJobCron
* for detail of the format.
* @return IJobCron an IJobCron
diff --git a/base/common/src/com/netscape/certsrv/jobs/JobPlugin.java b/base/common/src/com/netscape/certsrv/jobs/JobPlugin.java
index 46a1b6d7e..bb64f1565 100644
--- a/base/common/src/com/netscape/certsrv/jobs/JobPlugin.java
+++ b/base/common/src/com/netscape/certsrv/jobs/JobPlugin.java
@@ -22,7 +22,7 @@ package com.netscape.certsrv.jobs;
* JobScheduler. A Job plugin can be instantiated into a Job instance
* and scheduled by the JobScheduler to run at a scheduled interval
* <P>
- *
+ *
* @version $Revision$, $Date$
*/
public class JobPlugin {
@@ -43,7 +43,7 @@ public class JobPlugin {
/**
* Constructor for a Job plugin.
- *
+ *
* @param id job plugin name
* @param classPath the Java class name of this job plugin
*/
@@ -54,7 +54,7 @@ public class JobPlugin {
/**
* get the job plugin name
- *
+ *
* @return the name of this job plugin
*/
public String getId() {
@@ -63,7 +63,7 @@ public class JobPlugin {
/**
* get the Java class name
- *
+ *
* @return the Java class name of this plugin
*/
public String getClassPath() {
diff --git a/base/common/src/com/netscape/certsrv/jobs/JobsResources.java b/base/common/src/com/netscape/certsrv/jobs/JobsResources.java
index ec33137cf..959621d3b 100644
--- a/base/common/src/com/netscape/certsrv/jobs/JobsResources.java
+++ b/base/common/src/com/netscape/certsrv/jobs/JobsResources.java
@@ -22,7 +22,7 @@ import java.util.ListResourceBundle;
/**
* A class represents a resource bundle for the
* Jobs package
- *
+ *
* @version $Revision$, $Date$
*/
public class JobsResources extends ListResourceBundle {