|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wli.management.configuration.FileEventGenChannelConfiguration
public class FileEventGenChannelConfiguration
Represents a channel rule for a File Event Generator.
Rule Fields:
Other fields:
Field Summary | |
---|---|
static String |
_CHANNELTYPE_RAWDATA
|
static String |
_CHANNELTYPE_STRING
|
static String |
_CHANNELTYPE_XML
|
static String |
_DEFAULT_CHANNELTYPE
|
static String |
_DEFAULT_FILE_MASK
|
static int |
_DEFAULT_POLLING_INTERVAL
|
static String |
_POSTREAD_ARCHIVE
|
static String |
_POSTREAD_DELETE
|
Constructor Summary | |
---|---|
FileEventGenChannelConfiguration()
|
Method Summary | |
---|---|
String |
getArchiveDirectory()
Get the archive-directory attribute |
String |
getChannel()
Get the name of the channel |
String |
getChannelType()
Get the is-xml attribute |
String |
getComment()
Get the comment attribute |
String |
getEncoding()
Get the encoding attribute |
String |
getErrorDirectory()
Get the error-directory attribute |
String |
getFileDirectory()
Get the fileDirectory Attribute |
String |
getFilePattern()
Get the file-pattern attribute |
String |
getFtpHostName()
Get the ftp-host-name attribute |
String |
getFtpLocalDirectory()
Get the ftp-local-directory attribute |
String |
getFtpPassword()
Get the ftp-user-password attribute |
String |
getFtpPasswordAlias()
Get the ftp-user-password-alias attribute |
String |
getFtpUserName()
Get the ftp-user-name attribute |
boolean |
getPassByFileName()
Get the pass-by-filename attribute |
int |
getPollingInterval()
Get the polling-interval attribute |
String |
getPostRead()
Get the post-read attribute |
String |
getPublishAsUser()
Get the publishAsUser attribute |
int |
getReadLimit()
Get the read-limit attribute |
boolean |
getScanSubdirs()
Get the scan-subdirectories attribute |
boolean |
getSortByArrival()
Get the sort-by-arrival attribute |
void |
setArchiveDirectory(String archiveDirectory)
Set the archiveDirectory attribute |
void |
setChannel(String channel)
Set the channel attribute |
void |
setChannelType(String channelType)
Set the isXML attribute |
void |
setComment(String comment)
Set the comment attribute |
void |
setEncoding(String encoding)
Set the encoding attribute |
void |
setErrorDirectory(String errorDirectory)
Set the errorDirectory attribute |
void |
setFileDirectory(String fileDirectory)
Set the fileDirectory attribute |
void |
setFilePattern(String filePattern)
Set the filePattern attribute |
void |
setFtpHostName(String ftpHostName)
Set the ftp-host-name attribute |
void |
setFtpLocalDirectory(String ftpLocalDirectory)
Set the ftp-local-directory attribute |
void |
setFtpPassword(String ftpPassword)
|
void |
setFtpPasswordAlias(String ftpPasswordAlias)
|
void |
setFtpUserName(String ftpUserName)
Set the ftp-user-name attribute |
void |
setPassByFileName(boolean passByFileName)
Set the passByFileName attribute |
void |
setPollingInterval(int pollingInterval)
Set the pollingInterval attribute |
void |
setPostRead(String postRead)
Set the postRead attribute |
void |
setPublishAsUser(String publishAsUser)
Set the publishAsUser attribute |
void |
setReadLimit(int readLimit)
Set the readLimit attribute |
void |
setScanSubdirs(boolean scanSubdirs)
Set the setScanSubdirs attribute |
void |
setSortByArrival(boolean sortByArrival)
Set the sortByArrival attribute |
String |
toString()
Returns a string representation of this channel |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String _POSTREAD_ARCHIVE
public static final String _POSTREAD_DELETE
public static final String _CHANNELTYPE_XML
public static final String _CHANNELTYPE_STRING
public static final String _CHANNELTYPE_RAWDATA
public static final String _DEFAULT_FILE_MASK
public static final int _DEFAULT_POLLING_INTERVAL
public static final String _DEFAULT_CHANNELTYPE
Constructor Detail |
---|
public FileEventGenChannelConfiguration()
Method Detail |
---|
public String toString()
public String getChannel()
public String getFileDirectory()
public boolean getScanSubdirs()
public String getFilePattern()
public String getChannelType()
public int getPollingInterval()
public boolean getSortByArrival()
public boolean getPassByFileName()
public int getReadLimit()
public String getErrorDirectory()
public String getArchiveDirectory()
public String getPostRead()
public String getComment()
public String getFtpHostName()
public String getFtpUserName()
public String getFtpPassword()
public String getFtpPasswordAlias()
public String getFtpLocalDirectory()
public String getEncoding()
public String getPublishAsUser()
public void setChannel(String channel)
channel
- the channel for the event generatorpublic void setFileDirectory(String fileDirectory)
fileDirectory
- the directory to be processed by the event generatorpublic void setScanSubdirs(boolean scanSubdirs)
scanSubdirs
- indicates whether to scan subdirectories or not.public void setFilePattern(String filePattern)
filePattern
- the file pattern to be used to select files.public void setChannelType(String channelType)
isXML
- indicates whether the file type is XML or not.public void setPollingInterval(int pollingInterval)
pollingInterval
- indicates how often the directory to be scanned (in seconds).public void setSortByArrival(boolean sortByArrival)
sortByArrival
- indicates whether to process files in the arrival time order.public void setPassByFileName(boolean passByFileName)
passByFileName
- indicates whether to publish the file name as opposed to the file content.public void setReadLimit(int readLimit)
readLimit
- indicates the number of files to be processed per scan.public void setErrorDirectory(String errorDirectory)
errorDirectory
- specified the directory to be used for files in error.public void setArchiveDirectory(String archiveDirectory)
archiveDirectory
- specified the directory to be used for archiving files.public void setPostRead(String postRead)
postRead
- specifies whether to delete or archive files after they are processed.public void setComment(String comment)
comment
- is a user comment.public void setFtpHostName(String ftpHostName)
ftp-host-name
- name of the ftp hostpublic void setFtpUserName(String ftpUserName)
ftp-user-name
- name of the ftp userpublic void setFtpPassword(String ftpPassword)
public void setFtpPasswordAlias(String ftpPasswordAlias)
public void setFtpLocalDirectory(String ftpLocalDirectory)
ftp-local-directory
- local directory name to be used for ftp use.public void setEncoding(String encoding)
endcoding
- character set encoding needed for String types.public void setPublishAsUser(String publishAsUser)
publishAsUser
- property to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |