|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JobEntryInterface
Interface for the different JobEntry classes.
Method Summary | |
---|---|
void |
check(List<CheckResultInterface> remarks,
JobMeta jobMeta)
Allows JobEntry objects to check themselves for consistency |
void |
clear()
|
Object |
clone()
|
boolean |
evaluates()
|
Result |
execute(Result prev_result,
int nr)
|
String |
exportResources(VariableSpace space,
Map<String,ResourceDefinition> definitions,
ResourceNamingInterface namingInterface,
Repository repository)
Exports the object to a flat-file system, adding content with filename keys to a set of definitions. |
String |
getDescription()
|
String |
getDialogClassName()
Get the name of the class that implements the dialog for this job entry JobEntryBase provides a default |
String |
getFilename()
|
LogChannelInterface |
getLogChannel()
|
String |
getName()
|
ObjectId |
getObjectId()
|
Job |
getParentJob()
|
String |
getPluginId()
|
String |
getRealFilename()
|
List<ResourceReference> |
getResourceDependencies(JobMeta jobMeta)
Get a list of all the resource dependencies that the step is depending on. |
List<SQLStatement> |
getSQLStatements(Repository repository)
|
List<SQLStatement> |
getSQLStatements(Repository repository,
VariableSpace space)
|
String |
getTypeId()
Deprecated. in favor of getPluginId() |
DatabaseMeta[] |
getUsedDatabaseConnections()
This method returns all the database connections that are used by the job entry. |
String |
getXML()
|
boolean |
hasChanged()
|
boolean |
hasRepositoryReferences()
|
boolean |
isDummy()
|
boolean |
isEvaluation()
|
boolean |
isJob()
|
boolean |
isMail()
|
boolean |
isShell()
|
boolean |
isSpecial()
|
boolean |
isStart()
|
boolean |
isTransformation()
|
boolean |
isUnconditional()
|
void |
loadRep(Repository rep,
ObjectId id_jobentry,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers)
|
void |
loadXML(Node entrynode,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers,
Repository rep)
|
void |
lookupRepositoryReferences(Repository repository)
Look up the references after import |
boolean |
resetErrorsBeforeExecution()
|
void |
saveRep(Repository rep,
ObjectId id_job)
|
void |
setChanged()
|
void |
setChanged(boolean ch)
|
void |
setDescription(String description)
|
void |
setName(String name)
|
void |
setObjectId(ObjectId id)
|
void |
setParentJob(Job job)
|
void |
setPluginId(String pluginId)
|
void |
setRepository(Repository repository)
|
Method Detail |
---|
Result execute(Result prev_result, int nr) throws KettleException
KettleException
void setParentJob(Job job)
Job getParentJob()
LogChannelInterface getLogChannel()
void setRepository(Repository repository)
void clear()
ObjectId getObjectId()
void setObjectId(ObjectId id)
String getName()
void setName(String name)
String getTypeId()
String getPluginId()
void setPluginId(String pluginId)
String getDescription()
void setDescription(String description)
void setChanged()
void setChanged(boolean ch)
boolean hasChanged()
void loadXML(Node entrynode, List<DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep) throws KettleXMLException
KettleXMLException
String getXML()
void saveRep(Repository rep, ObjectId id_job) throws KettleException
KettleException
void loadRep(Repository rep, ObjectId id_jobentry, List<DatabaseMeta> databases, List<SlaveServer> slaveServers) throws KettleException
KettleException
boolean isStart()
boolean isDummy()
Object clone()
boolean resetErrorsBeforeExecution()
boolean evaluates()
boolean isUnconditional()
boolean isEvaluation()
boolean isTransformation()
boolean isJob()
boolean isShell()
boolean isMail()
boolean isSpecial()
List<SQLStatement> getSQLStatements(Repository repository) throws KettleException
KettleException
List<SQLStatement> getSQLStatements(Repository repository, VariableSpace space) throws KettleException
KettleException
String getDialogClassName()
String getFilename()
String getRealFilename()
DatabaseMeta[] getUsedDatabaseConnections()
void check(List<CheckResultInterface> remarks, JobMeta jobMeta)
remarks
- List of CheckResult objects indicating check statusjobMeta
- JobMetaList<ResourceReference> getResourceDependencies(JobMeta jobMeta)
String exportResources(VariableSpace space, Map<String,ResourceDefinition> definitions, ResourceNamingInterface namingInterface, Repository repository) throws KettleException
space
- The variable space to resolve (environment) variables with.definitions
- The map containing the filenames and contentnamingInterface
- The resource naming interface allows the object to name appropriatelyrepository
- The repository to load resources from
KettleException
- in case something goes wrong during the exportboolean hasRepositoryReferences()
void lookupRepositoryReferences(Repository repository) throws KettleException
repository
- the repository to reference.
KettleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |