public class ListDirectoryRule extends AbstractRule
loggerName, postMethods, preMethods, sessionRef
arguments, ctx, descriptor, NEW_LINE
Constructor and Description |
---|
ListDirectoryRule() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Empty.
|
NameValueUnit[][] |
getValue()
Lists the filenames.
|
void |
init()
Reads and verifies all arguments.
|
void |
setValue(NameValueUnit[][] nvu)
Empty.
|
void |
terminate()
Empty.
|
execute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, toString, toString, toString
addAttributesToNameValueUnitArray, addAttributeToNameValueUnitArray, addStringValueToNameValueUnitArray, checkDirectoy, checkDirectoy, checkDirectoy, checkFile, checkFile, checkFile, checkIntValue, checkStringValue, compressNvuArray, createMessageFromPropertyFile, createMessageFromPropertyFile, createMessageFromPropertyFile, createTsUnionFromObject, deleteRowWithAttributes, getArguments, getContext, getDescriptor, getListFromProperty, getMandatoryProperty, getMandatoryProperty, getMandatoryPropertyAsInt, getMandatoryPropertyAsList, getMandatoryPropertyWithRuleException, getNvuArrayFromMap, getNvuArrayFromMap, getNvuObjectWithName, getNvuObjectWithName, getNvuObjectWithName, getOdsCacheFromProperty, getOptioanlPropertyAsInt, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsList, makeUpperCaseKeyword, removeAttributeFromNameValueUnitArray, removeAttributeFromNameValueUnitArray, setArguments, setContext, setDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContext, getDescriptor, setArguments, setContext, setDescriptor
public NameValueUnit[][] getValue() throws RuleException
Enumerates the filenames in a directory and returns it in a NameValueUnit[0][*].
RuleException
- If something went wrong.RuleIF.setValue(NameValueUnit[][] nvu)
public void init() throws InitializationFailedException
init
in interface ImplementationIF
init
in class AbstractImplementation
InitializationFailedException
- If arguments are wrong.DIRECTORY
,
#NAME
public void setValue(NameValueUnit[][] nvu) throws RuleException
nvu
- - A 2D NameValueUnit.RuleException
- If something went wrong.com.highqsoft.xsd.AbstractImplementation#setValue()
public void execute() throws ExecutableException
execute
in interface ExecutableIF
execute
in class AbstractRule
ExecutableException
- If something went wrong.public void terminate() throws TerminationException
terminate
in interface ExecutableIF
terminate
in class AbstractRule
TerminationException
- If something went wrong.