Modifier and Type | Field and Description |
---|---|
static int |
TYPE_FILE |
static int |
TYPE_FTP |
static int |
TYPE_NETFLOW |
static int |
TYPE_SFLOW |
static int |
TYPE_SNMP |
Constructor and Description |
---|
Source() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkSourceType(int type) |
java.lang.String |
getComment() |
java.lang.String |
getConfig() |
java.util.Calendar |
getDate1() |
java.util.Calendar |
getDate2() |
java.lang.String |
getHostOrDir() |
int |
getMid() |
java.lang.String |
getPswd() |
int |
getType() |
java.lang.String |
getUser() |
static int |
nameToType(java.lang.String type) |
void |
setComment(java.lang.String comment) |
void |
setConfig(java.lang.String config) |
void |
setDate1(java.util.Calendar date1) |
void |
setDate2(java.util.Calendar date2) |
void |
setHostOrDir(java.lang.String hostOrDir) |
void |
setMid(int mid) |
void |
setPswd(java.lang.String pswd) |
void |
setType(int type) |
void |
setUser(java.lang.String user) |
static java.lang.String |
typeToName(int type) |
equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId
public static final int TYPE_FTP
public static final int TYPE_FILE
public static final int TYPE_NETFLOW
public static final int TYPE_SFLOW
public static final int TYPE_SNMP
public static final java.lang.String typeToName(int type)
public static final int nameToType(java.lang.String type)
public static final boolean checkSourceType(int type)
public java.lang.String getConfig()
public void setConfig(java.lang.String config)
public java.lang.String getComment()
public void setComment(java.lang.String comment)
public java.util.Calendar getDate1()
public void setDate1(java.util.Calendar date1)
public java.util.Calendar getDate2()
public void setDate2(java.util.Calendar date2)
public java.lang.String getHostOrDir()
public void setHostOrDir(java.lang.String hostOrDir)
public int getMid()
public void setMid(int mid)
public java.lang.String getPswd()
public void setPswd(java.lang.String pswd)
public int getType()
public void setType(int type)
public java.lang.String getUser()
public void setUser(java.lang.String user)