View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.syncope.common.lib.to;
20  
21  import java.time.OffsetDateTime;
22  import org.apache.syncope.common.lib.BaseBean;
23  import org.apache.syncope.common.lib.types.JobType;
24  
25  public class JobTO implements BaseBean {
26  
27      private static final long serialVersionUID = -7254450981751326711L;
28  
29      private JobType type;
30  
31      private String refKey;
32  
33      private String refDesc;
34  
35      private boolean running;
36  
37      private boolean scheduled;
38  
39      private OffsetDateTime start;
40  
41      private String status;
42  
43      public JobType getType() {
44          return type;
45      }
46  
47      public void setType(final JobType type) {
48          this.type = type;
49      }
50  
51      public String getRefKey() {
52          return refKey;
53      }
54  
55      public void setRefKey(final String refKey) {
56          this.refKey = refKey;
57      }
58  
59      public String getRefDesc() {
60          return refDesc;
61      }
62  
63      public void setRefDesc(final String refDesc) {
64          this.refDesc = refDesc;
65      }
66  
67      public boolean isRunning() {
68          return running;
69      }
70  
71      public void setRunning(final boolean running) {
72          this.running = running;
73      }
74  
75      public boolean isScheduled() {
76          return scheduled;
77      }
78  
79      public void setScheduled(final boolean scheduled) {
80          this.scheduled = scheduled;
81      }
82  
83      public OffsetDateTime getStart() {
84          return start;
85      }
86  
87      public void setStart(final OffsetDateTime start) {
88          this.start = start;
89      }
90  
91      public String getStatus() {
92          return status;
93      }
94  
95      public void setStatus(final String status) {
96          this.status = status;
97      }
98  }