001/*
002 * JPPF.
003 * Copyright (C) 2005-2018 JPPF Team.
004 * http://www.jppf.org
005 *
006 * Licensed under the Apache License, Version 2.0 (the "License");
007 * you may not use this file except in compliance with the License.
008 * You may obtain a copy of the License at
009 *
010 *   http://www.apache.org/licenses/LICENSE-2.0
011 *
012 * Unless required by applicable law or agreed to in writing, software
013 * distributed under the License is distributed on an "AS IS" BASIS,
014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015 * See the License for the specific language governing permissions and
016 * limitations under the License.
017 */
018
019package org.jppf.client.monitoring.jobs;
020
021/**
022 * A convenience class for subclasses that wish to subscribe to job monitoring events
023 * without having to implement all the methods of the {@link JobMonitoringListener} interface.
024 * This class provides an empty implementation for all the methods of the interface.
025 * @author Laurent Cohen
026 * @since 5.1
027 */
028public class JobMonitoringListenerAdapter implements JobMonitoringListener {
029  @Override
030  public void driverAdded(final JobMonitoringEvent event) {
031  }
032
033  @Override
034  public void driverRemoved(final JobMonitoringEvent event) {
035  }
036
037  @Override
038  public void jobAdded(final JobMonitoringEvent event) {
039  }
040
041  @Override
042  public void jobRemoved(final JobMonitoringEvent event) {
043  }
044
045  @Override
046  public void jobUpdated(final JobMonitoringEvent event) {
047  }
048
049  @Override
050  public void jobDispatchAdded(final JobMonitoringEvent event) {
051  }
052
053  @Override
054  public void jobDispatchRemoved(final JobMonitoringEvent event) {
055  }
056}