01: /*
02: * Copyright 2004 Outerthought bvba and Schaubroeck nv
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.outerj.daisy.books.publisher;
17:
18: public class PublishTaskInfo {
19: private final String taskId;
20: private final String bookInstanceName;
21: private final long startingUserId;
22: private final String startingUser;
23: private final String state[];
24: private final String started;
25:
26: public PublishTaskInfo(String taskId, String bookInstanceName,
27: long startingUserId, String startingUser, String[] state,
28: String started) {
29: this .taskId = taskId;
30: this .bookInstanceName = bookInstanceName;
31: this .startingUserId = startingUserId;
32: this .startingUser = startingUser;
33: this .state = state;
34: this .started = started;
35: }
36:
37: public String getTaskId() {
38: return taskId;
39: }
40:
41: public String getBookInstanceName() {
42: return bookInstanceName;
43: }
44:
45: public long getStartingUserId() {
46: return startingUserId;
47: }
48:
49: public String getStartingUser() {
50: return startingUser;
51: }
52:
53: public String[] getState() {
54: return state;
55: }
56:
57: public String getStarted() {
58: return started;
59: }
60: }
|