Debian Codegraph @

src/main/java/net/sf/antcontrib/process/ForgetTask.java

raw symbols SCIP
1 /*
2 * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved.
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, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package net.sf.antcontrib.process;
17
18 import org.apache.tools.ant.taskdefs.Sequential;
19
20
21 /****************************************************************************
22 * Place class description here.
23 *
24 * @author <a href='mailto:[email protected]'>Matthew Inger</a>
25 * @author <additional author>
26 *
27 * @since
28 *
29 ****************************************************************************/
30
31
32 public class ForgetTask
33 extends Sequential
34 implements Runnable
35 {
36 private boolean daemon = true;
37
38 public ForgetTask()
39 {
40 super();
41 }
42
43
44 public void setDaemon(boolean daemon)
45 {
46 this.daemon = daemon;
47 }
48
49
50 public void execute()
51 {
52 Thread t = new Thread(this);
53 t.setDaemon(daemon);
54 t.start();
55 }
56
57 public void run()
58 {
59 super.execute();
60 }
61
62 }