|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.job.entry.JobEntryBase org.pentaho.di.job.entries.snmptrap.JobEntrySNMPTrap
public class JobEntrySNMPTrap
This defines an SNMPTrap job entry.
Field Summary | |
---|---|
static int |
DEFAULT_PORT
Default port |
static String[] |
target_type_Code
|
static String[] |
target_type_Desc
|
Constructor Summary | |
---|---|
JobEntrySNMPTrap()
|
|
JobEntrySNMPTrap(String n)
|
Method Summary | |
---|---|
Object |
clone()
This method is called when a job entry is duplicated in Spoon. |
boolean |
evaluates()
This method must return true if the job entry supports the true/false outgoing hops. |
Result |
execute(Result previousResult,
int nr)
Execute the job entry. |
String |
getComString()
|
String |
getEngineID()
|
String |
getMessage()
|
String |
getOID()
|
String |
getPassPhrase()
|
String |
getPort()
|
String |
getRetry()
|
String |
getServerName()
|
String |
getTargetType()
|
String |
getTargetTypeCode(String tt)
|
String |
getTargetTypeDesc(String tt)
|
String |
getTimeout()
|
String |
getUser()
|
String |
getXML()
This method is called by PDI whenever a job entry needs to serialize its settings to XML. |
void |
loadRep(Repository rep,
ObjectId id_jobentry,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers)
This method is called by PDI whenever a job entry needs to read its configuration from a PDI repository. |
void |
loadXML(Node entrynode,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers,
Repository rep)
This method is called by PDI whenever a job entry needs to read its settings from XML. |
void |
saveRep(Repository rep,
ObjectId id_job)
This method is called by PDI whenever a job entry needs to save its settings to a PDI repository. |
void |
setComString(String comString)
|
void |
setEngineID(String engineid)
|
void |
setMessage(String message)
|
void |
setOID(String oid)
|
void |
setPassPhrase(String passphrase)
|
void |
setPort(String port)
|
void |
setRetry(String nrretry)
|
void |
setServerName(String serverName)
|
void |
setTargetType(String targettypein)
|
void |
setTimeout(String timeout)
|
void |
setUser(String user)
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.pentaho.di.job.entry.JobEntryInterface |
---|
check, clear, exportResources, getDescription, getDialogClassName, getFilename, getLogChannel, getName, getObjectId, getParentJob, getPluginId, getRealFilename, getResourceDependencies, getSQLStatements, getSQLStatements, getTypeId, getUsedDatabaseConnections, hasChanged, hasRepositoryReferences, isDummy, isEvaluation, isJob, isMail, isShell, isSpecial, isStart, isTransformation, isUnconditional, lookupRepositoryReferences, resetErrorsBeforeExecution, setChanged, setChanged, setDescription, setName, setObjectId, setParentJob, setPluginId, setRepository |
Field Detail |
---|
public static int DEFAULT_PORT
public static final String[] target_type_Desc
public static final String[] target_type_Code
Constructor Detail |
---|
public JobEntrySNMPTrap(String n)
public JobEntrySNMPTrap()
Method Detail |
---|
public Object clone()
JobEntryBase
clone
in interface JobEntryInterface
clone
in class JobEntryBase
public String getTargetTypeDesc(String tt)
public String getTargetTypeCode(String tt)
public String getXML()
JobEntryBase
getXML
in interface JobEntryInterface
getXML
in class JobEntryBase
public void loadXML(Node entrynode, List<DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep) throws KettleXMLException
JobEntryInterface
loadXML
in interface JobEntryInterface
entrynode
- the top-level XML nodedatabases
- the list of databasesslaveServers
- the list of slave serversrep
- the repository object
KettleXMLException
- if any errors occur during the loading of the XMLpublic void loadRep(Repository rep, ObjectId id_jobentry, List<DatabaseMeta> databases, List<SlaveServer> slaveServers) throws KettleException
JobEntryBase
loadRep
in interface JobEntryInterface
loadRep
in class JobEntryBase
rep
- the repository objectid_jobentry
- the id of the job entrydatabases
- the list of databasesslaveServers
- the list of slave servers
KettleException
- if any errors occur during the loadpublic void saveRep(Repository rep, ObjectId id_job) throws KettleException
JobEntryBase
saveRep
in interface JobEntryInterface
saveRep
in class JobEntryBase
rep
- the repository objectid_job
- the id_job
KettleException
- if any errors occur during the savepublic String getServerName()
public void setServerName(String serverName)
serverName
- The serverName to set.public String getOID()
public void setOID(String oid)
serverName
- The oid to set.public String getComString()
public void setComString(String comString)
comString
- The comString to set.public void setUser(String user)
user
- The user to set.public String getUser()
public void setPassPhrase(String passphrase)
user
- The passphrase to set.public String getPassPhrase()
public void setEngineID(String engineid)
user
- The engineid to set.public String getEngineID()
public String getTargetType()
public void setTargetType(String targettypein)
public void setMessage(String message)
message
- The message to set.public String getMessage()
public String getPort()
public void setPort(String port)
port
- The port to set.public void setTimeout(String timeout)
timeout
- The timeout to set.public String getTimeout()
public void setRetry(String nrretry)
nrretry
- The nrretry to set.public String getRetry()
public Result execute(Result previousResult, int nr)
JobEntryInterface
execute
in interface JobEntryInterface
previousResult
- the previous resultnr
- the number of rows
public boolean evaluates()
JobEntryBase
evaluates
in interface JobEntryInterface
evaluates
in class JobEntryBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |