|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.di.job.entry.JobEntryBase
public class JobEntryBase
Base class for the different types of job-entries...
Constructor Summary | |
---|---|
JobEntryBase()
|
|
JobEntryBase(String name,
String description)
|
Method Summary | |
---|---|
void |
check(List<org.pentaho.di.core.CheckResultInterface> remarks,
JobMeta jobMeta)
Support for overrides not having to put in a check method |
void |
clear()
|
Object |
clone()
|
void |
copyVariablesFrom(org.pentaho.di.core.variables.VariableSpace space)
|
String |
environmentSubstitute(String aString)
|
String[] |
environmentSubstitute(String[] aString)
|
boolean |
equals(Object obj)
|
boolean |
evaluates()
check whether or not this job entry evaluates. |
String |
exportResources(org.pentaho.di.core.variables.VariableSpace space,
Map<String,ResourceDefinition> definitions,
ResourceNamingInterface namingInterface,
Repository repository)
|
boolean |
getBooleanValueOfVariable(String variableName,
boolean defaultValue)
|
String |
getContainerObjectId()
|
String |
getDescription()
|
String |
getDialogClassName()
This returns the expected name for the dialog that edits a job entry. |
String |
getFilename()
|
String |
getHolderType()
Gets the high-level type of resource holder. |
org.pentaho.di.core.logging.LogChannelInterface |
getLogChannel()
|
String |
getLogChannelId()
|
org.pentaho.di.core.logging.LogLevel |
getLogLevel()
|
String |
getName()
|
String |
getObjectCopy()
|
org.pentaho.di.repository.ObjectId |
getObjectId()
|
String |
getObjectName()
|
org.pentaho.di.repository.ObjectRevision |
getObjectRevision()
|
org.pentaho.di.core.logging.LoggingObjectType |
getObjectType()
|
org.pentaho.di.core.logging.LoggingObjectInterface |
getParent()
|
Job |
getParentJob()
|
org.pentaho.di.core.variables.VariableSpace |
getParentVariableSpace()
|
String |
getPluginId()
|
String |
getRealFilename()
|
Date |
getRegistrationDate()
Stub |
Repository |
getRepository()
|
org.pentaho.di.repository.RepositoryDirectory |
getRepositoryDirectory()
|
List<ResourceReference> |
getResourceDependencies(JobMeta jobMeta)
Get a list of all the resource dependencies that the step is depending on. |
List<org.pentaho.di.core.SQLStatement> |
getSQLStatements(Repository repository)
|
List<org.pentaho.di.core.SQLStatement> |
getSQLStatements(Repository repository,
org.pentaho.di.core.variables.VariableSpace space)
|
String |
getTypeDesc()
|
String |
getTypeId()
Deprecated. in favor of getPluginId() |
org.pentaho.di.core.database.DatabaseMeta[] |
getUsedDatabaseConnections()
This method returns all the database connections that are used by the job entry. |
String |
getVariable(String variableName)
|
String |
getVariable(String variableName,
String defaultValue)
|
String |
getXML()
|
boolean |
hasChanged()
|
boolean |
hasRepositoryReferences()
|
void |
initializeVariablesFrom(org.pentaho.di.core.variables.VariableSpace parent)
|
void |
injectVariables(Map<String,String> prop)
|
boolean |
isBasic()
|
boolean |
isDebug()
|
boolean |
isDetailed()
|
boolean |
isDummy()
|
boolean |
isEvaluation()
|
boolean |
isFTP()
|
boolean |
isHTTP()
|
boolean |
isJob()
|
boolean |
isMail()
|
boolean |
isRowlevel()
|
boolean |
isSFTP()
|
boolean |
isShell()
|
boolean |
isSpecial()
|
boolean |
isStart()
|
boolean |
isTransformation()
|
boolean |
isUnconditional()
|
String[] |
listVariables()
|
void |
loadRep(Repository rep,
org.pentaho.di.repository.ObjectId id_jobentry,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
List<SlaveServer> slaveServers)
|
void |
loadXML(Node entrynode,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
List<SlaveServer> slaveServers)
|
void |
logBasic(String message)
|
void |
logBasic(String message,
Object... arguments)
|
void |
logDebug(String message)
|
void |
logDebug(String message,
Object... arguments)
|
void |
logDetailed(String message)
|
void |
logDetailed(String message,
Object... arguments)
|
void |
logError(String message)
|
void |
logError(String message,
Object... arguments)
|
void |
logError(String message,
Throwable e)
|
void |
logMinimal(String message)
|
void |
logMinimal(String message,
Object... arguments)
|
void |
logRowlevel(String message)
|
void |
logRowlevel(String message,
Object... arguments)
|
void |
lookupRepositoryReferences(Repository repository)
Look up the references after import |
void |
parseRepositoryObjects(Repository rep)
|
boolean |
resetErrorsBeforeExecution()
|
void |
saveRep(Repository rep,
org.pentaho.di.repository.ObjectId id_job)
|
void |
setChanged()
|
void |
setChanged(boolean ch)
|
void |
setContainerObjectId(String containerObjectId)
|
void |
setDescription(String Description)
|
void |
setID(long id)
|
void |
setLogLevel(org.pentaho.di.core.logging.LogLevel logLevel)
|
void |
setName(String name)
|
void |
setObjectId(org.pentaho.di.repository.ObjectId id)
|
void |
setParentJob(Job parentJob)
|
void |
setParentVariableSpace(org.pentaho.di.core.variables.VariableSpace parent)
|
void |
setPluginId(String configId)
|
void |
setRepository(Repository repository)
|
void |
setTypeId(String typeId)
Deprecated. in favor of setPluginId() |
void |
setVariable(String variableName,
String variableValue)
|
void |
shareVariablesWith(org.pentaho.di.core.variables.VariableSpace space)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JobEntryBase()
public JobEntryBase(String name, String description)
Method Detail |
---|
public boolean equals(Object obj)
equals
in class Object
public void clear()
public void setObjectId(org.pentaho.di.repository.ObjectId id)
public void setID(long id)
public org.pentaho.di.repository.ObjectId getObjectId()
getObjectId
in interface org.pentaho.di.core.CheckResultSourceInterface
getObjectId
in interface org.pentaho.di.core.logging.LoggingObjectInterface
getObjectId
in interface ResourceHolderInterface
public String getTypeDesc()
public void setName(String name)
public String getName()
getName
in interface org.pentaho.di.core.CheckResultSourceInterface
getName
in interface ResourceHolderInterface
public void setDescription(String Description)
public String getDescription()
getDescription
in interface org.pentaho.di.core.CheckResultSourceInterface
getDescription
in interface ResourceHolderInterface
public void setChanged()
public void setChanged(boolean ch)
public boolean hasChanged()
public boolean isStart()
public boolean isDummy()
public boolean isEvaluation()
public boolean isJob()
public boolean isMail()
public boolean isShell()
public boolean isSpecial()
public boolean isTransformation()
public boolean isFTP()
public boolean isSFTP()
public boolean isHTTP()
public String getXML()
public void loadXML(Node entrynode, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<SlaveServer> slaveServers) throws org.pentaho.di.core.exception.KettleXMLException
org.pentaho.di.core.exception.KettleXMLException
public void parseRepositoryObjects(Repository rep) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void loadRep(Repository rep, org.pentaho.di.repository.ObjectId id_jobentry, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<SlaveServer> slaveServers) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void saveRep(Repository rep, org.pentaho.di.repository.ObjectId id_job) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public Object clone()
clone
in class Object
public String toString()
toString
in class Object
public boolean resetErrorsBeforeExecution()
public boolean evaluates()
public boolean isUnconditional()
public List<org.pentaho.di.core.SQLStatement> getSQLStatements(Repository repository) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public List<org.pentaho.di.core.SQLStatement> getSQLStatements(Repository repository, org.pentaho.di.core.variables.VariableSpace space) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public String getFilename()
getFilename
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public String getRealFilename()
public org.pentaho.di.core.database.DatabaseMeta[] getUsedDatabaseConnections()
public void copyVariablesFrom(org.pentaho.di.core.variables.VariableSpace space)
copyVariablesFrom
in interface org.pentaho.di.core.variables.VariableSpace
public String environmentSubstitute(String aString)
environmentSubstitute
in interface org.pentaho.di.core.variables.VariableSpace
public String[] environmentSubstitute(String[] aString)
environmentSubstitute
in interface org.pentaho.di.core.variables.VariableSpace
public org.pentaho.di.core.variables.VariableSpace getParentVariableSpace()
getParentVariableSpace
in interface org.pentaho.di.core.variables.VariableSpace
public void setParentVariableSpace(org.pentaho.di.core.variables.VariableSpace parent)
setParentVariableSpace
in interface org.pentaho.di.core.variables.VariableSpace
public String getVariable(String variableName, String defaultValue)
getVariable
in interface org.pentaho.di.core.variables.VariableSpace
public String getVariable(String variableName)
getVariable
in interface org.pentaho.di.core.variables.VariableSpace
public boolean getBooleanValueOfVariable(String variableName, boolean defaultValue)
getBooleanValueOfVariable
in interface org.pentaho.di.core.variables.VariableSpace
public void initializeVariablesFrom(org.pentaho.di.core.variables.VariableSpace parent)
initializeVariablesFrom
in interface org.pentaho.di.core.variables.VariableSpace
public String[] listVariables()
listVariables
in interface org.pentaho.di.core.variables.VariableSpace
public void setVariable(String variableName, String variableValue)
setVariable
in interface org.pentaho.di.core.variables.VariableSpace
public void shareVariablesWith(org.pentaho.di.core.variables.VariableSpace space)
shareVariablesWith
in interface org.pentaho.di.core.variables.VariableSpace
public void injectVariables(Map<String,String> prop)
injectVariables
in interface org.pentaho.di.core.variables.VariableSpace
public void check(List<org.pentaho.di.core.CheckResultInterface> remarks, JobMeta jobMeta)
remarks
- CheckResults from checking the job entryjobMeta
- JobMeta information letting threading back to the JobMeta possiblepublic List<ResourceReference> getResourceDependencies(JobMeta jobMeta)
public String exportResources(org.pentaho.di.core.variables.VariableSpace space, Map<String,ResourceDefinition> definitions, ResourceNamingInterface namingInterface, Repository repository) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public String getPluginId()
public void setPluginId(String configId)
public String getTypeId()
getTypeId
in interface org.pentaho.di.core.CheckResultSourceInterface
getTypeId
in interface ResourceHolderInterface
public void setTypeId(String typeId)
public String getDialogClassName()
public String getHolderType()
ResourceHolderInterface
getHolderType
in interface ResourceHolderInterface
public void setRepository(Repository repository)
public Repository getRepository()
public void setParentJob(Job parentJob)
public Job getParentJob()
public boolean isBasic()
public boolean isDetailed()
public boolean isDebug()
public boolean isRowlevel()
public void logMinimal(String message)
public void logMinimal(String message, Object... arguments)
public void logBasic(String message)
public void logBasic(String message, Object... arguments)
public void logDetailed(String message)
public void logDetailed(String message, Object... arguments)
public void logDebug(String message)
public void logDebug(String message, Object... arguments)
public void logRowlevel(String message)
public void logRowlevel(String message, Object... arguments)
public void logError(String message)
public void logError(String message, Throwable e)
public void logError(String message, Object... arguments)
public org.pentaho.di.core.logging.LogChannelInterface getLogChannel()
public String getLogChannelId()
getLogChannelId
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public String getObjectName()
getObjectName
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public String getObjectCopy()
getObjectCopy
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public org.pentaho.di.repository.ObjectRevision getObjectRevision()
getObjectRevision
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public org.pentaho.di.core.logging.LoggingObjectType getObjectType()
getObjectType
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public org.pentaho.di.core.logging.LoggingObjectInterface getParent()
getParent
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public org.pentaho.di.repository.RepositoryDirectory getRepositoryDirectory()
getRepositoryDirectory
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public org.pentaho.di.core.logging.LogLevel getLogLevel()
getLogLevel
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public void setLogLevel(org.pentaho.di.core.logging.LogLevel logLevel)
public String getContainerObjectId()
getContainerObjectId
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public void setContainerObjectId(String containerObjectId)
containerObjectId
- the carteObjectId to setpublic Date getRegistrationDate()
getRegistrationDate
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public boolean hasRepositoryReferences()
public void lookupRepositoryReferences(Repository repository) throws org.pentaho.di.core.exception.KettleException
repository
- the repository to reference.
org.pentaho.di.core.exception.KettleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |