|
||||||||||
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...
Field Summary | |
---|---|
static String[] |
category_order
|
Constructor Summary | |
---|---|
JobEntryBase()
|
|
JobEntryBase(JobEntryBase jeb)
|
|
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 |
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 |
getConfigId()
|
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. |
long |
getID()
|
JobEntryType |
getJobEntryType()
|
String |
getName()
|
org.pentaho.di.core.variables.VariableSpace |
getParentVariableSpace()
|
String |
getPluginID()
|
String |
getRealFilename()
|
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 |
getTypeCode()
|
static String |
getTypeCode(JobEntryType type)
|
String |
getTypeDesc()
|
static String |
getTypeDesc(JobEntryType type)
|
String |
getTypeId()
Support for CheckResultSourceInterface |
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()
|
void |
initializeVariablesFrom(org.pentaho.di.core.variables.VariableSpace parent)
|
void |
injectVariables(Map<String,String> prop)
|
boolean |
isDummy()
|
boolean |
isEvaluation()
|
boolean |
isFTP()
|
boolean |
isHTTP()
|
boolean |
isJob()
|
boolean |
isMail()
|
boolean |
isSFTP()
|
boolean |
isShell()
|
boolean |
isSpecial()
|
boolean |
isStart()
|
boolean |
isTransformation()
|
boolean |
isUnconditional()
|
String[] |
listVariables()
|
void |
loadRep(Repository rep,
long 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 |
parseRepositoryObjects(Repository rep)
|
boolean |
resetErrorsBeforeExecution()
|
void |
saveRep(Repository rep,
long id_job)
|
void |
setChanged()
|
void |
setChanged(boolean ch)
|
void |
setConfigId(String configId)
|
void |
setDescription(String Description)
|
void |
setID(long id)
|
void |
setJobEntryType(JobEntryType type)
|
void |
setName(String name)
|
void |
setParentVariableSpace(org.pentaho.di.core.variables.VariableSpace parent)
|
void |
setPluginID(String pid)
|
void |
setVariable(String variableName,
String variableValue)
|
void |
shareVariablesWith(org.pentaho.di.core.variables.VariableSpace space)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String[] category_order
Constructor Detail |
---|
public JobEntryBase()
public JobEntryBase(String name, String description)
public JobEntryBase(JobEntryBase jeb)
Method Detail |
---|
public void clear()
public void setID(long id)
public long getID()
getID
in interface org.pentaho.di.core.CheckResultSourceInterface
getID
in interface ResourceHolderInterface
public void setJobEntryType(JobEntryType type)
public String getPluginID()
public String getTypeId()
getTypeId
in interface org.pentaho.di.core.CheckResultSourceInterface
getTypeId
in interface ResourceHolderInterface
public JobEntryType getJobEntryType()
public String getTypeCode()
public static final String getTypeCode(JobEntryType type)
public String getTypeDesc()
public static final String getTypeDesc(JobEntryType type)
public void setName(String name)
public void setPluginID(String pid)
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 saveRep(Repository rep, long id_job) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void loadRep(Repository rep, long 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 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()
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 getConfigId()
public void setConfigId(String configId)
public String getDialogClassName()
public String getHolderType()
ResourceHolderInterface
getHolderType
in interface ResourceHolderInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |