|
||||||||||
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.evalfilesmetrics.JobEntryEvalFilesMetrics
public class JobEntryEvalFilesMetrics
This defines a 'evaluate files metrics' job entry.
Field Summary | |
---|---|
boolean |
arg_from_previous
|
static int |
EVALUATE_TYPE_COUNT
|
static int |
EVALUATE_TYPE_SIZE
|
int |
evaluationType
|
static String[] |
EvaluationTypeCodes
|
static String[] |
EvaluationTypeDesc
|
String[] |
includeSubFolders
|
static String[] |
IncludeSubFoldersCodes
|
static String[] |
IncludeSubFoldersDesc
|
static BigDecimal |
ONE
|
int |
scale
|
static int |
SCALE_BYTES
|
static int |
SCALE_GBYTES
|
static int |
SCALE_KBYTES
|
static int |
SCALE_MBYTES
|
static String[] |
scaleCodes
|
static String[] |
scaleDesc
|
String[] |
source_filefolder
|
static int |
SOURCE_FILES_FILENAMES_RESULT
|
static int |
SOURCE_FILES_FILES
|
static int |
SOURCE_FILES_PREVIOUS_RESULT
|
int |
sourceFiles
|
static String[] |
SourceFilesCodes
|
static String[] |
SourceFilesDesc
|
int |
successnumbercondition
|
String[] |
wildcard
|
Constructor Summary | |
---|---|
JobEntryEvalFilesMetrics()
|
|
JobEntryEvalFilesMetrics(String n)
|
Method Summary | |
---|---|
void |
check(List<CheckResultInterface> remarks,
JobMeta jobMeta)
Support for overrides not having to put in a check method. |
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 |
getCompareValue()
|
static int |
getEvaluationTypeByDesc(String tt)
|
static String |
getEvaluationTypeCode(int i)
|
static String |
getEvaluationTypeDesc(int i)
|
static String |
getIncludeSubFolders(String tt)
|
static String |
getIncludeSubFoldersDesc(String tt)
|
String |
getMaxValue()
|
String |
getMinValue()
|
String |
getResultFieldFile()
|
String |
getResultFieldIncludeSubfolders()
|
String |
getResultFieldWildcard()
|
String |
getResultFilenamesWildcard()
|
int |
getScale()
|
static int |
getScaleByDesc(String tt)
|
static String |
getScaleCode(int i)
|
static String |
getScaleDesc(int i)
|
int |
getSourceFiles()
|
static int |
getSourceFilesByDesc(String tt)
|
static String |
getSourceFilesCode(int i)
|
static String |
getSourceFilesDesc(int i)
|
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 |
setCompareValue(String comparevalue)
|
void |
setMaxValue(String maxvalue)
|
void |
setMinValue(String minvalue)
|
void |
setResultFieldFile(String field)
|
void |
setResultFieldIncludeSubfolders(String field)
|
void |
setResultFieldWildcard(String field)
|
void |
setResultFilenamesWildcard(String resultwildcard)
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.pentaho.di.job.entry.JobEntryInterface |
---|
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 final BigDecimal ONE
public static final String[] IncludeSubFoldersDesc
public static final String[] IncludeSubFoldersCodes
public static final String[] scaleDesc
public static final String[] scaleCodes
public static final int SCALE_BYTES
public static final int SCALE_KBYTES
public static final int SCALE_MBYTES
public static final int SCALE_GBYTES
public int scale
public static final String[] SourceFilesDesc
public static final String[] SourceFilesCodes
public static final int SOURCE_FILES_FILES
public static final int SOURCE_FILES_FILENAMES_RESULT
public static final int SOURCE_FILES_PREVIOUS_RESULT
public int sourceFiles
public static final String[] EvaluationTypeDesc
public static final String[] EvaluationTypeCodes
public static final int EVALUATE_TYPE_SIZE
public static final int EVALUATE_TYPE_COUNT
public int evaluationType
public int successnumbercondition
public boolean arg_from_previous
public String[] source_filefolder
public String[] wildcard
public String[] includeSubFolders
Constructor Detail |
---|
public JobEntryEvalFilesMetrics(String n)
public JobEntryEvalFilesMetrics()
Method Detail |
---|
public Object clone()
JobEntryBase
clone
in interface JobEntryInterface
clone
in class JobEntryBase
public String getXML()
JobEntryBase
getXML
in interface JobEntryInterface
getXML
in class JobEntryBase
public static String getIncludeSubFolders(String tt)
public static String getIncludeSubFoldersDesc(String tt)
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 Result execute(Result previousResult, int nr) throws KettleException
JobEntryInterface
execute
in interface JobEntryInterface
previousResult
- the previous resultnr
- the number of rows
KettleException
- if any Kettle exceptions occurpublic int getSourceFiles()
public String getResultFieldFile()
public void setResultFieldFile(String field)
public String getResultFieldWildcard()
public void setResultFieldWildcard(String field)
public String getResultFieldIncludeSubfolders()
public void setResultFieldIncludeSubfolders(String field)
public void setMinValue(String minvalue)
public String getMinValue()
public void setCompareValue(String comparevalue)
public String getCompareValue()
public void setResultFilenamesWildcard(String resultwildcard)
public String getResultFilenamesWildcard()
public void setMaxValue(String maxvalue)
public String getMaxValue()
public static int getScaleByDesc(String tt)
public static int getSourceFilesByDesc(String tt)
public static int getEvaluationTypeByDesc(String tt)
public static String getScaleDesc(int i)
public static String getEvaluationTypeDesc(int i)
public static String getSourceFilesDesc(int i)
public static String getScaleCode(int i)
public static String getSourceFilesCode(int i)
public static String getEvaluationTypeCode(int i)
public int getScale()
public void check(List<CheckResultInterface> remarks, JobMeta jobMeta)
JobEntryBase
check
in interface JobEntryInterface
check
in class JobEntryBase
remarks
- CheckResults from checking the job entryjobMeta
- JobMeta information letting threading back to the JobMeta possiblepublic 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 |