001 /*
002 * Copyright (c) 2009 The openGion Project.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
013 * either express or implied. See the License for the specific language
014 * governing permissions and limitations under the License.
015 */
016 package org.opengion.hayabusa.report2;
017
018 /**
019 * 帳票処??キューの処?法を定義するインターフェースです?
020 *
021 * 帳票処??オブジェクトから?こ?インターフェースを?じて、キューの生?方法及び終?
022 * を操作することで、各振る??こ?インターフェースの実?ラスで定義することが可能になります?
023 *
024 * @og.group 帳票シス?
025 *
026 * @version 4.0
027 * @author Hiroki.Nakamura
028 * @since JDK1.6
029 */
030 public interface QueueManager {
031
032 /**
033 * キューを作?します?
034 * 作?したキューはOOoExecThread#stackQueueによりスタ?して下さ??
035 */
036 public void create();
037
038 /**
039 * キューに帳票??タをセ?します?
040 *
041 * @param queue ExecQueueオブジェク?
042 */
043 public void set( final ExecQueue queue );
044
045 /**
046 * キューを実行中の状態に更新します?
047 *
048 * @param queue ExecQueueオブジェク?
049 */
050 public void execute( final ExecQueue queue );
051
052 /**
053 * キューを完??状態に更新します?
054 *
055 * @param queue ExecQueueオブジェク?
056 */
057 public void complete( final ExecQueue queue );
058
059 /**
060 * キューをエラーの状態に更新します?
061 *
062 * @param queue ExecQueueオブジェク?
063 */
064 public void error( final ExecQueue queue );
065 }