public class JobEntryBase extends Object implements Cloneable, org.pentaho.di.core.variables.VariableSpace, org.pentaho.di.core.CheckResultSourceInterface, ResourceHolderInterface, org.pentaho.di.core.logging.LoggingObjectInterface, org.pentaho.di.core.AttributesInterface, org.pentaho.di.core.ExtensionDataInterface
execute() method.| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,Map<String,String>> |
attributesMap |
protected String |
containerObjectId
The container object id
|
protected Map<String,String> |
entryStepSetVariablesMap
The map for setVariablesStep bindings for the job entry
|
protected Map<String,Object> |
extensionDataMap |
protected org.pentaho.di.core.logging.LogChannelInterface |
log
The log channel interface object, used for logging
|
protected org.pentaho.metastore.api.IMetaStore |
metaStore |
protected Job |
parentJob
The parent job
|
protected JobMeta |
parentJobMeta |
protected Repository |
rep
The repository
|
protected org.pentaho.di.core.variables.VariableSpace |
variables
The variable bindings for the job entry
|
| 构造器和说明 |
|---|
JobEntryBase()
Instantiates a new job entry base object.
|
JobEntryBase(String name,
String description)
Instantiates a new job entry base object with the given name and description.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
check(List<org.pentaho.di.core.CheckResultInterface> remarks,
JobMeta jobMeta)
|
void |
check(List<org.pentaho.di.core.CheckResultInterface> remarks,
JobMeta jobMeta,
org.pentaho.di.core.variables.VariableSpace space,
Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore)
Allows JobEntry objects to check themselves for consistency
|
void |
clear()
Clears all variable values
|
Object |
clone()
This method is called when a job entry is duplicated in Spoon.
|
void |
copyVariablesFrom(org.pentaho.di.core.variables.VariableSpace space)
Copies variables from a given variable space to this job entry
|
String |
environmentSubstitute(String aString)
Substitutes any variable values into the given string, and returns the resolved string
|
String[] |
environmentSubstitute(String[] aString)
Substitutes any variable values into each of the given strings, and returns an array containing the resolved
string(s)
|
boolean |
equals(Object obj)
Checks if the JobEntry object is equal to the specified object
|
boolean |
evaluates()
This method must return true if the job entry supports the true/false outgoing hops.
|
String |
exportResources(org.pentaho.di.core.variables.VariableSpace space,
Map<String,ResourceDefinition> definitions,
ResourceNamingInterface namingInterface,
Repository repository)
|
String |
exportResources(org.pentaho.di.core.variables.VariableSpace space,
Map<String,ResourceDefinition> definitions,
ResourceNamingInterface namingInterface,
Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore)
Exports the object to a flat-file system, adding content with filename keys to a set of definitions.
|
String |
fieldSubstitute(String aString,
org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] rowData) |
String |
getAttribute(String groupName,
String key) |
Map<String,String> |
getAttributes(String groupName) |
Map<String,Map<String,String>> |
getAttributesMap() |
boolean |
getBooleanValueOfVariable(String variableName,
boolean defaultValue)
Returns a boolean representation of the specified variable after performing any necessary substitution.
|
String |
getContainerObjectId()
Gets the container object id
|
String |
getDescription()
Gets the description of the job entry
|
String |
getDialogClassName()
已过时。
As of release 8.1, use annotated-based dialog instead
PluginDialog |
String |
getEntryStepSetVariable(String variableName)
Gets the value of the specified EntryStepSetVariable
|
protected Map<String,String> |
getEntryStepSetVariablesMap()
Gets a Map of variables set in EntryStepSetVariables
|
Map<String,Object> |
getExtensionDataMap() |
String |
getFilename()
Gets the filename of the job entry.
|
String |
getHolderType()
Returns the holder type for the job entry
|
org.pentaho.di.core.logging.LogChannelInterface |
getLogChannel()
Gets the log channel.
|
String |
getLogChannelId()
Gets the logging channel id
|
org.pentaho.di.core.logging.LogLevel |
getLogLevel()
Gets the logging level for the job entry
|
org.pentaho.metastore.api.IMetaStore |
getMetaStore() |
String |
getName()
Gets the name of the job entry
|
String |
getObjectCopy()
Gets a string identifying a copy in a series of steps
|
org.pentaho.di.repository.ObjectId |
getObjectId()
Gets the object id
|
String |
getObjectName()
Gets the object name
|
org.pentaho.di.repository.ObjectRevision |
getObjectRevision()
Gets the revision of the object with respect to a repository
|
org.pentaho.di.core.logging.LoggingObjectType |
getObjectType()
Gets the logging object type
|
org.pentaho.di.core.logging.LoggingObjectInterface |
getParent()
Gets the logging object interface's parent
|
Job |
getParentJob()
Gets the parent job.
|
JobMeta |
getParentJobMeta() |
org.pentaho.di.core.variables.VariableSpace |
getParentVariableSpace()
Gets the parent variable space
|
String |
getPluginId()
Gets the plugin id.
|
String |
getRealFilename()
Gets the real filename of the job entry, by substituting any environment variables present in the filename.
|
String[] |
getReferencedObjectDescriptions() |
Date |
getRegistrationDate()
Returns the registration date for the job entry.
|
Repository |
getRepository()
Gets the repository for the job entry.
|
org.pentaho.di.repository.RepositoryDirectory |
getRepositoryDirectory()
Gets the directory of the job entry in the repository.
|
List<ResourceReference> |
getResourceDependencies(JobMeta jobMeta)
Gets 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.metastore.api.IMetaStore metaStore,
org.pentaho.di.core.variables.VariableSpace space)
Gets the SQL statements needed by this job entry to execute successfully, given a set of variables.
|
List<org.pentaho.di.core.SQLStatement> |
getSQLStatements(Repository repository,
org.pentaho.di.core.variables.VariableSpace space)
|
String |
getTypeDesc()
Gets the plug-in type description
|
String |
getTypeId()
已过时。
use
getPluginId() |
org.pentaho.di.core.database.DatabaseMeta[] |
getUsedDatabaseConnections()
Gets all the database connections that are used by the job entry.
|
String |
getVariable(String variableName)
Gets the value of the specified variable, or returns a default value if no such variable exists
|
String |
getVariable(String variableName,
String defaultValue)
Gets the value of the specified variable, or returns a default value if no such variable exists
|
protected org.pentaho.di.core.variables.VariableSpace |
getVariables()
Gets the variable bindings for the job entry.
|
String |
getXML()
This method is called by PDI whenever a job entry needs to serialize its settings to XML.
|
boolean |
hasChanged()
Checks whether the job entry has changed
|
int |
hashCode() |
boolean |
hasRepositoryReferences()
Checks whether the job entry has repository references.
|
void |
initializeVariablesFrom(org.pentaho.di.core.variables.VariableSpace parent)
Sets the values of the job entry's variables to the values from the parent variables
|
void |
injectVariables(Map<String,String> prop)
Injects variables using the given Map.
|
boolean |
isBasic()
Checks if the logging level is basic.
|
boolean |
isDebug()
Checks if the logging level is debug.
|
boolean |
isDetailed()
Checks if the logging level is detailed.
|
boolean |
isDummy()
Checks if the job entry is a dummy entry
|
boolean |
isEvaluation()
Checks if the job entry is an evaluation.
|
boolean |
isForcingSeparateLogging() |
boolean |
isFTP()
Checks if this job entry performs an FTP operation
|
boolean |
isGatheringMetrics() |
boolean |
isHTTP()
Checks if this job entry performs an HTTP operation
|
boolean |
isJob()
Checks if the job entry executes a job
|
boolean |
isMail()
Checks if the job entry sends email
|
boolean[] |
isReferencedObjectEnabled() |
boolean |
isRowlevel()
Checks if the logging level is rowlevel.
|
boolean |
isSFTP()
Checks if this job entry performs an SFTP operation
|
boolean |
isShell()
Checks if the job entry executes a shell program
|
boolean |
isSpecial()
Checks if the job entry is of a special type (Start, Dummy, etc.)
|
boolean |
isStart()
Checks if the job entry has started
|
boolean |
isTransformation()
Checks if this job entry executes a transformation
|
boolean |
isUnconditional()
This method must return true if the job entry supports the unconditional outgoing hop.
|
String[] |
listVariables()
Gets a list of variable names for the job entry
|
Object |
loadReferencedObject(int index,
Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
org.pentaho.di.core.variables.VariableSpace space)
Load the referenced object
|
Object |
loadReferencedObject(int index,
Repository rep,
org.pentaho.di.core.variables.VariableSpace space)
|
void |
loadRep(Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
org.pentaho.di.repository.ObjectId id_jobentry,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
List<SlaveServer> slaveServers) |
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)
This method is called by PDI whenever a job entry needs to read its settings from XML.
|
void |
loadXML(Node entrynode,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
List<SlaveServer> slaveServers,
Repository repository)
|
void |
loadXML(Node entrynode,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
List<SlaveServer> slaveServers,
Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore) |
void |
logBasic(String message)
Logs the specified string at the basic level.
|
void |
logBasic(String message,
Object... arguments)
Logs the specified string and arguments at the basic level.
|
void |
logDebug(String message)
Logs the specified string at the debug level.
|
void |
logDebug(String message,
Object... arguments)
Logs the specified string and arguments at the debug level.
|
void |
logDetailed(String message)
Logs the specified string at the detailed level.
|
void |
logDetailed(String message,
Object... arguments)
Logs the specified string and arguments at the detailed level.
|
void |
logError(String message)
Logs the specified string at the error level.
|
void |
logError(String message,
Object... arguments)
Logs the specified string and arguments at the error level.
|
void |
logError(String message,
Throwable e)
Logs the specified string and Throwable object at the error level.
|
void |
logMinimal(String message)
Logs the specified string at the minimal level.
|
void |
logMinimal(String message,
Object... arguments)
Logs the specified string and arguments at the minimal level.
|
void |
logRowlevel(String message)
Logs the specified string at the row level.
|
void |
logRowlevel(String message,
Object... arguments)
Logs the specified string and arguments at the row level.
|
void |
lookupRepositoryReferences(Repository repository)
Looks up the references after import
|
void |
parseRepositoryObjects(Repository rep)
Parses the repository objects.
|
boolean |
resetErrorsBeforeExecution()
Checks whether a reset of the number of errors is required before execution.
|
void |
saveRep(Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
org.pentaho.di.repository.ObjectId id_job) |
void |
saveRep(Repository rep,
org.pentaho.di.repository.ObjectId id_job)
|
void |
setAttribute(String groupName,
String key,
String value) |
void |
setAttributes(String groupName,
Map<String,String> attributes) |
void |
setAttributesMap(Map<String,Map<String,String>> attributesMap) |
void |
setChanged()
Sets that the job entry has changed (i.e. a call to setChanged(true))
|
void |
setChanged(boolean ch)
Sets whether the job entry has changed
|
void |
setContainerObjectId(String containerObjectId)
Sets the container object id
|
void |
setDescription(String Description)
Sets the description for the job entry.
|
void |
setEntryStepSetVariable(String variableName,
String variableValue)
Sets the value of the specified EntryStepSetVariable
|
void |
setForcingSeparateLogging(boolean forcingSeparateLogging) |
void |
setGatheringMetrics(boolean gatheringMetrics) |
void |
setID(long id)
Sets the id for the job entry
|
void |
setLogLevel(org.pentaho.di.core.logging.LogLevel logLevel)
Sets the logging level for the job entry
|
void |
setMetaStore(org.pentaho.metastore.api.IMetaStore metaStore) |
void |
setName(String name)
Sets the name of the job entry
|
void |
setObjectId(org.pentaho.di.repository.ObjectId id)
Sets the object id.
|
void |
setParentJob(Job parentJob)
Sets the parent job.
|
void |
setParentJobMeta(JobMeta parentJobMeta)
At save and run time, the system will attempt to set the jobMeta so that it can be accessed by the jobEntries
if necessary.
|
void |
setParentVariableSpace(org.pentaho.di.core.variables.VariableSpace parent)
Sets the parent variable space
|
void |
setPluginId(String configId)
Sets the plugin id.
|
void |
setRepository(Repository repository)
Sets the repository for the job entry.
|
void |
setTypeId(String typeId)
已过时。
|
void |
setVariable(String variableName,
String variableValue)
Sets the value of the specified variable to the specified value
|
void |
shareVariablesWith(org.pentaho.di.core.variables.VariableSpace space)
Shares a variable space from another variable space.
|
String |
toString()
Returns a string representation of the object.
|
protected org.pentaho.di.core.variables.VariableSpace variables
protected Map<String,String> entryStepSetVariablesMap
protected Repository rep
protected Job parentJob
protected org.pentaho.di.core.logging.LogChannelInterface log
protected String containerObjectId
protected org.pentaho.metastore.api.IMetaStore metaStore
protected JobMeta parentJobMeta
public boolean equals(Object obj)
equals 在类中 ObjectObject.equals(java.lang.Object)public void clear()
public void setObjectId(org.pentaho.di.repository.ObjectId id)
id - the new object idpublic void setID(long id)
id - the new idpublic org.pentaho.di.repository.ObjectId getObjectId()
getObjectId 在接口中 org.pentaho.di.core.CheckResultSourceInterfacegetObjectId 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacegetObjectId 在接口中 ResourceHolderInterfaceCheckResultSourceInterface.getObjectId()public String getTypeDesc()
public void setName(String name)
name - the new namepublic String getName()
getName 在接口中 org.pentaho.di.core.CheckResultSourceInterfacegetName 在接口中 ResourceHolderInterfaceCheckResultSourceInterface.getName()public void setDescription(String Description)
Description - the new descriptionpublic String getDescription()
getDescription 在接口中 org.pentaho.di.core.CheckResultSourceInterfacegetDescription 在接口中 ResourceHolderInterfaceCheckResultSourceInterface.getDescription()public void setChanged()
setChanged(boolean)public void setChanged(boolean ch)
ch - true if the job entry has changed, false otherwisepublic 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
entrynode - the top-level XML nodedatabases - the list of databasesslaveServers - the list of slave serversorg.pentaho.di.core.exception.KettleXMLException - if any errors occur during the loading of the XML@Deprecated public void loadXML(Node entrynode, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository repository) throws org.pentaho.di.core.exception.KettleXMLException
entrynode - databases - slaveServers - repository - org.pentaho.di.core.exception.KettleXMLExceptionpublic void loadXML(Node entrynode, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep, org.pentaho.metastore.api.IMetaStore metaStore) throws org.pentaho.di.core.exception.KettleXMLException
org.pentaho.di.core.exception.KettleXMLExceptionpublic void parseRepositoryObjects(Repository rep) throws org.pentaho.di.core.exception.KettleException
rep - the repositoryorg.pentaho.di.core.exception.KettleException - if any errors occur during parsing@Deprecated 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
rep - the repository objectid_jobentry - the id of the job entrydatabases - the list of databasesslaveServers - the list of slave serversorg.pentaho.di.core.exception.KettleException - if any errors occur during the loadpublic void loadRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, 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@Deprecated public void saveRep(Repository rep, org.pentaho.di.repository.ObjectId id_job) throws org.pentaho.di.core.exception.KettleException
rep - the repository objectid_job - the id_joborg.pentaho.di.core.exception.KettleException - if any errors occur during the savepublic void saveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_job) throws org.pentaho.di.core.exception.KettleException
rep - metaStore - id_job - org.pentaho.di.core.exception.KettleExceptionpublic Object clone()
public String toString()
toString 在类中 ObjectObject.toString()public boolean resetErrorsBeforeExecution()
public boolean evaluates()
public boolean isUnconditional()
@Deprecated public List<org.pentaho.di.core.SQLStatement> getSQLStatements(Repository repository) throws org.pentaho.di.core.exception.KettleException
repository - the repositoryorg.pentaho.di.core.exception.KettleException - if any errors occur during the generation of SQL statements@Deprecated public List<org.pentaho.di.core.SQLStatement> getSQLStatements(Repository repository, org.pentaho.di.core.variables.VariableSpace space) throws org.pentaho.di.core.exception.KettleException
repository - the repository objectspace - a variable space object containing variable bindingsorg.pentaho.di.core.exception.KettleException - if any errors occur during the generation of SQL statementspublic List<org.pentaho.di.core.SQLStatement> getSQLStatements(Repository repository, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.core.variables.VariableSpace space) throws org.pentaho.di.core.exception.KettleException
repository - the repository objectspace - a variable space object containing variable bindingsorg.pentaho.di.core.exception.KettleException - if any errors occur during the generation of SQL statementspublic String getFilename()
getFilename 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfaceLoggingObjectInterface.getFilename()public String getRealFilename()
public org.pentaho.di.core.database.DatabaseMeta[] getUsedDatabaseConnections()
public void copyVariablesFrom(org.pentaho.di.core.variables.VariableSpace space)
copyVariablesFrom 在接口中 org.pentaho.di.core.variables.VariableSpaceVariableSpace.copyVariablesFrom(org.pentaho.di.core.variables.VariableSpace)public String environmentSubstitute(String aString)
environmentSubstitute 在接口中 org.pentaho.di.core.variables.VariableSpaceVariableSpace.environmentSubstitute(java.lang.String)public String[] environmentSubstitute(String[] aString)
environmentSubstitute 在接口中 org.pentaho.di.core.variables.VariableSpaceVariableSpace.environmentSubstitute(java.lang.String[])public String fieldSubstitute(String aString, org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] rowData) throws org.pentaho.di.core.exception.KettleValueException
fieldSubstitute 在接口中 org.pentaho.di.core.variables.VariableSpaceorg.pentaho.di.core.exception.KettleValueExceptionpublic org.pentaho.di.core.variables.VariableSpace getParentVariableSpace()
getParentVariableSpace 在接口中 org.pentaho.di.core.variables.VariableSpaceVariableSpace.getParentVariableSpace()public void setParentVariableSpace(org.pentaho.di.core.variables.VariableSpace parent)
setParentVariableSpace 在接口中 org.pentaho.di.core.variables.VariableSpaceVariableSpace.setParentVariableSpace(
org.pentaho.di.core.variables.VariableSpace)public String getVariable(String variableName, String defaultValue)
getVariable 在接口中 org.pentaho.di.core.variables.VariableSpaceVariableSpace.getVariable(java.lang.String, java.lang.String)public String getVariable(String variableName)
getVariable 在接口中 org.pentaho.di.core.variables.VariableSpaceVariableSpace.getVariable(java.lang.String)public boolean getBooleanValueOfVariable(String variableName, boolean defaultValue)
getBooleanValueOfVariable 在接口中 org.pentaho.di.core.variables.VariableSpacevariableName - the name of the variable to interrogateVariableSpace.getBooleanValueOfVariable(java.lang.String, boolean)public void initializeVariablesFrom(org.pentaho.di.core.variables.VariableSpace parent)
initializeVariablesFrom 在接口中 org.pentaho.di.core.variables.VariableSpaceVariableSpace.initializeVariablesFrom(
org.pentaho.di.core.variables.VariableSpace)public String[] listVariables()
listVariables 在接口中 org.pentaho.di.core.variables.VariableSpaceVariableSpace.listVariables()public void setVariable(String variableName, String variableValue)
setVariable 在接口中 org.pentaho.di.core.variables.VariableSpaceVariableSpace.setVariable(java.lang.String, java.lang.String)public void shareVariablesWith(org.pentaho.di.core.variables.VariableSpace space)
shareVariablesWith 在接口中 org.pentaho.di.core.variables.VariableSpaceVariableSpace.shareVariablesWith(org.pentaho.di.core.variables.VariableSpace)public void injectVariables(Map<String,String> prop)
injectVariables 在接口中 org.pentaho.di.core.variables.VariableSpaceVariableSpace.injectVariables(java.util.Map)@Deprecated 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 void check(List<org.pentaho.di.core.CheckResultInterface> remarks, JobMeta jobMeta, org.pentaho.di.core.variables.VariableSpace space, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore)
remarks - List of CheckResult objects indicating consistency statusjobMeta - the metadata object for the job entryspace - the variable space to resolve string expressions with variables withrepository - the repository to load Kettle objects frommetaStore - the MetaStore to load common elements frompublic List<ResourceReference> getResourceDependencies(JobMeta jobMeta)
ResourceReference@Deprecated 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
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 be named appropriatelyrepository - The repository to load resources fromorg.pentaho.di.core.exception.KettleException - in case something goes wrong during the exportpublic String exportResources(org.pentaho.di.core.variables.VariableSpace space, Map<String,ResourceDefinition> definitions, ResourceNamingInterface namingInterface, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore) throws org.pentaho.di.core.exception.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 be named appropriatelyrepository - The repository to load resources frommetaStore - the metaStore to load external metadata fromorg.pentaho.di.core.exception.KettleException - in case something goes wrong during the exportpublic String getPluginId()
public void setPluginId(String configId)
configId - the new plugin id@Deprecated public String getTypeId()
getPluginId()getTypeId 在接口中 org.pentaho.di.core.CheckResultSourceInterfacegetTypeId 在接口中 ResourceHolderInterface@Deprecated public void setTypeId(String typeId)
setPluginId(String)@Deprecated public String getDialogClassName()
PluginDialogpublic String getHolderType()
getHolderType 在接口中 ResourceHolderInterfaceResourceHolderInterface.getHolderType()protected org.pentaho.di.core.variables.VariableSpace getVariables()
public void setRepository(Repository repository)
repository - the repositorypublic Repository getRepository()
public void setParentJob(Job parentJob)
parentJob - the new parent jobpublic Job getParentJob()
public boolean isBasic()
public boolean isDetailed()
public boolean isDebug()
public boolean isRowlevel()
public void logMinimal(String message)
message - the messagepublic void logMinimal(String message, Object... arguments)
message - the messagearguments - the argumentspublic void logBasic(String message)
message - the messagepublic void logBasic(String message, Object... arguments)
message - the messagearguments - the argumentspublic void logDetailed(String message)
message - the messagepublic void logDetailed(String message, Object... arguments)
message - the messagearguments - the argumentspublic void logDebug(String message)
message - the messagepublic void logDebug(String message, Object... arguments)
message - the messagearguments - the argumentspublic void logRowlevel(String message)
message - the messagepublic void logRowlevel(String message, Object... arguments)
message - the messagearguments - the argumentspublic void logError(String message)
message - the messagepublic void logError(String message, Throwable e)
message - the messagee - the epublic void logError(String message, Object... arguments)
message - the messagearguments - the argumentspublic org.pentaho.di.core.logging.LogChannelInterface getLogChannel()
public String getLogChannelId()
getLogChannelId 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfaceLoggingObjectInterface.getLogChannelId()public String getObjectName()
getObjectName 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfaceLoggingObjectInterface.getObjectName()public String getObjectCopy()
getObjectCopy 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfaceLoggingObjectInterface.getObjectCopy()public org.pentaho.di.repository.ObjectRevision getObjectRevision()
getObjectRevision 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfaceLoggingObjectInterface.getObjectRevision()public org.pentaho.di.core.logging.LoggingObjectType getObjectType()
getObjectType 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfaceLoggingObjectInterface.getObjectType()public org.pentaho.di.core.logging.LoggingObjectInterface getParent()
getParent 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfaceLoggingObjectInterface.getParent()public org.pentaho.di.repository.RepositoryDirectory getRepositoryDirectory()
getRepositoryDirectory 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfaceLoggingObjectInterface.getRepositoryDirectory()public org.pentaho.di.core.logging.LogLevel getLogLevel()
getLogLevel 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfaceLoggingObjectInterface.getLogLevel()public void setLogLevel(org.pentaho.di.core.logging.LogLevel logLevel)
logLevel - the new log levelpublic String getContainerObjectId()
getContainerObjectId 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacepublic void setContainerObjectId(String containerObjectId)
containerObjectId - the container object id to setpublic Date getRegistrationDate()
getRegistrationDate 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacepublic 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 - if any errors occur during the lookuppublic String[] getReferencedObjectDescriptions()
public boolean[] isReferencedObjectEnabled()
@Deprecated public Object loadReferencedObject(int index, Repository rep, org.pentaho.di.core.variables.VariableSpace space) throws org.pentaho.di.core.exception.KettleException
index - the referenced object index to load (in case there are multiple references)rep - the repositoryspace - the variable space to useorg.pentaho.di.core.exception.KettleExceptionpublic Object loadReferencedObject(int index, Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.core.variables.VariableSpace space) throws org.pentaho.di.core.exception.KettleException
index - the referenced object index to load (in case there are multiple references)rep - the repositorymetaStore - the metaStore to load fromspace - the variable space to useorg.pentaho.di.core.exception.KettleExceptionpublic boolean isGatheringMetrics()
isGatheringMetrics 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacepublic void setGatheringMetrics(boolean gatheringMetrics)
setGatheringMetrics 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacepublic boolean isForcingSeparateLogging()
isForcingSeparateLogging 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacepublic void setForcingSeparateLogging(boolean forcingSeparateLogging)
setForcingSeparateLogging 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacepublic org.pentaho.metastore.api.IMetaStore getMetaStore()
public void setMetaStore(org.pentaho.metastore.api.IMetaStore metaStore)
public void setAttributesMap(Map<String,Map<String,String>> attributesMap)
setAttributesMap 在接口中 org.pentaho.di.core.AttributesInterfacepublic Map<String,Map<String,String>> getAttributesMap()
getAttributesMap 在接口中 org.pentaho.di.core.AttributesInterfacepublic void setAttribute(String groupName, String key, String value)
setAttribute 在接口中 org.pentaho.di.core.AttributesInterfacepublic void setAttributes(String groupName, Map<String,String> attributes)
setAttributes 在接口中 org.pentaho.di.core.AttributesInterfacepublic Map<String,String> getAttributes(String groupName)
getAttributes 在接口中 org.pentaho.di.core.AttributesInterfacepublic String getAttribute(String groupName, String key)
getAttribute 在接口中 org.pentaho.di.core.AttributesInterfacepublic Map<String,Object> getExtensionDataMap()
getExtensionDataMap 在接口中 org.pentaho.di.core.ExtensionDataInterfacepublic JobMeta getParentJobMeta()
public void setParentJobMeta(JobMeta parentJobMeta)
parentJobMeta - the JobMeta to which this JobEntryInterface belongsprotected Map<String,String> getEntryStepSetVariablesMap()
public void setEntryStepSetVariable(String variableName, String variableValue)
Copyright © 2024 Hitachi Vantara. All rights reserved.