001: /*
002: * The contents of this file are subject to the terms of the Common Development
003: * and Distribution License (the License). You may not use this file except in
004: * compliance with the License.
005: *
006: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
007: * or http://www.netbeans.org/cddl.txt.
008: *
009: * When distributing Covered Code, include this CDDL Header Notice in each file
010: * and include the License file at http://www.netbeans.org/cddl.txt.
011: * If applicable, add the following below the CDDL Header, with the fields
012: * enclosed by brackets [] replaced by your own identifying information:
013: * "Portions Copyrighted [year] [name of copyright owner]"
014: *
015: * The Original Software is NetBeans. The Initial Developer of the Original
016: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
017: * Microsystems, Inc. All Rights Reserved.
018: */
019:
020: package org.netbeans.modules.wsdlextensions.ftp;
021:
022: /**
023: * @author jim.fu@sun.com
024: */
025: public interface FTPTransfer extends FTPComponentEncodable {
026: public static final String FTP_POLLINTERVAL_PROPERTY = "pollIntervalMillis";
027: public static final String FTP_SENDTO_PROPERTY = "sendTo";
028: public static final String FTP_SENDTO_HAS_PATTS_PROPERTY = "sendToHasPatterns";
029: public static final String FTP_APPEND_PROPERTY = "append";
030: public static final String FTP_RECEIVEFROM_PROPERTY = "receiveFrom";
031: public static final String FTP_RECEIVEFROM_HAS_PATTS_PROPERTY = "receiveFromHasRegexs";
032: public static final String FTP_PRE_SEND_CMD_PROPERTY = "preSendCommand";
033: public static final String FTP_PRE_SEND_LOC_PROPERTY = "preSendLocation";
034: public static final String FTP_PRE_SEND_LOC_HAS_PATTS_PROPERTY = "preSendLocationHasPatterns";
035: public static final String FTP_PRE_RECEIVE_CMD_PROPERTY = "preReceiveCommand";
036: public static final String FTP_PRE_RECEIVE_LOC_PROPERTY = "preReceiveLocation";
037: public static final String FTP_PRE_RECEIVE_LOC_HAS_PATTS_PROPERTY = "preReceiveLocationHasPatterns";
038: public static final String FTP_POST_SEND_CMD_PROPERTY = "postSendCommand";
039: public static final String FTP_POST_SEND_LOC_PROPERTY = "postSendLocation";
040: public static final String FTP_POST_SEND_LOC_HAS_PATTS_PROPERTY = "postSendLocationHasPatterns";
041: public static final String FTP_POST_RECEIVE_CMD_PROPERTY = "postReceiveCommand";
042: public static final String FTP_POST_RECEIVE_LOC_PROPERTY = "postReceiveLocation";
043: public static final String FTP_POST_RECEIVE_LOC_HAS_PATTS_PROPERTY = "postReceiveLocationHasPatterns";
044: public static final String FTP_SENDER_USEPROXY_PROPERTY = "senderUseProxy";
045: public static final String FTP_SENDER_PROXY_PROPERTY = "senderProxy";
046: public static final String FTP_SENDER_USEPASSIVE_PROPERTY = "senderUsePassive";
047: public static final String FTP_RECEIVER_USEPROXY_PROPERTY = "receiverUseProxy";
048: public static final String FTP_RECEIVER_PROXY_PROPERTY = "receiverProxy";
049: public static final String FTP_RECEIVER_USEPASSIVE_PROPERTY = "receiverUsePassive";
050: public static final String FTP_MSG_CORRELATE_PROPERTY = "messageCorrelate";
051:
052: public String getPollInterval();
053:
054: public void setPollInterval(String s);
055:
056: public String getSendTo();
057:
058: public void setSendTo(String s);
059:
060: public boolean getSendToHasPatterns();
061:
062: public void setSendToHasPatterns(boolean b);
063:
064: public boolean getAppend();
065:
066: public void setAppend(boolean b);
067:
068: public String getReceiveFrom();
069:
070: public void setReceiveFrom(String file);
071:
072: public boolean getReceiveFromHasPatterns();
073:
074: public void setReceiveFromHasPatterns(boolean b);
075:
076: public String getPreSendCommand();
077:
078: public void setPreSendCommand(String s);
079:
080: public String getPreSendLocation();
081:
082: public void setPreSendLocation(String s);
083:
084: public boolean getPreSendLocationHasPatterns();
085:
086: public void setPreSendLocationHasPatterns(boolean b);
087:
088: public String getPreReceiveCommand();
089:
090: public void setPreReceiveCommand(String s);
091:
092: public String getPreReceiveLocation();
093:
094: public void setPreReceiveLocation(String s);
095:
096: public boolean getPreReceiveLocationHasPatterns();
097:
098: public void setPreReceiveLocationHasPatterns(boolean b);
099:
100: public String getPostSendCommand();
101:
102: public void setPostSendCommand(String s);
103:
104: public String getPostSendLocation();
105:
106: public void setPostSendLocation(String s);
107:
108: public boolean getPostSendLocationHasPatterns();
109:
110: public void setPostSendLocationHasPatterns(boolean b);
111:
112: public String getPostReceiveCommand();
113:
114: public void setPostReceiveCommand(String s);
115:
116: public String getPostReceiveLocation();
117:
118: public void setPostReceiveLocation(String s);
119:
120: public boolean getPostReceiveLocationHasPatterns();
121:
122: public void setPostReceiveLocationHasPatterns(boolean b);
123:
124: public boolean getSenderUsePassive();
125:
126: public void setSenderUsePassive(boolean b);
127:
128: /* proxy config moved to MBean config of the BC
129: public boolean getSenderUseProxy();
130: public void setSenderUseProxy(boolean b);
131: public String getSenderProxyURL();
132: public void setSenderProxyURL(String s);
133: */
134: public boolean getReceiverUsePassive();
135:
136: public void setReceiverUsePassive(boolean b);
137:
138: public boolean getReceiverUseProxy();
139:
140: /* proxy config moved to MBean config of the BC
141: public void setReceiverUseProxy(boolean b);
142: public String getReceiverProxyURL();
143: public void setReceiverProxyURL(String s);
144: */
145: public boolean getMessageCorrelateEnabled();
146:
147: public void setMessageCorrelateEnabled(boolean b);
148: }
|