View Javadoc
1   /*
2    * Copyright 2012-2021 CodeLibs Project and the Others.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
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,
13   * either express or implied. See the License for the specific language
14   * governing permissions and limitations under the License.
15   */
16  package org.codelibs.fess.app.web.admin.joblog;
17  
18  import org.lastaflute.web.validation.Required;
19  import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
20  
21  /**
22   * @author codelibs
23   * @author Shunji Makino
24   */
25  public class EditForm {
26  
27      @ValidateTypeFailure
28      public int crudMode;
29  
30      @Required
31      @ValidateTypeFailure
32      public String id;
33  
34      @Required
35      public String jobName;
36  
37      @Required
38      public String jobStatus;
39  
40      @Required
41      public String target;
42  
43      @Required
44      public String scriptType;
45  
46      public String scriptData;
47  
48      public String scriptResult;
49  
50      @Required
51      public String startTime;
52  
53      public String endTime;
54  
55      public void initialize() {
56          id = null;
57          jobName = null;
58          jobStatus = null;
59          target = null;
60          scriptType = null;
61          scriptData = null;
62          scriptResult = null;
63          startTime = null;
64          endTime = null;
65      }
66  }