/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements. See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership. The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package org.apache.deltaspike.scheduler.api;

public interface SchedulerControl
{
    boolean isSchedulerEnabled();

    boolean shouldJobBeStarted(Class<?> jobClass);
}

@@ -845,78 +845,1148 @@
 i;%0A%0A
-public interface SchedulerControl%0A%7B%0A    boolean isSchedulerEnabled();%0A
+/**%0A * This interface provides high-level controls for the scheduler.%0A *%0A * It allows to control the scheduler as a whole (%7B@link #isSchedulerEnabled()%7D()) and on a per-job basis%0A * (%7B@link #shouldJobBeStarted(Class)%7D.%0A *%0A * The interface is meant to be implemented by injectable beans. The default implementation (DefaultSchedulerControl in%0A * deltaspike-scheduler-impl) always returns %7B@code true%7D on both functions. It can be replaced by providing a bean,%0A * which @%7B@link javax.enterprise.inject.Specializes%7D it, or by any other CID mechanism.%0A */%0Apublic interface SchedulerControl%0A%7B%0A    /**%0A     * Control whether or not the scheduler should be started.%0A     *%0A     * @return if %7B@code true%7D the scheduler will be started, else not.%0A     */%0A    boolean isSchedulerEnabled();%0A%0A    /**%0A     * Invoked each time a job is triggered, this sontrols whether the given job shall be started or not.%0A     *%0A     * NOTE: This only applies if the scheduler is actually running (see %7B@link #isSchedulerEnabled()%7D).%0A     *%0A     *  @param jobClass the job which was triggered%0A     * @return if %7B@code true%7D the job will be executed, else not.%0A     */
 %0A   

Add JavaDoc to SchedulerControl.