KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > savant > ant > types > InternetProcessType


1 /*
2  * Copyright (c) 2003-2004, Inversoft, All Rights Reserved
3  */

4 package com.inversoft.savant.ant.types;
5
6
7 import java.io.File JavaDoc;
8
9 import org.apache.tools.ant.types.DataType;
10
11 import com.inversoft.savant.InternetProcess;
12 import com.inversoft.savant.Process;
13
14
15 /**
16  * <p>
17  * This is an abstract base class for all internet process
18  * types.
19  * </p>
20  *
21  * @author Brian Pontarelli
22  */

23 public abstract class InternetProcessType extends DataType implements ProcessType {
24
25     protected InternetProcess proxy;
26     
27
28     public String JavaDoc getDefaultdomain() {
29         return proxy.getDefaultdomain();
30     }
31
32     public void setDefaultdomain(String JavaDoc defaultDomain) {
33         proxy.setDefaultdomain(defaultDomain);
34     }
35
36     public String JavaDoc getUrl() {
37         return proxy.getDefaultdomain();
38     }
39
40     public void setUrl(String JavaDoc defaultDomain) {
41         proxy.setDefaultdomain(defaultDomain);
42     }
43
44     public File JavaDoc getMapping() {
45         return proxy.getMapping();
46     }
47
48     public void setMapping(File JavaDoc mapping) {
49         proxy.setMapping(mapping);
50     }
51
52     public boolean isFailonmd5() {
53         return proxy.isFailonmd5();
54     }
55
56     public void setFailonmd5(boolean failonmd5) {
57         proxy.setFailonmd5(failonmd5);
58     }
59
60     public Process JavaDoc getProxy() {
61         return proxy;
62     }
63 }
Popular Tags